| Summary: | SELinux is preventing /bin/mount from 'read' accesses on the lnk_file mtab. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Watzke <watzkej> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, masami256, mgrepl, watzkej |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:de750234943e3b9852062411361fe7794714b4e3108e195cc3f3ac106e9d4c2c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-10 09:58:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in the latest rawhide policy. *** Bug 676516 has been marked as a duplicate of this bug. *** |
SELinux is preventing /bin/mount from 'read' accesses on the lnk_file mtab. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that mount should be allowed read access on the mtab lnk_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 mount /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mount_t:s0-s0:c0.c1023 Target Context system_u:object_r:etc_runtime_t:s0 Target Objects mtab [ lnk_file ] Source mount Source Path /bin/mount Port <Unknown> Host (removed) Source RPM Packages util-linux-2.19-0.4.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.13-9.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-0.rc4.git0.1.fc15.x86_64 #1 SMP Tue Feb 8 01:57:21 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Wed 09 Feb 2011 04:16:56 PM CST Last Seen Wed 09 Feb 2011 04:21:43 PM CST Local ID 48de7fc1-6fcd-4f42-91b6-82cee4a4c86b Raw Audit Messages type=AVC msg=audit(1297290103.440:89): avc: denied { read } for pid=1664 comm="mount" name="mtab" dev=dm-1 ino=524305 scontext=system_u:system_r:mount_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=lnk_file type=SYSCALL msg=audit(1297290103.440:89): arch=x86_64 syscall=open success=no exit=EACCES a0=7f958ccb5587 a1=42 a2=1a4 a3=7fff52d66fc0 items=0 ppid=1663 pid=1664 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=mount exe=/bin/mount subj=system_u:system_r:mount_t:s0-s0:c0.c1023 key=(null) Hash: mount,mount_t,etc_runtime_t,lnk_file,read audit2allow #============= mount_t ============== allow mount_t etc_runtime_t:lnk_file read; audit2allow -R #============= mount_t ============== allow mount_t etc_runtime_t:lnk_file read;