[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rfkill geht nicht persistent



[Da habe ich eben Unsinn gemacht und 180 KB Logs gesendet. Hoffentlich wird
das gelöscht.]

[Redacted - Resend]

Hallo,

% rfkill block all

blockt WLAN und BT soft. Nur beim Starten ist wieder alles entsperrt.
Das ist nicht sinnvoll.

In der Annahme, ich brauche einen Dienst, der es beim Start richtet,
habe ich urfkill installiert. Das half nicht.

Gestern habe ich noch liburfkill-glib0 installiert. Das half auch nicht.

Nun ist das systemd Journal voll von Meldungen zu rfkill. Vielleicht mag 
jemand hineingucken.

Wie soll das funktionieren? systemd startet einen Dienst, der beim booten
die Geräte einstellt, ggffls blockt, und beim runterfahren wieder
speichert? Kann man die Einstellungen nicht einfach in eine conf Datei
schreiben? Das würde reichen, die Tasten (USB-Tastatur) sind weniger wichtig.

Und wie kriege ich einen "hard block"?

TIA

Gruß
Christian

-----------------------
Sep 06 10:08:33 localhost systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Sep 06 10:08:35 localhost URfkill[669]: Starting urfkilld version 0.5.0
Sep 06 10:08:35 localhost dbus-daemon[630]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.6' (uid=0 pid=669 comm="/usr/lib/x86_64-linux-gnu/urfkill/urfkilld ")
Sep 06 10:08:35 localhost kernel: rfkill: input handler disabled
Sep 06 10:08:35 localhost URfkill[669]: <warning> Failed to write persistence data: Failed to create file “/var/lib/urfkill/saved-states.OTE280”: No such file or directory
Sep 06 10:08:35 localhost kernel: rfkill: input handler enabled
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Scheduled restart job, restart counter is at 1.
Sep 06 10:08:35 localhost URfkill[891]: Starting urfkilld version 0.5.0
Sep 06 10:08:35 localhost kernel: rfkill: input handler disabled
Sep 06 10:08:35 localhost URfkill[891]: <warning> Failed to write persistence data: Failed to create file “/var/lib/urfkill/saved-states.Z8ML90”: No such file or directory
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:35 localhost kernel: rfkill: input handler enabled
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Scheduled restart job, restart counter is at 2.
Sep 06 10:08:35 localhost URfkill[897]: Starting urfkilld version 0.5.0
Sep 06 10:08:35 localhost kernel: rfkill: input handler disabled
Sep 06 10:08:35 localhost URfkill[897]: <warning> Failed to write persistence data: Failed to create file “/var/lib/urfkill/saved-states.DEHO90”: No such file or directory
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 10:08:35 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:35 localhost kernel: rfkill: input handler enabled
Sep 06 10:08:35 localhost NetworkManager[633]: <info>  [1630915715.6649] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/ieee80211/phy0/rfkill1) (driver iwlwifi)
Sep 06 10:08:35 localhost NetworkManager[633]: <info>  [1630915715.6650] manager[0x55b913e12040]: rfkill: Wi-Fi hardware radio set enabled
Sep 06 10:08:35 localhost NetworkManager[633]: <info>  [1630915715.6650] manager[0x55b913e12040]: rfkill: WWAN hardware radio set enabled
Sep 06 10:08:35 localhost NetworkManager[633]: <info>  [1630915715.6720] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Sep 06 10:08:35 localhost NetworkManager[633]: <info>  [1630915715.6721] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Scheduled restart job, restart counter is at 3.
Sep 06 10:08:36 localhost URfkill[905]: Starting urfkilld version 0.5.0
Sep 06 10:08:36 localhost kernel: rfkill: input handler disabled
Sep 06 10:08:36 localhost URfkill[905]: <warning> Failed to write persistence data: Failed to create file “/var/lib/urfkill/saved-states.DH6980”: No such file or directory
Sep 06 10:08:36 localhost kernel: rfkill: input handler enabled
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Scheduled restart job, restart counter is at 4.
Sep 06 10:08:36 localhost URfkill[909]: Starting urfkilld version 0.5.0
Sep 06 10:08:36 localhost kernel: rfkill: input handler disabled
Sep 06 10:08:36 localhost URfkill[909]: <warning> Failed to write persistence data: Failed to create file “/var/lib/urfkill/saved-states.KXN280”: No such file or directory
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:36 localhost kernel: rfkill: input handler enabled
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Scheduled restart job, restart counter is at 5.
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Start request repeated too quickly.
Sep 06 10:08:36 localhost systemd[1]: urfkill.service: Failed with result 'exit-code'.
Sep 06 10:08:40 localhost systemd[1]: systemd-rfkill.service: Succeeded.
Sep 06 10:08:43 localhost systemd-xdg-autostart-generator[1416]: Exec binary '/usr/libexec/gsd-rfkill' does not exist: No such file or directory
Sep 06 10:08:54 localhost systemd-xdg-autostart-generator[1539]: Exec binary '/usr/libexec/gsd-rfkill' does not exist: No such file or directory
Sep 06 10:09:03 localhost rfkill[1854]: block set for all
Sep 06 10:09:03 localhost NetworkManager[633]: <info>  [1630915743.9307] manager: rfkill: Wi-Fi now disabled by radio killswitch
Sep 06 10:09:08 localhost systemd[1]: systemd-rfkill.service: Succeeded.
Sep 06 10:13:37 localhost systemd-xdg-autostart-generator[2100]: Exec binary '/usr/libexec/gsd-rfkill' does not exist: No such file or directory
--------------

-- 
http://cknoke.de


Reply to: