Sorry for the delay, I've been sidetracked with other work. All the current values in the file are pulled directly from our upstream, Fedora [0]. There are some updates to this configuration file that we have not kept up to date with, specifically I can see that they added a '%pre fpm' section to add the apache user if necessary. That will prevent the situation you recognized where /var/log/php-fpm is owned by root.
As far as the php_admin_values, we again strive to be as close to Fedora as possible. The purpose of these values in a pool configuration file is to have values specific to just that pool. While researching these settings, and comparing to the upstream php source [1], the state of this in Fedora seems inconsistent to me. It is immediately obvious in the configuration file that you can customize the running user for a pool, and it mentions setting the same user for the session.save_path and soap.wsdl_cache_dir. It doesn't point out the ownership of the log dir, or the fact that if you change that ownership, the RPM will change it back on the next upgrade. At the very least I think this merits more explict comments, and possible changing some of the values. I'm still reviewing the exact way to go about these changes. I hope to have some new RPMs in the testing repos soon that will address your concerns. [0] http://pkgs.fedoraproject.org/cgit/php.git/tree/php-fpm-www.conf [1] https://github.com/php/php-src/blob/master/sapi/fpm/php-fpm.conf.in -- You received this bug notification because you are a member of IUS Core Development, which is subscribed to IUS Community Project. https://bugs.launchpad.net/bugs/1312972 Title: php54-fpm "warning: user apache does not exist - using root" Status in IUS Community Project: In Progress Bug description: If you install/upgrade php54-fpm and Apache is not installed (which is usually the case if you are using Nginx), the php54-fpm prints this warning: "warning: user apache does not exist - using root" What I noticed is that this sets the owner of /var/log/php-fpm directory to owner root and 770 mode: $ ls -ld /var/log/php-fpm/ drwxrwx---. 2 root root 4096 Apr 4 15:58 /var/log/php-fpm/ This is a problem because php-fpm cannot write anything into that directory because of this. And the biggest problem is that if you set permissions and owner to the user which runs php-fpm (which is nginx in my case) after the package is upgraded, it overwrites those permission again. This same thing happens with php55u-fpm. To manage notifications about this bug go to: https://bugs.launchpad.net/ius/+bug/1312972/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ius-coredev Post to : [email protected] Unsubscribe : https://launchpad.net/~ius-coredev More help : https://help.launchpad.net/ListHelp

