Bug 920474
| Summary: | SELinux is preventing bluetoothd from 'read' accesses on the file /etc/machine-info. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e01116495dc1cfd3afd974e60e98759be6fa79d252366f5059697609f2732186 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-12 10:21:00 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: | |||
*** This bug has been marked as a duplicate of bug 920476 *** |
Description of problem: Tried to restart bluetooth.service: sudo systemctl restart bluetooth.service SELinux is preventing bluetoothd from 'read' accesses on the file /etc/machine-info. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bluetoothd should be allowed read access on the machine-info 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:hostname_etc_t:s0 Target Objects /etc/machine-info [ file ] Source bluetoothd Source Path bluetoothd Port <Unknown> Host (removed) Source RPM Packages bluez-4.101-6.fc18.x86_64 Target RPM Packages systemd-197-1.fc18.2.x86_64 Policy RPM selinux-policy-3.11.1-84.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.8.2-206.fc18.x86_64 #1 SMP Fri Mar 8 15:03:34 UTC 2013 x86_64 x86_64 Alert Count 5 First Seen 2005-02-23 20:50:42 EST Last Seen 2005-02-25 04:37:00 EST Local ID e7611d93-f85a-42e2-96ec-4774377ac727 Raw Audit Messages type=AVC msg=audit(1109266620.643:382): avc: denied { read } for pid=5468 comm="bluetoothd" name="machine-info" dev="sda6" ino=393230 scontext=system_u:system_r:bluetooth_t:s0 tcontext=system_u:object_r:hostname_etc_t:s0 tclass=file type=SYSCALL msg=audit(1109266620.643:382): arch=x86_64 syscall=open success=no exit=EACCES a0=7fbe90a9621d a1=0 a2=7fbe8f7d9466 a3=12 items=0 ppid=1 pid=5468 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/sbin/bluetoothd subj=system_u:system_r:bluetooth_t:s0 key=(null) Hash: bluetoothd,bluetooth_t,hostname_etc_t,file,read audit2allow #============= bluetooth_t ============== #!!!! This avc is allowed in the current policy allow bluetooth_t hostname_etc_t:file read; audit2allow -R require { type bluetooth_t; } #============= bluetooth_t ============== systemd_hostnamed_read_config(bluetooth_t) Additional info: hashmarkername: setroubleshoot kernel: 3.8.2-206.fc18.x86_64 type: libreport