@jhodapp
On ubuntu Ubuntu 20.04.1 LTS:
given spotify installed from snap with playerctl installed from apt with a BOSE QC35 II connected and active when I play music on spotify and I shut down the headset, spotify does not pause the music
Corresponding journalctl traces: ``` janv. 19 12:11:41 x1byjean acpid[1487]: input device has been disconnected, fd 21 janv. 19 12:11:41 x1byjean /usr/lib/gdm3/gdm-x-session[5171]: (II) config/udev: removing device LE-Grotte 35ii (AVRCP) janv. 19 12:11:41 x1byjean /usr/lib/gdm3/gdm-x-session[5171]: (**) Option "fd" "76" janv. 19 12:11:41 x1byjean /usr/lib/gdm3/gdm-x-session[5171]: (II) event20 - LE-Grotte 35ii (AVRCP): device removed janv. 19 12:11:41 x1byjean /usr/lib/gdm3/gdm-x-session[5171]: (II) UnloadModule: "libinput" janv. 19 12:11:41 x1byjean /usr/lib/gdm3/gdm-x-session[5171]: (II) systemd-logind: releasing fd for 13:84 janv. 19 12:11:41 x1byjean gsd-media-keys[5530]: Unable to get default sink janv. 19 12:11:41 x1byjean dbus-daemon[1494]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.94" (uid=1000 pid=5078 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo" label="unconfined") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=1491 comm="/usr/lib/bluetooth/bluetoothd " label="unconfined") janv. 19 12:11:41 x1byjean audit[1494]: USER_AVC pid=1494 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" member="CheckPermissions" name=":1.11" mask="receive" pid=15782 label="snap.spotify.spotify" peer_pid=1495 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?' janv. 19 12:11:41 x1byjean kernel: audit: type=1107 audit(1611054701.189:230): pid=1494 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" member="CheckPermissions" name=":1.11" mask="receive" pid=15782 label="snap.spotify.spotify" peer_pid=1495 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?' ```
@jhodapp
On ubuntu Ubuntu 20.04.1 LTS:
given spotify installed from snap
with playerctl installed from apt
with a BOSE QC35 II connected and active
when I play music on spotify
and I shut down the headset,
spotify does not pause the music
Corresponding journalctl traces: gdm3/gdm- x-session[ 5171]: (II) config/udev: removing device LE-Grotte 35ii (AVRCP) gdm3/gdm- x-session[ 5171]: (**) Option "fd" "76" gdm3/gdm- x-session[ 5171]: (II) event20 - LE-Grotte 35ii (AVRCP): device removed gdm3/gdm- x-session[ 5171]: (II) UnloadModule: "libinput" gdm3/gdm- x-session[ 5171]: (II) systemd-logind: releasing fd for 13:84 keys[5530] : Unable to get default sink return" , sender=":1.94" (uid=1000 pid=5078 comm="/ usr/bin/ pulseaudio --daemonize=no --log-target=jo" label="unconfined") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=1491 comm="/ usr/lib/ bluetooth/ bluetoothd " label="unconfined") "DENIED" operation= "dbus_signal" bus="system" path="/ org/freedesktop /NetworkManager " interface= "org.freedeskto p.NetworkManage r" member= "CheckPermissio ns" name=":1.11" mask="receive" pid=15782 label=" snap.spotify. spotify" peer_pid=1495 peer_label= "unconfined"
exe= "/usr/bin/ dbus-daemon" sauid=103 hostname=? addr=? terminal=?' 1.189:230) : pid=1494 uid=103 auid=4294967295 ses=4294967295 msg='apparmor= "DENIED" operation= "dbus_signal" bus="system" path="/ org/freedesktop /NetworkManager " interface= "org.freedeskto p.NetworkManage r" member= "CheckPermissio ns" name=":1.11" mask="receive" pid=15782 label=" snap.spotify. spotify" peer_pid=1495 peer_label= "unconfined"
exe="/ usr/bin/ dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
```
janv. 19 12:11:41 x1byjean acpid[1487]: input device has been disconnected, fd 21
janv. 19 12:11:41 x1byjean /usr/lib/
janv. 19 12:11:41 x1byjean /usr/lib/
janv. 19 12:11:41 x1byjean /usr/lib/
janv. 19 12:11:41 x1byjean /usr/lib/
janv. 19 12:11:41 x1byjean /usr/lib/
janv. 19 12:11:41 x1byjean gsd-media-
janv. 19 12:11:41 x1byjean dbus-daemon[1494]: [system] Rejected send message, 0 matched rules; type="method_
janv. 19 12:11:41 x1byjean audit[1494]: USER_AVC pid=1494 uid=103 auid=4294967295 ses=4294967295 msg='apparmor=
janv. 19 12:11:41 x1byjean kernel: audit: type=1107 audit(161105470
```