Additional info: libreport version: 2.0.18 kernel: 3.6.10-2.fc17.x86_64 description: :SELinux is preventing /usr/sbin/bluetoothd from 'unlink' accesses on the sock_file sdp. : :***** Plugin catchall (100. confidence) suggests *************************** : :If sie denken, dass bluetoothd standardmässig erlaubt sein sollte, unlink Zugriff auf sdp sock_file zu erhalten. :Then sie sollten dies als Fehler melden. :Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. :Do :zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: :# 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 unconfined_u:object_r:var_run_t:s0 :Target Objects sdp [ sock_file ] :Source bluetoothd :Source Path /usr/sbin/bluetoothd :Port <Unbekannt> :Host (removed) :Source RPM Packages bluez-4.99-2.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.10-2.fc17.x86_64 #1 SMP Tue : Dec 11 18:07:34 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-12-24 15:56:22 CET :Last Seen 2012-12-24 15:56:22 CET :Local ID 4485538f-a52d-408a-8077-c51c19ed30f3 : :Raw Audit Messages :type=AVC msg=audit(1356360982.105:225): avc: denied { unlink } for pid=9793 comm="bluetoothd" name="sdp" dev="tmpfs" ino=426713 scontext=system_u:system_r:bluetooth_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=sock_file : : :type=SYSCALL msg=audit(1356360982.105:225): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7fff248feda2 a1=1 a2=0 a3=7fff248feb00 items=0 ppid=1 pid=9793 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=bluetoothd exe=/usr/sbin/bluetoothd subj=system_u:system_r:bluetooth_t:s0 key=(null) : :Hash: bluetoothd,bluetooth_t,var_run_t,sock_file,unlink : :audit2allow : :#============= bluetooth_t ============== :allow bluetooth_t var_run_t:sock_file unlink; : :audit2allow -R : :#============= bluetooth_t ============== :allow bluetooth_t var_run_t:sock_file unlink; : Potential duplicate bug: 710728
Created attachment 668502 [details] File: type
Created attachment 668503 [details] File: hashmarkername
Solution was: 1. systemctl stop bluetooth.service 2. chcon system_u:object_r:bluetooth_var_run_t,s0 /var/run/sdp 3. systemctl start bluetooth.service Because /var/run/sdp was in an unconfined context like at #710728 *** This bug has been marked as a duplicate of bug 710728 ***