r/kde•
HolyForce

KDE Plasma SystemSettings firewall section (plasma-firewall) issue

Question

Thanks for any help anyone can provide. I'm on Arch, fully updated, which is KDE Plasma 5.26.5 Framework 5.102.0 Qt 5.15.8 at the moment.

I have `ufw` installed and working from the command line. However, the plasma-firewall systemsettings section doesn't seem to work, despite supporting it.

Upon opening the firewall configuration section, I get and successfully pass a PolicyKit prompt, which I assume is expected.

Whenever I attempt to make any changes (add a rule, for example), regardless of the rule's contents, it'll always show a red error box with "Please restart plasma firewall, the backend disconnected".

I ran `systemsettings` from the shell so I could see stdout, and the final line is `ufw.client: Ufw is loaded? false` which is strange to me, because output above has "ufw.client" doing successful operations.

I've tried all the usual stuff (updates, re-installs, reboots, etc.) before coming here, of course. I've not deep dove it yet, as I'm just hoping someone can clue me in. Is it broken for others too, or can you suggest what I should check next I may have unintentionally broken?

(Unrelated, I spent 2 days deep diving Akonadi due to a search indexing issue recently... wasn't fun. Not sure how I feel about Akonadi, yet. If someone can save me some time on this plasma-firewall issue, I'd appreciate it.)

Posted Feb 13, 2023, 1:50 AM UTC

21
ainz_47:arch:•

Did you enable ufw backend to start automatically at boot?

sudo systemctl enable --now ufw.service

Note that this will not work if iptables.service is also enabled (and same for its ipv6 counterpart).

2