Discussion:
[PATCH] rfkill: Add systemd integration
(too old to reply)
Karel Zak
2018-12-10 12:53:25 UTC
Permalink
That said,
getting a clarification from Jochen would nice because otherwise we are
simply guessing.
Jochen Keil already left SUSE and I have no contact e-mail to him.
https://bugzilla.opensuse.org/show_bug.cgi?id=1092820
It seems the best would be to ask upstream systemd guys. Maybe it's
really Suse specific and maybe it's something we can support for more
distros. I don't know.

All thread:
https://lore.kernel.org/util-linux/0ce3309a-009a-7c00-3a2c-***@suse.cz/T/#m221ad50b88792236c10c507f9163b57761c254a7

Karel
--
Karel Zak <***@redhat.com>
http://karelzak.blogspot.com
Lennart Poettering
2018-12-10 13:12:53 UTC
Permalink
On Mo, 10.12.18 13:53, Karel Zak (***@redhat.com) wrote:
65;5402;1c
Post by Karel Zak
That said,
getting a clarification from Jochen would nice because otherwise we are
simply guessing.
Jochen Keil already left SUSE and I have no contact e-mail to him.
https://bugzilla.opensuse.org/show_bug.cgi?id=1092820
It seems the best would be to ask upstream systemd guys. Maybe it's
really Suse specific and maybe it's something we can support for more
distros. I don't know.
Hmm, what's the usecase for this?

I mean, "systemctl start rfkill-***@xyz.service" isn't that much
nicer to type than "rfkill block xyz", no? In fact, quite the opposite
I'd say...

Or this is about enable/disabling rfkill at subsequent boot, using
"systemctl enable rfkill-***@xyz.service"? This kinda conflicts with
the save/restore logic systemd-***@.service (as shipped with
systemd) implements already. It might make sense to extend that tool
slightly, for example by defining a udev property or so to check which
can override the saved data statically. Or definining a kernel cmdline
option to override the rfkill save/restore logic globally. But I am
pretty sure that one should be careful with having two different
packages run at boot to set the initial rfkill setting, because they
will fight about it.

Lennart

--
Lennart Poettering, Red Hat
Stanislav Brabec
2018-12-10 18:12:33 UTC
Permalink
Post by Lennart Poettering
Or this is about enable/disabling rfkill at subsequent boot, using
Thanks for explanation, I will drop rfkill-***@.service and
rfkill-***@.service from future SUSE releases.
--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: ***@suse.com
Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547
186 00 Praha 8-Karlín fax: +420 284 084 001
Czech Republic http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
Loading...