Bug 773077
Summary: | php-fpm: buggy(?) logrotate config | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anton Arapov <anton> |
Component: | php | Assignee: | Remi Collet <fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | david, fedora, jorton, nobody, rpm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | php-5.3.9-1.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-19 22:00:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anton Arapov
2012-01-10 20:55:50 UTC
Fix for this is to add 'su' directive to the php-fpm config of logrotate.d i.e. /var/log/php-fpm/*log { su missingok notifempty sharedscripts delaycompress postrotate /bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true endscript } but I don't know whether this is the way to go... Anton, This looks like it's assigned to the wrong component. (it's currently assigned to php-fpdf - which has nothing to do with what php-fpm does. Reassigning to php I will change owner to root on next update (php 5.3.9) php-5.3.9-1.fc16,maniadrive-1.2-32.fc16.1,php-eaccelerator-0.9.6.1-9.fc16.1 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/php-5.3.9-1.fc16,maniadrive-1.2-32.fc16.1,php-eaccelerator-0.9.6.1-9.fc16.1 Package php-5.3.9-1.fc16, maniadrive-1.2-32.fc16.1, php-eaccelerator-0.9.6.1-9.fc16.1: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing php-5.3.9-1.fc16 maniadrive-1.2-32.fc16.1 php-eaccelerator-0.9.6.1-9.fc16.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0504/php-5.3.9-1.fc16,maniadrive-1.2-32.fc16.1,php-eaccelerator-0.9.6.1-9.fc16.1 then log in and leave karma (feedback). php-5.3.9-1.fc16, maniadrive-1.2-32.fc16.1, php-eaccelerator-0.9.6.1-9.fc16.1 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |