[Pkg-kde-extras] Bug#511615: [kdebluetooth] Same problem - kblueplugd crashes while trying to access bluez via dbus

Marco K debian at mk-computing.de
Sun Mar 8 13:27:57 UTC 2009


Package: kdebluetooth
Version: 1.0~beta8-5

--- Please enter the report below this line. ---

I have the same problem accessing the bluetooth system.

When i start kbluetooth as normal user in netdev group, the frontend 
behaves as if there is no bluetoothdevice connected. When starting 
as root, everything is fine and i can even browse my phone.

By disconnecting the dongle i produce a crash of kbluetooth as in
#493024.

We traced it to kblueplugd. Calling kblueplugd in a terminal shows:

marco at hal9000:~$ kblueplugd
ERROR:dbus.proxies:Introspect error on :1.8:/org/bluez: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.51" (uid=501 pid=11389 comm="/usr/bin/python /usr/bin/kblueplugd ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.8" (uid=0 pid=3652 comm="/usr/sbin/hcid -x -s "))
Traceback (most recent call last):
  File "/usr/bin/kblueplugd", line 35, in <module>
    if len(manager.ListAdapters()):
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied:
Rejected send message, 1 matched rules; type="method_call",
sender=":1.51" (uid=501 pid=11389
comm="/usr/bin/python /usr/bin/kblueplugd ")
interface="org.bluez.Manager" member="ListAdapters" error
name="(unset)" requested_reply=0 destination=":1.8" (uid=0 pid=3652
comm="/usr/sbin/hcid -x -s "))

While /etc/dbus-1/system.d/blue says:
  <!-- allow users of netdev group to communicate with hcid -->
  <policy group="netdev">
    <allow send_destination="org.bluez"/>
  </policy>


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-amd64

Debian Release: squeeze/sid
  500 kernel-dists-sid kernel-archive.buildserver.net 

--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-=======================
kdelibs4c2a                    (>= 4:3.5.9) | 4:3.5.10.dfsg.1-1+b1
libacl1                       (>= 2.2.11-1) | 2.2.47-2
libart-2.0-2                    (>= 2.3.18) | 2.3.20-2
libattr1                      (>= 2.4.41-1) | 1:2.4.43-2
libaudio2                                   | 1.9.1-5
libbluetooth2                     (>= 3.14) | 3.36-1
libc6                            (>= 2.7-1) | 2.9-4
libdbus-1-3                      (>= 1.0.2) | 1.2.12-1
libdbus-qt-1-1c2     (>= 0.62.git.20060814) | 0.62.git.20060814-2
libfam0                                     | 2.7.0-13.3
libfontconfig1                   (>= 2.4.0) | 2.6.0-3
libfreetype6                     (>= 2.3.5) | 2.3.7-2
libgcc1                        (>= 1:4.1.1) | 1:4.3.3-5
libice6                        (>= 1:1.0.0) | 2:1.0.5-1
libidn11                        (>= 0.5.18) | 1.12-1
libjpeg62                                   | 6b-14
libkbluetooth0                              | 1.0~beta8-5
libopenobex1                                | 1.5-1
libpng12-0                    (>= 1.2.13-4) | 1.2.35-1
libqt3-mt                     (>= 3:3.3.8b) | 3:3.3.8b-5+b1
libsm6                                      | 2:1.1.0-2
libstdc++6                       (>= 4.2.1) | 4.3.3-5
libx11-6                                    | 2:1.1.5-2
libxcursor1                      (>> 1.1.2) | 1:1.1.9-1
libxext6                                    | 2:1.0.4-1
libxft2                          (>> 2.1.1) | 2.1.13-3
libxi6                                      | 2:1.2.0-2
libxinerama1                                | 2:1.0.3-2
libxrandr2                                  | 2:1.2.3-1
libxrender1                                 | 1:0.9.4-2
libxt6                                      | 1:1.0.5-3
zlib1g                         (>= 1:1.1.4) | 1:1.2.3.3.dfsg-13
bluez-utils                       (>= 3.13) | 3.36-3
python-qt4-dbus                             | 4.4.2-4
python-qt4                                  | 4.4.2-4
-- 
"Aber, ich bin Zwilling, 
und deswegen muß mit einer Überraschung rechnen!"
                   -- Ron Buttler - Kentucky Fried Movie





More information about the pkg-kde-extras mailing list