Laurent Bigonville schrieb am Fr 29. Jun, 15:22 (+0200):
> Package: bluez
> Version: 4.99-2
> Severity: important
> 
> Hi,
> 
> When trying to pair a device, I get the following error in
> /var/log/auth.log:
> 
> dbus[1820]: [system] Rejected send message, 4 matched rules; 
> type="method_return", sender=":1.64" (uid=1000 pid=2953 
> comm="/usr/bin/gnome-shell ") interface="(unset)" member="(unset)" error 
> name="(unset)" requested_reply="0" destination=":1.124" (uid=0 pid=26792 
> comm="/usr/sbin/bluetoothd -n ")
> dbus[1820]: [system] Rejected send message, 4 matched rules; 
> type="method_return", sender=":1.127" (uid=1000 pid=26872 
> comm="bluetooth-wizard ") interface="(unset)" member="(unset)" error 
> name="(unset)" requested_reply="0" destination=":1.125" (uid=0 pid=26862 
> comm="/usr/sbin/bluetoothd -n ")

I see similar messages in my log around the disconnect and reconnect of my
headset:

```
dbus-daemon[921]: [system] Rejected send message, 0 matched rules; 
type="error", sender=":1.29" (uid=1000 pid=1102 comm="/usr/bin/wireplumber" 
label="unconfined") interface="(unset)" member="(unset)" error 
name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" 
destination=":1.5" (uid=0 pid=918 comm="/usr/libexec/bluetooth/bluetoothd" 
label="unconfined")

dbus-daemon[921]: [system] Rejected send message, 1 matched rules; 
type="method_call", sender=":1.5" (uid=0 pid=918 
comm="/usr/libexec/bluetooth/bluetoothd" label="unconfined") 
interface="org.bluez.GattProfile1" member="Release" error name="(unset)" 
requested_reply="0" destination=":1.30" (uid=1000 pid=1090 
comm="/usr/bin/wireplumber" label="unconfined")
```

I have got rid of the second one by adding an allow in
/usr/share/dbus-1/system.d/bluetooth.conf:

```
  <policy user="root">
    <allow own="org.bluez"/>
…
    <allow send_interface="org.bluez.GattProfile1"/>
```


Best regards Jörg

-- 
Wer eher stirbt ist länger tot.
                                                        (Un B. Kant)

Attachment: signature.asc
Description: PGP signature

Reply via email to