Created attachment 183084 [details] Patch to work with elogind. Plasma firewall have builtin hard dependency on systemd. Although it can work well also with elogind. I tested it with following patch, and it works fine then with elogind.
>Patch to work with elogind. Have you tested that patch? systemd and logind are not interchangeable. elogind doesn't have a way to start/stop services. I do not think this is fixable.
(In reply to David Edmundson from comment #1) > >Patch to work with elogind. > > Have you tested that patch? > > systemd and logind are not interchangeable. > elogind doesn't have a way to start/stop services. > > I do not think this is fixable. I use this patch, and it works. I know, that elogind cannot start services, but, when the firewalld service is running, this patch allow me to connect with the service, configfure it, and see the status. Which is enough. In other case plasma-firewall is not usable at all.
Alas, this patch makes no sense. login1 doesn't implement **any** of the called functions. Please don't post patches on bugzilla. Use invent.kde.org.
I am aware, that this patch cannot be used as is. I used this patch conditionally in ebuild only in case of system with elogind. In elogind, there is no "org.freedesktop.systemd1", instead of this, there is "org.freedesktop.login1". Because I have no idea, how to select between systemd, and elogind I posted it as I used it in ebuild. I wonder how it can be used, or what preprocessor commands have to be used to switch over between these two systems even in compilation time, or in runtime.
And couldn't you make the firewall not depend on Systemd, or is it not technically possible without practically redoing it from scratch?
(In reply to Mirek Mieszczak from comment #2) > (In reply to David Edmundson from comment #1) > > >Patch to work with elogind. > > > > Have you tested that patch? Hi, Mirek. I'm an Opensuse user and generally happy with it, but I'm concerned about the amount of junk it comes with, so I've started testing Gentoo on a virtual machine and I find it a better distro for the ability to set up a really minimalist system if you have the patience and time, even more minimalistic than Arch, with almost just the bare necessities. Does your patch work simply, i.e. install and that's it, or does it require a ton of manual configuration and trial and error, which is what's most disappointing about Gentoo?