File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ PHP NEWS
57
57
- FPM
58
58
. Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
59
59
. Fixed bug #61835 (php-fpm is not allowed to run as root). (fat)
60
+ . Fixed bug #61295 (php-fpm should not fail with commented 'user'
61
+ for non-root start). (fat)
60
62
61
63
- Libxml:
62
64
. Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
Original file line number Diff line number Diff line change @@ -723,8 +723,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
723
723
}
724
724
}
725
725
726
- /* user */
727
- if (!wp -> config -> user ) {
726
+ /* alert if user is not set only if we are not root */
727
+ if (!wp -> config -> user && ! geteuid () ) {
728
728
zlog (ZLOG_ALERT , "[pool %s] user has not been defined" , wp -> config -> name );
729
729
return -1 ;
730
730
}
You can’t perform that action at this time.
0 commit comments