Description of problem: Mounting an NFS4 share with autofs triggers this AVC: avc: denied { signal } for pid=8274 comm="mount.nfs4" scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:system_r:mount_t:s0 tclass=process Version-Release number of selected component (if applicable): selinux-policy-3.6.10 How reproducible: Mount an NFS4 share via autofs Additional info: If rpc.gssd is run by hand, as opposed to using 'service rpc.gssd start' then the mount operation succeeds.
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.11-1.fc11.noarch
That fixed the gssd_t avc, but now I am left with various rpcd_t avcs: type=AVC msg=audit(1239046342.527:332): avc: denied { signal } for pid=15065 comm="umount.nfs4" scontext=system_u:system_r:rpcd_t:s0 tcontext=unconfined_u:system_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=process type=AVC msg=audit(1239046342.564:333): avc: denied { signal } for pid=2279 comm="rpciod/1" scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process type=AVC msg=audit(1239046413.283:334): avc: denied { signal } for pid=15124 comm="mount.nfs4" scontext=system_u:system_r:rpcd_t:s0 tcontext=unconfined_u:system_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=process type=AVC msg=audit(1239046413.275:335): avc: denied { signal } for pid=7936 comm="nautilus" scontext=system_u:system_r:rpcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process type=AVC msg=audit(1239046835.121:25): avc: denied { signal } for pid=3778 comm="bash" scontext=system_u:system_r:rpcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=process
What process is running as unconfined_execmem_t? ps -eZ | grep unconfined_execmem_t
My terminal is running as unconfined_exemem_t (and therefore also bash). That, I guess, is because compiz is running as unconfined_execmem and I start my terminals with a WM hotkey. compiz is running as unconfined_execmem_t due to AVCs raised by nvidia’s GL lib.
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.6.11-2.fc11.noarch