[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart
Thomas Ward
teward at trekweb.org
Tue Feb 3 14:53:00 UTC 2015
Debdiff for Trusty (based off of comment #5 from Ondrej)
Test build uploaded to https://launchpad.net/~teward/+archive/ubuntu
/sru-builds/+packages
** Patch added: "Trusty Debdiff for this issue"
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+attachment/4311269/+files/php5-fpm-fix-logrotate-LP1230917.debdiff
** Changed in: php5 (Ubuntu Trusty)
Status: In Progress => Triaged
** Changed in: php5 (Ubuntu Trusty)
Assignee: Thomas Ward (teward) => (unassigned)
** Summary changed:
- php5-fpm logrotate errors after package switched to upstart
+ [SRU] php5-fpm logrotate errors after package switched to upstart
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1230917
Title:
[SRU] php5-fpm logrotate errors after package switched to upstart
Status in php5 package in Ubuntu:
Fix Released
Status in php5 source package in Trusty:
Triaged
Bug description:
[Impact]
* After the switch to Upstart in Saucy, php5-fpm log rotation began
to break. It was reported that individuals were getting weekly cron
warning emails during logrotation.
[Test Case]
* This test case happens with automatic rotation of logs, in which
weekly cron warnings get triggered. With the fix, these weekly cron
warnings for log rotation should not be triggered.
[Regression Potential]
* This change is an upstream change that appears to have been present
in the repositories in Debian and even further upstream for some time
without regressions.
* Regression potential is minimal, if only in cases where the pid
gets lost, and other issues crop up.
[Other Info]
* This bug is referred to by the MIR bug for php5-fpm (#1267255)
[Original Description]
Getting weekly cron warning emails during logrotation after php5-fpm
package switched to upstart in Saucy.
root at ops:~# lsb_release -rd
Description: Ubuntu Saucy Salamander (development branch)
Release: 13.10
root at ops:~# apt-cache policy php5-fpm
php5-fpm:
Installed: 5.5.3+dfsg-1ubuntu1
Candidate: 5.5.3+dfsg-1ubuntu1
Version table:
*** 5.5.3+dfsg-1ubuntu1 0
500 http://uk.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
100 /var/lib/dpkg/status
root at ops:~# cat /etc/logrotate.d/php5-fpm
/var/log/php5-fpm.log {
rotate 12
weekly
missingok
notifempty
compress
delaycompress
postrotate
invoke-rc.d php5-fpm reopen-logs > /dev/null
endscript
}
root at ops:~# dpkg -S /etc/logrotate.d/php5-fpm
php5-fpm: /etc/logrotate.d/php5-fpm
root at ops:~# invoke-rc.d php5-fpm reopen-logs
initctl: invalid command: reopen-logs
Try `initctl --help' for more information.
invoke-rc.d: initscript php5-fpm, action "reopen-logs" failed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions
More information about the Ubuntu-sponsors
mailing list