When upgrading to php-5.6.17[fpm] from 5.6.14[fpm], I just took the new defaults in fpm-php.ini. When I started up the server it failed because the new log dir /var/lib/log/php-fpm.log This seems like a bit of a weird place to put a log in the first place, but if this is indeed the proper place, then either the ebuild should make the dir, or elog warn the user to do so. Reproducible: Always
I think the correct way to fix this is to specify --localstatedir="${EPREFIX}/var" in src_configure(). The default is to use "${EPREFIX}/var/lib" as explained here: https://archives.gentoo.org/gentoo-dev/message/6d5ece07355d2edd1240bde0c5d7ed03 After we fix that, the default will be /var/log/php-fpm.log. We just need to make sure that change doesn't break anything else.
This seems to work -- famous last words. I revisioned both the 5.6 and 7.0 series: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824097f4c1c36cc4afea4b45f052d1788204dde9 Both versions of php-fpm start out of the box for me now.