Actions
Fix #13033
closedlogrotate: error in postrotate script
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The simplified logrotate scripts give this error:
/etc/cron.daily/logrotate: error: error running shared postrotate script for '/var/log/ceph/*.log '
This is because
killall -q -1 ceph-mon ceph-osd ceph-mds
will still return exit code 1 if not all of the listed daemons were killed (e.g. if they were not running on this server). Fix by adding
|| true
to the post rotate. PR incoming.
Updated by Dan van der Ster over 8 years ago
Updated by Loïc Dachary over 8 years ago
- Tracker changed from Bug to Fix
- Status changed from New to In Progress
- Assignee set to Dan van der Ster
Updated by Sage Weil over 8 years ago
- Status changed from In Progress to Resolved
Actions