Bug #65926 [NEW]: configure statedir option does not apply to fpm on source rebuild
From: marfillaster at gmail dot com
Operating system: 2.6.32-358.el6.x86_64
PHP version: 5.5.5
Package: FPM related
Bug Type: Bug
Bug description:configure statedir option does not apply to fpm on source rebuild
Description:
------------
1. Initially, configure was not passed --statedir. Then php was built.
2. FPM wrote logs as expected in $prefix/var/log.
3. As a preference, logs should be in /var/log, so php was reconfigured
with --statedir=/var then rebuilt.
4. The defaults written in php-fpm.conf.defaults automatically reflected
/var.
5. Starting php-fpm service triggers an error as it still looking at
$prefix/var/log
workaround:
a. make clean
or
b. manually override all conf that relies on statedir
Expected result:
----------------
php-fpm should start normally and use the reconfigured statedir
make clean should not be required
Actual result:
--------------
php-fpm did not start as it still looks in default derived statedir
--
Edit bug report at https://bugs.php.net/bug.php?id=65926&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65926&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=65926&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65926&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65926&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65926&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65926&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65926&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65926&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65926&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65926&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65926&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65926&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65926&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65926&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65926&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65926&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65926&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65926&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65926&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65926&r=mysqlcfg
Thread (3 messages)
- marfillaster at gmail dot com