I also have this Bug on "Raspbian GNU/Linux 10 (buster)". I solved it with the following changes:
-Before=network.target +After=network.target -ExecStart=/lib/ufw/ufw-init start quiet +ExecStart=/usr/sbin/ufw --force enable -ExecStop=/lib/ufw/ufw-init stop +ExecStop=/usr/sbin/ufw --force disable I had to change the start and stop commands, without it sometimes doesn't work. I Tested this changes with 25 reboots without any problems. @Maintainers: Please publish this (or another) fix as soon as possible in the repositories because this is a major security vulnerability. I also suggest to request a CVE number. Best regards Fabian Fröhlich -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1726856 Title: ufw does not start automatically at boot To manage notifications about this bug go to: https://bugs.launchpad.net/ufw/+bug/1726856/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs