]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
logrotate: ignore exit status 1 from killall
authorDan van der Ster <daniel.vanderster@cern.ch>
Fri, 11 Sep 2015 07:30:04 +0000 (09:30 +0200)
committerDan van der Ster <daniel.vanderster@cern.ch>
Fri, 11 Sep 2015 07:30:04 +0000 (09:30 +0200)
commitaa4a5b0d15cb720561d7ba9ff2b1ca472f433820
treea30b1e591f2bbf2bc5c29210c9ef4ff00d7972ae
parent48c4228671522696c69c7f54d79018f884625682
logrotate: ignore exit status 1 from killall

If any of ceph-osd, ceph-mon, ceph-mds were not running then
killall -q will exit status 1, leading to anacron sending a mail

  error: error running shared postrotate script for '/var/log/ceph/*.log '

Fix by overriding the exit status with || true.

Fixes: #13033
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
src/logrotate.conf