dbus vs bluetooth, dbus denies all bt actions. WTH?
Gene Heskett
gene.heskett at verizon.net
Tue Apr 7 16:22:02 UTC 2009
Subject says it all, anything/everything in the bluez-4.34/test directory is
being denied by dbus.
------------------------------------------------------------
[root at coyote test]# ./test-device 11:11:11:11:11:11
ERROR:dbus.proxies:Introspect error on :1.67:/: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents
this sender from sending this message to this recipient, see message bus
configuration file (rejected message had interface
"org.freedesktop.DBus.Introspectable" member "Introspect" error name "(unset)"
destination ":1.67")
Traceback (most recent call last):
File "./test-device", line 11, in <module>
adapter = dbus.Interface(bus.get_object("org.bluez",
manager.DefaultAdapter()),
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in
__call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in
__call__
**keywords)
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 630, in
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: A
security policy in place prevents this sender from sending this message to
this recipient, see message bus configuration file (rejected message had
interface "org.bluez.Manager" member "DefaultAdapter" error name "(unset)"
destination ":1.67")
---------------------------------------
11:11:11:11:11:11 is the bdaddr of the local device.
How can I fix this?
TIA.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Disco is to music what Etch-A-Sketch is to art.
More information about the fedora-list
mailing list