Error enabling firewall (firewalld / ufw) in Plasma Desktop settings
Describe your issue
While trying to enable firewall in Plasma Desktop settings the following errors occur:
-
with firewalld:
Error enabling firewall: The name org.freedesktop.systemd1 was not provided by any .service files
-
with ufw:
Error enabling firewall: An error occurred in command 'setStatus': problem running ufw-init Warning: Extension conntrack revision 0 not supported, missing kernel module? Warning: Extension conntrack is not supported, missing kernel module? iptables-restore v1.8.10 (nf_tables): line 2: RULE_APPEND failed (No such file or directory): rule in chain ufw-track-output line 3: RULE_APPEND failed (No such file or directory): rule in chain ufw-track-output Warning: Extension conntrack revision 0 not supported, missing kernel module? Warning: Extension conntrack is not supported, missing kernel module? Warning: Extension conntrack is not supported, missing kernel module? Warning: Extension conntrack is not supported, missing kernel module? Warning: Extension conntrack is not supported, missing kernel module? Warning: Extension icmp revision 0 not supported, missing kernel module? Warning: Extension udp revision 0 not supported, missing kernel module? Warning: Extension addrtype revision 0 not supported, missing kernel module? Warning: Extension addrtype is not supported, missing kernel module? Warning: Extension addrtype is not supported, missing kernel module? Warning: Extension limit revision 0 not supported, missing kernel module? iptables-restore v1.8.10 (nf_tables): line 25: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input line 26: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-output line 27: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-forward line 30: RULE_APPEND failed (No such file or directory): rule in chain ufw-before-input line 31: RULE_APPEND failed (No such file or directory):
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v23.06
-
v22.12
(Supported until 2023-07-06) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: Plasma Desktop
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device