logrotate script freezes anacron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lastfmsubmitd (Debian) |
Fix Released
|
Unknown
|
|||
lastfmsubmitd (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lastfmsubmitd
lastfmsubmitd places a file in /etc/logrotate.d called lastfmsubmitd, which looks like this:
/var/log/
weekly
missingok
rotate 7
postrotate
endscript
compress
notifempty
}
This appears to work fine sometimes, but sometimes one of the commands redirected to /dev/null appears to output something on stderr, which is not redirected. In at least some cases, this causes logrotate to freeze, becoming "[defunct]" in the ps -ef output.
This frozen logrotate process sits there forever, preventing cron.daily from running, which is a very serious problem.
I think the fix is to change the file to look like this:
/var/log/
weekly
missingok
rotate 7
postrotate
endscript
compress
notifempty
}
so the stderr output is also piped to /dev/null.
Changed in lastfmsubmitd: | |
status: | Unknown → New |
Changed in lastfmsubmitd (Debian): | |
status: | New → Fix Released |
Is this symptom still reproducible in 8.10 beta or later?