[arch-general] Changes to jack/jack2 and realtime privileges

2018-08-21 Thread David Runge
Hi all,

as announced before [1], recent changes to the jack and jack2{,-dbus}
packages (now in [extra] and [community] respectively) have made the
previously shipped configurations obsolete and decoupled the audio group
from acquiring realtime privileges by default when installing jack.

The package realtime-privileges [2] has been created to serve as the new
way of achieving this by the means of a dedicated 'realtime' group, to
which users, that need the settings, must be added.
It is now an optional dependency to jack and jack2{,-dbus} and can of
course also be dependend upon from other packages if needed.

In theory, this change shouldn't mean much of a difference to users,
that need realtime (just install realtime-priviliges and add your user
to the realtime group: `gpasswd -a  realtime`), while it doesn't
have any consequences for users that have no use for it to begin with.

Best,
David

[1] https://lists.archlinux.org/pipermail/arch-proaudio/2018-July/000163.html
[2] https://www.archlinux.org/packages/community/any/realtime-privileges/

-- 
https://sleepmap.de


signature.asc
Description: PGP signature


Re: [arch-general] blueman authentication problem

2018-08-21 Thread Robin Broda via arch-general
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]:   [1534877403.8607]
> rfkill2: found WiFi radio killswitch (at
> /sys/devices/pci:00/:00:1c.4/:02:00.0/ieee80211/phy0/rfkill
> 2) (driver rtl8192se)
> Aug 21 20:50:03 defiant NetworkManager[636]:   [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]:   [1534877403.8616]
> manager[0x563e308de000]: rfkill: WiFi hardware radio set enabled
> Aug 21 20:50:03 defiant NetworkManager[636]:   [1534877403.8650]
> manager[0x563e308de000]: rfkill: WWAN hardware radio set enabled
> Aug 21 20:50:05 defiant NetworkManager[636]:   [1534877405.2145]
> manager: rfkill: WiFi enabled by radio killswitch; enabled by state
> file
> Aug 21 20:50:05 defiant NetworkManager[636]:   [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


Re: [arch-general] blueman authentication problem

2018-08-21 Thread Eli Schwartz via arch-general
On 8/21/18 3: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]:   [1534877403.8607]
> rfkill2: found WiFi radio killswitch (at
> /sys/devices/pci:00/:00:1c.4/:02:00.0/ieee80211/phy0/rfkill
> 2) (driver rtl8192se)
> Aug 21 20:50:03 defiant NetworkManager[636]:   [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]:   [1534877403.8616]
> manager[0x563e308de000]: rfkill: WiFi hardware radio set enabled
> Aug 21 20:50:03 defiant NetworkManager[636]:   [1534877403.8650]
> manager[0x563e308de000]: rfkill: WWAN hardware radio set enabled
> Aug 21 20:50:05 defiant NetworkManager[636]:   [1534877405.2145]
> manager: rfkill: WiFi enabled by radio killswitch; enabled by state
> file
> Aug 21 20:50:05 defiant NetworkManager[636]:   [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?

https://bugs.archlinux.org/task/59736

https://bbs.archlinux.org/viewtopic.php?id=239697

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


[arch-general] blueman authentication problem

2018-08-21 Thread Frank Zimmermann
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]:   [1534877403.8607]
rfkill2: found WiFi radio killswitch (at
/sys/devices/pci:00/:00:1c.4/:02:00.0/ieee80211/phy0/rfkill
2) (driver rtl8192se)
Aug 21 20:50:03 defiant NetworkManager[636]:   [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]:   [1534877403.8616]
manager[0x563e308de000]: rfkill: WiFi hardware radio set enabled
Aug 21 20:50:03 defiant NetworkManager[636]:   [1534877403.8650]
manager[0x563e308de000]: rfkill: WWAN hardware radio set enabled
Aug 21 20:50:05 defiant NetworkManager[636]:   [1534877405.2145]
manager: rfkill: WiFi enabled by radio killswitch; enabled by state
file
Aug 21 20:50:05 defiant NetworkManager[636]:   [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