You are not logged in.

#1 2017-04-23 02:48:04

nicolo
Banned
Registered: 2013-08-10
Posts: 90

systemd-rfkill.socket complains that service is not loaded, due to tlp

I get the following errors

systemd[1]: systemd-rfkill.socket: Socket service systemd-rfkill.service not loaded, refusing.
systemd[1]: Failed to listen on Load/Save RF Kill Switch Status /dev/rfkill Watch.

which I believe are related to the fact that on my Thinkpad laptop I'm using tlp, and this suggests to disable systemd-rfkill.service, but now .socket is complaining: is it safe to also disable .socket, or perhaps is there a way to tell it to load only if .service has been loaded?

Offline

#2 2017-04-23 12:08:00

newbie1962
Member
From: italy
Registered: 2012-07-24
Posts: 137

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

Trying on the net seems to be a bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1411147
I left it active and I did not masked it
edit
https://forum.manjaro.org/t/s-m-a-r-t-t … sd/10583/6

Last edited by newbie1962 (2017-04-23 12:31:16)


hp-envy dv7

Offline

#3 2017-04-23 13:04:17

nicolo
Banned
Registered: 2013-08-10
Posts: 90

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

Maybe I wasn't clear: I disabled .service, as suggested in tlp arch wiki, and therefore get that error from .socket in the journal: do you think I should instead enable .service?

Offline

#4 2017-04-25 17:52:02

linrunner
Member
Registered: 2013-04-21
Posts: 52

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

Disable systemd-rfkill.socket too.

Offline

#5 2017-04-25 19:15:55

nicolo
Banned
Registered: 2013-08-10
Posts: 90

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

Right, that's what I was asking: is it a good practice to disable it too, provided I already disabled service? or am I going to create problems disabling it, and should instead impose that it is loaded only if service is, or something similar?

Last edited by nicolo (2017-04-25 19:50:20)

Offline

#6 2017-04-26 02:59:41

nicolo
Banned
Registered: 2013-08-10
Posts: 90

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

In particular, while

systemctl is-enabled systemd-rfkill.service

gives

masked
systemctl is-enabled systemd-rfkill.socket

gives

static

both before and after I disabled it.

Offline

#7 2017-04-26 11:34:28

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

Did you use disable or mask for systemd-rfkill.socket ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2017-04-26 12:09:17

nicolo
Banned
Registered: 2013-08-10
Posts: 90

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

I used disable for both service and socket.

Offline

#9 2017-04-26 12:39:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: systemd-rfkill.socket complains that service is not loaded, due to tlp

unlikely since the enable status would be disabled and not masked for the service. Just mask both. Most sockets don't get enabled or disabled they react to certain events and try to start the corresponding service (and if the service would just be disabled it would be started due to the socket invocation, but it is masked).

Last edited by V1del (2017-04-26 12:47:55)

Offline

Board footer

Powered by FluxBB