Bug 573001

Summary: SELinux is preventing /usr/sbin/afsd "read" access on current.
Product: [Fedora] Fedora Reporter: Daniel Scott <dan>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:8bcbb5d6addaa905f9d887f6e436a7462a7fb0d6e642155d397683433330a3ac
Fixed In Version: selinux-policy-3.6.32-113.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-03 16:08:22 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 Daniel Scott 2010-03-12 15:21:39 UTC
Summary:

SELinux is preventing /usr/sbin/afsd "read" access on current.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by afsd. It is not expected that this access is
required by afsd and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:afs_t:s0
Target Context                system_u:object_r:nfs_t:s0
Target Objects                current [ lnk_file ]
Source                        afsd
Source Path                   /usr/sbin/afsd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           openafs-client-1.4.11-10.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-92.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.9-70.fc12.x86_64 #1
                              SMP Wed Mar 3 04:40:41 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 12 Mar 2010 10:20:44 AM EST
Last Seen                     Fri 12 Mar 2010 10:20:44 AM EST
Local ID                      a1716228-8518-4939-a938-5897081b4689
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268407244.64:37629): avc:  denied  { read } for  pid=28604 comm="afsd" name="current" dev=afs ino=12018588 scontext=unconfined_u:system_r:afs_t:s0 tcontext=system_u:object_r:nfs_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1268407244.64:37629): arch=c000003e syscall=2 success=no exit=-2 a0=7fff72412670 a1=0 a2=0 a3=402f626466772f65 items=0 ppid=28591 pid=28604 auid=768 uid=768 gid=1002 euid=768 suid=768 fsuid=768 egid=1002 sgid=1002 fsgid=1002 tty=pts7 ses=1 comm="afsd" exe="/usr/sbin/afsd" subj=unconfined_u:system_r:afs_t:s0 key=(null)



Hash String generated from  catchall,afsd,afs_t,nfs_t,lnk_file,read
audit2allow suggests:

#============= afs_t ==============
allow afs_t nfs_t:lnk_file read;

Comment 1 Daniel Walsh 2010-03-31 19:20:27 UTC
Miroslav add

fs_read_nfs_symlinks(afs_t)

Comment 2 Miroslav Grepl 2010-04-13 12:21:29 UTC
Fixed in selinux-policy-3.6.32-111.fc12

Comment 3 Fedora Update System 2010-04-23 12:43:41 UTC
selinux-policy-3.6.32-113.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12

Comment 4 Fedora Update System 2010-04-27 02:22:18 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12

Comment 5 Fedora Update System 2010-05-03 16:06:21 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.