]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
logrotate: send SIGHUP to ceph-exporter on log rotation 67371/head
authoran.groshev <an.groshev@tensor.ru>
Tue, 17 Feb 2026 08:26:46 +0000 (11:26 +0300)
committerKefu Chai <k.chai@proxmox.com>
Thu, 21 May 2026 03:40:08 +0000 (11:40 +0800)
commitc149afb3d7f318f99149491f72b70eb43f91918b
tree54aa7bb26aed921f0c4ae965b48c8d805123360d
parent4d15f1ce0650d41c7291d2e843751b4fe3854869
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 <an.groshev@tensor.ru>
src/logrotate.conf