logrotate error on rotating winbind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I frequently get the following error from logrotate on some of my 12.04 LTS machines.
/etc/cron.
logrotate_script: line 1: kill: (1660) - No such process
error: error running non-shared postrotate script for /var/log/
run-parts: /etc/cron.
/etc/logrotate.
The kill command returns an error if for whatever reason the PID listed in /var/run/
Thus the kill line should be improved to something like
[ -f /var/run/
/var/log/
weekly
missingok
rotate 7
postrotate
[ ! -f /var/run/
endscript
compress
notifempty
}
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
affects: | linux (Ubuntu) → logrotate (Ubuntu) |
Changed in logrotate (Ubuntu): | |
status: | Confirmed → New |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1325821
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.