ufw can't be enabled when iptables-persistent or netfilter-persistent is installed
Bug #1987227 reported by
Will
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ufw broke after upgrade from Ubuntu 20.04.4 to Ubuntu 22.04.01
sudo ufw enable:
ERROR: problem running ufw-nit
iptables-restore: line 4 failed
ip6tables-restore: line 4 failed
It enables ufw but none of the rules work so all traffic is blocked.
I can temp fix via: sudo /lib/ufw/ufw-init flush-all
Then rules enable fine, well until a reboot anyways in which it breaks again.
ufw version 0.36.1
To post a comment you must log in.
What is the out of each of these:
$ cat /proc/version_ signature
$ sudo /usr/share/ ufw/check- requirements