> #Update: 01.11.2018 > # Hi Jamie, i removed ufw from logrotate to prevent ufw kill > # i did not see any mistakes at logs of logrotate bug appears after update of > the System > # may be that removed systemd is the problem to command invoke? > # iam not sure.. > # > # dump of /etc/logrotate.d/ufw some guys modified to force start ufw after > logrotate? > ##/var/log/ufw.log > #{ > # rotate 4 > # weekly > # missingok > # notifempty > # compress > # delaycompress > # sharedscripts > # postrotate > # invoke-rc.d rsyslog rotate >/dev/null 2>&1 || true > # endscript > #}
Ok, I think I misunderstood the bug report initially. You are saying that ufw rules are unloaded from the kernel when logrotate is run? There is nothing in ufw's log rotation that would do that, but it is possible that you have something else installed that flushing the firewall configuration as part of its log rotation. What is the output of: $ ls /etc/logrotate.d -- Jamie Strandboge | http://www.canonical.com
signature.asc
Description: PGP signature