Bug 669447 - avc when trying to reconnect to a paired Bluetooth headset
Summary: avc when trying to reconnect to a paired Bluetooth headset
Keywords:
Status: CLOSED DUPLICATE of bug 633424
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 17:30 UTC by Adam Williamson
Modified: 2011-01-13 19:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-13 19:04:13 UTC
Type: ---


Attachments (Terms of Use)

Description Adam Williamson 2011-01-13 17:30:44 UTC
I can pair with a Bluetooth headset perfectly - the pairing works, it pops up as an audio device, I can do a Skype call using it, the whole shebang. But it only works on initial pairing. I can never reconnect to it again; I have to delete it and re-pair it every time I want to use it.

I notice when I go to the bluetooth applet, select the headset and hit 'connect', this happens in /var/log/messages:

Jan 13 17:26:38 vaioz bluetoothd[1339]: link_key_request (sba=50:63:13:BD:B9:42, dba=00:1C:EF:9A:F5:58)
Jan 13 17:26:38 vaioz kernel: [26659.803806] type=1400 audit(1294939598.077:4): avc:  denied  { write } for  pid=1378 comm="krfcommd" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket

which may be part of the problem, I think.

Comment 1 Adam Williamson 2011-01-13 17:36:44 UTC
indeed, rebooting with selinux=0 it worked.

Comment 2 Daniel Walsh 2011-01-13 19:04:13 UTC

*** This bug has been marked as a duplicate of bug 633424 ***

Comment 3 Daniel Walsh 2011-01-13 19:06:07 UTC
Miroslav lets add

kernel_rw_unlabeled_socket(kernel_t)

to F13, RHEL6 and F14 so we can stop users from hitting this bug.


Note You need to log in before you can comment on or make changes to this bug.