Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940536 - kde-plasma/plasma-firewall depend on systemd
Summary: kde-plasma/plasma-firewall depend on systemd
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-30 15:28 UTC by Miroslaw Mieszczak
Modified: 2024-12-26 02:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (elogind.patch,790 bytes, patch)
2024-09-30 15:28 UTC, Miroslaw Mieszczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslaw Mieszczak 2024-09-30 15:28:00 UTC
Plasma firewall have fixed dependency on systemd. So configuring of firewalld is not possible from kde. 
I tested, that change several dbus dependencies from systemd into elogind works well too. So we can do it switchable between them depend on system configuration. It is necessary to do it with attached patch. 


Reproducible: Always

Steps to Reproduce:
1. try to configure firewalld using kcm module of plasma-firewall
2.
3.
Actual Results:  
configuration of firewalld using plasma-firewall kcm module is not possible on system with elogind.

Expected Results:  
Configure and handle firewalld from kde.
Comment 1 Miroslaw Mieszczak 2024-09-30 15:28:55 UTC
Created attachment 904252 [details, diff]
proposed patch
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-30 15:29:32 UTC
When I looked into this before, I found it relies on journald at runtime (iirc via some odd parsing of journalctl). Are you sure that it either does something useful without that or it has some alternative?
Comment 3 Miroslaw Mieszczak 2024-09-30 15:37:37 UTC
I didn't look into logging facilities. But with this small change, I can change configuration of firewalld from kde, which is huge step forward. The tray interface can see running firewalld, and it is possible to interact with that. 
Also kcm module works. 
I hope it would be usefull for many people.
Comment 4 Andreas Sturmlechner gentoo-dev 2024-10-01 11:57:31 UTC
Thanks for your work, however, getting it upstream would be the best way to let many people benefit from it.