In a fresh install of Debian Buster, "ufw" fails to enable on bootup.
Also, "ufw enable" gives the message: "ERROR: Could not load logging rules".
Updates don't fix the problem.
I've tested two different computers (one Intel based, the other AMD based), and I've gotten the same failure.
So it's not hardware specific.
Web searches show that this ufw problem appeared in 2013, but nothing within the last year (2018).
2013: github.com/sovereign/sovereign/issues/73
2013: superuser.com/questions/590600/ufw-is-active-but-not-enabled-why
I tried these older suggested fixes, but they failed.
Below is a synopses of what I've tried:
1) Fresh install of Debian Buster & KDE.
2) Install ufw and reboot.
3) ufw does not enable on bootup:
Code: Select all
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
Code: Select all
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
root@Test:~# ufw enable
ERROR: Could not load logging rules
root@Test:~# ufw status
Status: active
root@Test:~# reboot
<reboot and login>
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
Code: Select all
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
root@Test:~# ufw logging off
Logging disabled
root@Test:~# ufw status
Status: inactive
root@Test:~# ufw enable
ERROR: Could not load logging rules
root@Test:~# ufw status
Status: active
root@Test:~# reboot
<reboot and login>
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
Code: Select all
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
root@Test:~# vi /etc/ufw/ufw.conf
<change "ENABLED=no" to "ENABLED=yes">
<change "LOGLEVEL=low" to "LOGLEVEL=off">
root@Test:~# ufw status
Status: inactive
root@Test:~# ufw enable
Firewall is active and enabled on system startup
root@Test:~# ufw status
Status: active
root@Test:~# ufw disable
Firewall stopped and disabled on system startup
root@Test:~# ufw status
Status: inactive
root@Test:~# ufw enable
ERROR: Could not load logging rules
root@Test:~# ufw status
Status: active
root@Test:~# reboot
<reboot and login>
me@Test:~$ su -
Password:
root@Test:~# ufw status
Status: inactive
Again, thanks for the help.