This is still an issue in Focal (20.04). I think it is because the "postrotate" line of the default /etc/logrotate.d/ufw file reads:
``` invoke-rc.d rsyslog rotate >/dev/null 2>&1 || true ``` Which will not function on a systemd system. Using the example from /etc/logrotate.d/rsyslog would work far better. It simply reads: ``` /usr/lib/rsyslog/rsyslog-rotate ``` This runs a shell script shipped with rsyslog which will use systemctl to issue a HUP when rotating on a systemd system, and the old invoke- rc.d method on a system without systemd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530904 Title: ufw logrotate broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1530904/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
