• Bug#1102699: rsyslog: logrotate kills omprog instances

    From Slavko@21:1/5 to All on Sat Apr 12 11:30:01 2025
    Package: rsyslog
    Severity: normal
    Version: 8.2502.0-1

    Hi,

    by default the logrotate configuration calls rsyslog-rotate after
    rotation, which by default sends HUP to all rsyslog service's
    processes, including the (long run) processes of omprog module.

    That behavior bypasses the mean of 'hup.signal' omprog action's
    argument, thus one cannot decide to which process to propagate it (by
    default don't propagate).

    Please, send HUP only to main process in logrotate, eg.:

    systemctl kill -s HUP --kill-whom=main rsyslog.service

    and leave admin to decide about its propagation on per action base...
    See details at https://www.rsyslog.com/doc/configuration/modules/omprog.html#hup-signal

    regards

    --
    Slavko
    https://www.slavino.sk

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)