Logrotate config for autoshutdown should call rsyslog rotate not reload

  • Similar to other threads for transmission, I am getting error mails with the message:


    Code
    invoke-rc.d: initscript rsyslog, action "reload" failed.
    error: error running shared postrotate script for '/var/log/autoshutdown.log


    The error is due to the init script for rsyslog no longer supporting the 'reload' action. I changed it (in /etc/logrotate.conf/autoshutdown) to use 'rotate' instead which I think was added for this purpose. I tried to file a bug in Mantis for this, but I got an error message about invalidating my session, so I am posting here.

    • Offizieller Beitrag

    Fixed in 1.0.8 in the repo now.

    omv 7.1.0-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.5 | scripts 7.0.7


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!