Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 352305

Summary: net-wireless/bluedevil insufficient default dbus permissiosn
Product: Gentoo Linux Reporter: Michael <gent.8.madblock>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: trivial CC: betelgeuse, dschridde+gentoobugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael 2011-01-21 01:53:11 UTC
The default ebuild of net-wireless/bluedevil-1.0 would just not detect my bluetooth device. I noticed that dbus does not allow a regular user to connect to bluetoothd:

Jan 21 01:04:07 draget dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.8" (uid=1000 pid=5701 comm="/usr/bin/bluedevil-monolithic) interface="org.bluez.Adapter" member="GetProperties" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=5377 comm="/usr/sbin/bluetoothd))
Jan 21 01:04:07 draget dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=6625 comm="/usr/bin/bluedevil-helper) interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=5377 comm="/usr/sbin/bluetoothd))
Jan 21 01:04:07 draget dbus-daemon: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=6625 comm="/usr/bin/bluedevil-helper) interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=5377 comm="/usr/sbin/bluetoothd))


Checking my /etc/dbus-1/system.d/bluetooth.conf configuration I noticed that only root and users in the 'lp' group can access it. Maybe a suid mechanism or an ebuild POST message would clear things up.

'Please add every user that should be allowed to control the bluetooth device to the 'lp' group.'

Not sure how upstreams handles this. 


Reproducible: Always

Steps to Reproduce:
Comment 1 Rafał Mużyło 2011-01-21 09:26:23 UTC
As it seems to be a wrapper around bluez, probably the same way bleuz does
- preferably via consolekit.

Still, this looks more like a support question than a bug report.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-02-19 12:47:28 UTC
Please add the output of emerge --info
Which bluez and kde versions are you using?
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-04-12 21:58:59 UTC
No reply for two months.