From: an.groshev Date: Tue, 17 Feb 2026 08:26:46 +0000 (+0300) Subject: logrotate: send SIGHUP to ceph-exporter on log rotation X-Git-Tag: v21.0.1~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F67371%2Fhead;p=ceph.git logrotate: send SIGHUP to ceph-exporter on log rotation ceph-exporter registers a SIGHUP handler that reopens its log files, but it was missing from the postrotate killall/pkill list. Without the signal, the daemon keeps an open fd to the already-rotated file and continues writing there, causing /var/log/ceph to fill up. Signed-off-by: an.groshev --- diff --git a/src/logrotate.conf b/src/logrotate.conf index a9a452dd6566..869ead830f44 100644 --- a/src/logrotate.conf +++ b/src/logrotate.conf @@ -4,7 +4,7 @@ compress sharedscripts postrotate - killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true + killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror ceph-exporter || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror|ceph-exporter" || true endscript missingok notifempty