Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/sbin/glusterfsd (deleted) from getattr access on the filesystem /. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that glusterfsd (deleted) should be allowed getattr access on the filesystem 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:fs_t:s0 Target Objects / [ filesystem ] Source glusterfsd Source Path /usr/sbin/glusterfsd (deleted) Port <Unknown> Host balthasar.cchtml.com Source RPM Packages Target RPM Packages filesystem-3.1-2.fc18.x86_64 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 3 First Seen 2013-02-19 18:45:34 CST Last Seen 2013-02-19 18:51:48 CST Local ID ec441788-68bd-4ef0-bfc4-756535698972 Raw Audit Messages type=AVC msg=audit(1361321508.381:14815): avc: denied { getattr } for pid=14090 comm="glusterfsd" name="/" dev="dm-0" ino=2 scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem type=SYSCALL msg=audit(1361321508.381:14815): arch=x86_64 syscall=statfs success=yes exit=0 a0=7f82d33f9c70 a1=7f82d33f9b30 a2=0 a3=0 items=0 ppid=1 pid=14090 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,fs_t,filesystem,getattr audit2allow #============= glusterd_t ============== allow glusterd_t fs_t:filesystem getattr; audit2allow -R #============= glusterd_t ============== allow glusterd_t fs_t:filesystem getattr; 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.
selinux-policy-3.11.1-81.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-81.fc18
selinux-policy-3.11.1-81.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.