Bug 295121

Summary: Bluetooth input setup fails.
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: marcel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-30 19:19:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Woodhouse 2007-09-18 16:45:15 UTC
When I try to add a Bluetooth input device using the bluetooth-applet, it aborts
as soon as I click on 'Connect'. I get this message on stderr:

process 3666: arguments to dbus_message_new_method_call() were incorrect,
assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line
1074. This is normally a bug in some application using the D-Bus library.

This failure mode could be improved, but the root cause seems to be:

type=USER_AVC msg=audit(1190133048.733:49): user pid=1835 uid=81 auid=4294967295
subj=system_u:system_r:system_dbusd_t:s0 msg='avc:  denied  { send_msg } for
msgtype=method_call interface=org.bluez.Adapter member=GetRemoteServiceHandles
dest=org.bluez spid=3398 tpid=3391 scontext=system_u:system_r:bluetooth_t:s0
tcontext=system_u:system_r:bluetooth_t:s0 tclass=dbus : exe="/bin/dbus-daemon"
(sauid=81, hostname=?, addr=?, terminal=?)'

Comment 1 Daniel Walsh 2007-09-18 17:26:22 UTC
Fixed in selinux-policy-3.0.1-2

Comment 2 David Woodhouse 2007-09-18 17:50:26 UTC
That was quick; thanks. For reference, should I be doing this kind of thing
myself? Providing a list of other methods which I might want to call?

Comment 3 Daniel Walsh 2007-09-18 19:42:51 UTC
Not sure what you are asking.  If you are planning  on communicating with other
domains through dbus, yes.  If you want to take over selinux policy for
bluetooth and ship it with your package that would be ok also.

Comment 4 Daniel Walsh 2008-01-30 19:19:18 UTC
Bulk closing all bugs in Fedora updates in the modified state.  If you bug is
not fixed, please reopen.