[arch-general] blueman authentication problem

Robin Broda arch-ml at coderobe.net
Tue Aug 21 19:16:21 UTC 2018


On 8/21/18 9:10 PM, Frank Zimmermann wrote:
> Good evening,
> 
> for approx the last 2 days I noticed that the blueman applet and rfkill
> state request me to enter my password when logging in Gnome Shell.
> The following messages in my log might be of relevance:
> 
> Aug 21 20:49:56 defiant kernel: thinkpad_acpi: rfkill switch
> tpacpi_bluetooth_sw: radio is unblocked
> Aug 21 20:49:56 defiant kernel: thinkpad_acpi: rfkill switch
> tpacpi_wwan_sw: radio is unblocked
> Aug 21 20:50:03 defiant NetworkManager[636]: <info>  [1534877403.8607]
> rfkill2: found WiFi radio killswitch (at
> /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/ieee80211/phy0/rfkill
> 2) (driver rtl8192se)
> Aug 21 20:50:03 defiant NetworkManager[636]: <info>  [1534877403.8611]
> rfkill1: found WWAN radio killswitch (at
> /sys/devices/platform/thinkpad_acpi/rfkill/rfkill1) (platform driver
> thinkpad_acpi)
> Aug 21 20:50:03 defiant NetworkManager[636]: <info>  [1534877403.8616]
> manager[0x563e308de000]: rfkill: WiFi hardware radio set enabled
> Aug 21 20:50:03 defiant NetworkManager[636]: <info>  [1534877403.8650]
> manager[0x563e308de000]: rfkill: WWAN hardware radio set enabled
> Aug 21 20:50:05 defiant NetworkManager[636]: <info>  [1534877405.2145]
> manager: rfkill: WiFi enabled by radio killswitch; enabled by state
> file
> Aug 21 20:50:05 defiant NetworkManager[636]: <info>  [1534877405.2148]
> manager: rfkill: WWAN enabled by radio killswitch; enabled by state
> file
> Aug 21 20:50:44 defiant dbus-daemon[633]: [system] Activating via
> systemd: service name='org.freedesktop.hostname1' unit='dbus-
> org.freedesktop.hostname1.service' requested by ':1.87' (uid=1000
> pid=1227 comm="/usr/lib/gsd-rfkill ")
> Aug 21 20:50:47 defiant kernel: rfkill: input handler disabled
> Aug 21 20:53:39 defiant polkitd[736]: Operator of unix-session:2 FAILED
> to authenticate to gain authorization for action
> org.blueman.rfkill.setstate for system-bus-name::1.186 [python
> /usr/bin/blueman-applet] (owned by unix-user:frank)
> Aug 21 21:05:10 defiant kernel: rfkill: input handler enabled
> Aug 21 21:05:22 defiant dbus-daemon[633]: [system] Activating via
> systemd: service name='org.freedesktop.hostname1' unit='dbus-
> org.freedesktop.hostname1.service' requested by ':1.675' (uid=1000
> pid=4766 comm="/usr/lib/gsd-rfkill ")
> Aug 21 21:05:23 defiant kernel: rfkill: input handler disabled
> Aug 21 21:05:34 defiant polkitd[736]: Operator of unix-session:5
> successfully authenticated as unix-user:frank to gain TEMPORARY
> authorization for action org.blueman.rfkill.setstate for system-bus-
> name::1.735 [python /usr/bin/blueman-applet] (owned by unix-user:frank)
> 
> Any ideas how to change this strange behavior?
> 
> Thanks Frank
> 

You can drop a polkit config file in `/etc/polkit-1/rules.d` to authorize a group or user to access the action `org.blueman.rfkill.setstate`.

See also: https://wiki.archlinux.org/index.php/Polkit

Regards,
Rob

-- 
Rob (coderobe)

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


More information about the arch-general mailing list