Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/sbin/glusterfsd (deleted) from read access on the directory /home/michael/.ssh. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that glusterfsd (deleted) should be allowed read access on the .ssh directory 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 unconfined_u:object_r:ssh_home_t:s0 Target Objects /home/michael/.ssh [ dir ] 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 1 First Seen 2013-02-19 18:44:43 CST Last Seen 2013-02-19 18:44:43 CST Local ID 22b56ff4-2043-44ce-8d27-e39ee3fc4590 Raw Audit Messages type=AVC msg=audit(1361321083.89:14783): avc: denied { read } for pid=31833 comm="glusterfsd" name=".ssh" dev="dm-0" ino=50725361 scontext=system_u:system_r:glusterd_t:s0 tcontext=unconfined_u:object_r:ssh_home_t:s0 tclass=dir type=AVC msg=audit(1361321083.89:14783): avc: denied { open } for pid=31833 comm="glusterfsd" path="/home/michael/.ssh" dev="dm-0" ino=50725361 scontext=system_u:system_r:glusterd_t:s0 tcontext=unconfined_u:object_r:ssh_home_t:s0 tclass=dir type=SYSCALL msg=audit(1361321083.89:14783): arch=x86_64 syscall=openat success=yes exit=EFAULT a0=ffffffffffffff9c a1=7f82d30f6c80 a2=90800 a3=0 items=0 ppid=1 pid=31833 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,ssh_home_t,dir,read audit2allow #============= glusterd_t ============== allow glusterd_t ssh_home_t:dir { read open }; audit2allow -R #============= glusterd_t ============== allow glusterd_t ssh_home_t:dir { read open }; Version-Release number of selected component (if applicable): selinux-policy-3.11.1-79.fc18.noarch Steps to Reproduce: 1. Mount gluster volume that is a user's /home directory. 1. Attempt to view folders in the 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.
Performing an "ls" of the .ssh folder in the glusterfs results in additional SELinux messages requesting access for: #============= glusterd_t ============== allow glusterd_t ssh_home_t:dir search; allow glusterd_t ssh_home_t:file getattr; and #============= glusterd_t ============== allow glusterd_t ssh_home_t:dir getattr;
*** This bug has been marked as a duplicate of bug 912908 ***