php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61295 php-fpm should not fail with commented 'user' for non-root start
Submitted: 2012-03-05 22:37 UTC Modified: 2012-05-23 09:32 UTC
Votes:3
Avg. Score:3.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: sixd@php.net Assigned: fat
Status: Closed Package: FPM related
PHP Version: 5.4.0 OS: Linux
Private report: No CVE-ID:
 [2012-03-05 22:37 UTC] sixd@php.net
Description:
------------
For non-root users:

 1. if php-fpm.config has the default 'user = nobody' then php-fpm starts with:
      "WARNING: [pool www] 'user' directive is ignored when FPM is not running as 
root"

 2. But if the 'user' directive is commented out then php-fpm fails
    to start and gives "ALERT: [pool www] user has not been defined"
    

Php-fpm should not fail to start for non root users when 'user' (and probably 
'group') are commented out of php-fpm.conf


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-23 09:21 UTC] fat@php.net
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: fat
 [2012-05-23 09:32 UTC] fat@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=812d2481935185eeeabb2c1fe2d7eafd76fc7359
Log: - Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
 [2012-05-23 09:32 UTC] fat@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a07d76c0ba57e6471ac5869af0aaa26206baa284
Log: - Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
 [2012-05-23 09:32 UTC] fat@php.net
-Status: Analyzed +Status: Closed
 [2012-05-23 09:32 UTC] fat@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-05-23 11:30 UTC] cataphract@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=812d2481935185eeeabb2c1fe2d7eafd76fc7359
Log: - Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 16 13:02:46 2014 UTC