Bug 1105423 - SELinux is preventing /usr/libexec/bluetooth/bluetoothd from read, write access on the chr_file uhid.
Summary: SELinux is preventing /usr/libexec/bluetooth/bluetoothd from read, write acce...
Keywords:
Status: CLOSED DUPLICATE of bug 1161169
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:352f460b60ef218d4ed3ec75dfb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 05:56 UTC by Peeter Vois
Modified: 2014-11-07 12:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-07 12:17:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peeter Vois 2014-06-06 05:56:22 UTC
Description of problem:
by trying to use bluetooth LE mouse and keyboard device.
SELinux is preventing /usr/libexec/bluetooth/bluetoothd from read, write access on the chr_file uhid.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that bluetoothd should be allowed read write access on the uhid chr_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep bluetoothd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:bluetooth_t:s0
Target Context                system_u:object_r:uhid_device_t:s0
Target Objects                uhid [ chr_file ]
Source                        bluetoothd
Source Path                   /usr/libexec/bluetooth/bluetoothd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bluez-5.18-1.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-122.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.3-201.fc20.x86_64 #1 SMP Fri
                              Feb 14 19:08:32 UTC 2014 x86_64 x86_64
Alert Count                   2
First Seen                    2014-06-06 08:50:46 EEST
Last Seen                     2014-06-06 08:50:46 EEST
Local ID                      f5a6d625-413e-4e34-aeb4-79f668d1d27e

Raw Audit Messages
type=AVC msg=audit(1402033846.617:378): avc:  denied  { read write } for  pid=5365 comm="bluetoothd" name="uhid" dev="devtmpfs" ino=11496 scontext=system_u:system_r:bluetooth_t:s0 tcontext=system_u:object_r:uhid_device_t:s0 tclass=chr_file


type=SYSCALL msg=audit(1402033846.617:378): arch=x86_64 syscall=open success=no exit=EACCES a0=7f74a7fb0385 a1=80002 a2=7f74a8434300 a3=4000 items=0 ppid=1 pid=5365 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=bluetoothd exe=/usr/libexec/bluetooth/bluetoothd subj=system_u:system_r:bluetooth_t:s0 key=(null)

Hash: bluetoothd,bluetooth_t,uhid_device_t,chr_file,read,write

Additional info:
reporter:       libreport-2.1.12
hashmarkername: setroubleshoot
kernel:         3.13.3-201.fc20.x86_64
type:           libreport

Comment 1 Peeter Vois 2014-10-10 13:12:59 UTC
Description of problem:
started laptop and connected my bluetooth LE mouse.

Additional info:
reporter:       libreport-2.1.12
hashmarkername: setroubleshoot
kernel:         3.13.3-201.fc20.x86_64
type:           libreport

Comment 2 Miroslav Grepl 2014-11-07 12:17:30 UTC

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


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