Bug 912910
| Summary: | SELinux is preventing /usr/sbin/glusterfsd (deleted) from read access on the lnk_file /srv/media/.glusterfs/00/00/00000000-0000-0000-0000-000000000001 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Cronenworth <mike> |
| 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: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-20 10:27:57 UTC | Type: | Bug |
| 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 912908 *** |
Description of problem: SELinux is preventing /usr/sbin/glusterfsd (deleted) from read access on the lnk_file /srv/media/.glusterfs/00/00/00000000-0000-0000-0000-000000000001. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that glusterfsd (deleted) should be allowed read access on the 00000000-0000-0000-0000-000000000001 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 glusterfsd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:glusterd_t:s0 Target Context system_u:object_r:var_t:s0 Target Objects /srv/media/.glusterfs/00/00/00000000-0000-0000-000 0-000000000001 [ lnk_file ] Source glusterfsd Source Path /usr/sbin/glusterfsd (deleted) Port <Unknown> Host balthasar.cchtml.com Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.11.1-79.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name balthasar.cchtml.com Platform Linux balthasar.cchtml.com 3.7.7-201.fc18.x86_64 #1 SMP Tue Feb 12 22:35:01 UTC 2013 x86_64 x86_64 Alert Count 2 First Seen 2013-02-19 18:44:47 CST Last Seen 2013-02-19 18:45:34 CST Local ID 2435ba2c-df80-4452-b6fb-4670c5301f2b Raw Audit Messages type=AVC msg=audit(1361321134.546:14803): avc: denied { read } for pid=2766 comm="glusterfsd" name="00000000-0000-0000-0000-000000000001" dev="dm-1" ino=127336452 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=lnk_file type=SYSCALL msg=audit(1361321134.546:14803): arch=x86_64 syscall=readlink success=yes exit=ENOEXEC a0=7ffd0dad8910 a1=7ffd0dad86a0 a2=200 a3=40 items=0 ppid=1 pid=2766 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=glusterfsd exe=2F7573722F7362696E2F676C7573746572667364202864656C6574656429 subj=system_u:system_r:glusterd_t:s0 key=(null) Hash: glusterfsd,glusterd_t,var_t,lnk_file,read audit2allow #============= glusterd_t ============== allow glusterd_t var_t:lnk_file read; audit2allow -R #============= glusterd_t ============== allow glusterd_t var_t:lnk_file read; Version-Release number of selected component (if applicable): selinux-policy-3.11.1-79.fc18.noarch Steps to Reproduce: 1. Attempt to view folders in a glusterfs directory. Actual results: I can view files and folders, but I receive SELinux messages. Expected results: No SELinux messages. Additional info: These messages are brand new. They showed up after the fix for bug 911975.