Bug 722368

Summary: SELinux is preventing /usr/sbin/rpc.svcgssd from search access on the directory /proc/fs/nfsd
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.9.16-35.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-02 02:04:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anthony Messina 2011-07-15 03:04:53 UTC
The updated version of nfs-utils in F15 needs additional access to support krb5 encryption type checking.  See bug #719776.


Raw Audit Messages
type=AVC msg=audit(1310698373.843:22213): avc:  denied  { search } for  pid=16305 comm="rpc.svcgssd" name="/" dev=nfsd ino=1 scontext=system_u:system_r:gssd_t:s0 tcontext=system_u:object_r:nfsd_fs_t:s0 tclass=dir


type=SYSCALL msg=audit(1310698373.843:22213): arch=x86_64 syscall=open success=no exit=ENOENT a0=7f73f325a920 a1=0 a2=1b6 a3=9 items=0 ppid=1 pid=16305 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rpc.svcgssd exe=/usr/sbin/rpc.svcgssd subj=system_u:system_r:gssd_t:s0 key=(null)

Hash: rpc.svcgssd,gssd_t,nfsd_fs_t,dir,search

audit2allow

#============= gssd_t ==============
allow gssd_t nfsd_fs_t:dir search;

audit2allow -R

#============= gssd_t ==============
allow gssd_t nfsd_fs_t:dir search;

Comment 1 Miroslav Grepl 2011-07-19 11:31:20 UTC
Fixed in selinux-policy-3.9.16-35.fc15

Comment 2 Fedora Update System 2011-07-21 06:01:51 UTC
selinux-policy-3.9.16-35.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15

Comment 3 Fedora Update System 2011-07-23 01:55:05 UTC
Package selinux-policy-3.9.16-35.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-35.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-35.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-08-02 02:03:33 UTC
selinux-policy-3.9.16-35.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.