Bug 920476
| Summary: | SELinux is preventing /usr/sbin/bluetoothd from 'open' 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 ERRATA | 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:37d6e53bca4ba3c445db6345bd28981f6eea71a1516180afd98039cc8d0f4dd4 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-14 03:02:03 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: | |||
Fixed in selinux-policy-3.11.1-85.fc18.noarch *** Bug 920474 has been marked as a duplicate of this bug. *** selinux-policy-3.11.1-85.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18 Package selinux-policy-3.11.1-85.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-85.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-85.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Ran systemctl restart bluetooth.service and attempted to tether system to cell internet via bluetooth SELinux is preventing /usr/sbin/bluetoothd from 'open' accesses on the file /etc/machine-info. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bluetoothd should be allowed open 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 /usr/sbin/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 1 First Seen 2005-02-25 04:38:52 EST Last Seen 2005-02-25 04:38:52 EST Local ID 7399f8ca-daeb-4d58-9355-67d9a9db23ef Raw Audit Messages type=AVC msg=audit(1109266732.930:387): avc: denied { open } for pid=6341 comm="bluetoothd" path="/etc/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(1109266732.930:387): arch=x86_64 syscall=open success=no exit=EACCES a0=7f918dcc221d a1=0 a2=7f918ca05466 a3=12 items=0 ppid=1 pid=6341 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,open audit2allow #============= bluetooth_t ============== allow bluetooth_t hostname_etc_t:file open; 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