| Summary: | Plasma-firewall shows ufw is disabled while it is in fact enabled | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | gtpepi |
| Component: | kcm_firewall | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | arojas, erfan.qeui, givver70, kdebugs, koshikas, lucas.biaggi, nate, robhedstrom, saileshpoudel0, tcanabrava |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Firewall system settings and ufw status via cli | ||
|
Description
gtpepi
2024-03-06 01:29:37 UTC
Can confirm. Additionally, I can't enable or disable the firewall (error in command «setStatus») Operating System: Arch Linux KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.8-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 3800XT 8-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 6750 XT Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7C94 System Version: 1.0 Works for me with firewalld, maybe there's an issue with the ufw backend. *** Bug 482640 has been marked as a duplicate of this bug. *** *** Bug 482739 has been marked as a duplicate of this bug. *** I'm also on Arch and found that line 1 of "/usr/lib/kde_ufw_plugin_helper.py" was "#!_Python3_EXECUTABLE-NOTFOUND". After changing to "#!/usr/bin/python3", plasma-firewall started working. I don't know if the problem is Arch specific or not, but this is a temporary work around if you want the UI instead of using the CLI. That file comes from plasma-firewall, so it's possible it's our fault. It's a packaging issue (missing python at build time). The cmake output could definity be improved though, and possibly disable the ufw backend completely if python is not found. *** Bug 486745 has been marked as a duplicate of this bug. *** Is there any plan to fix it i still have this problem on plasma 6.0.4 in Arch I am using Manjaro and the latest Plasma 6 update. The first line in "/usr/lib/kde_ufw_plugin_helper.py" was "#!_Python3_python3.11" but this version of Manjaro has switched to Python 3.12 and removed 3.11. After changing the first line of that file to "#!/usr/bin/python3" as suggested by Robert Hedstrom above, it fixed the problem. |