Bug 564007 - SELinux is preventing /usr/sbin/afsd "read write open" access.
Summary: SELinux is preventing /usr/sbin/afsd "read write open" access.
Keywords:
Status: CLOSED DUPLICATE of bug 578566
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:801d0a385df...
: 578586 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-11 17:23 UTC by Daniel Scott
Modified: 2010-04-13 08:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-13 08:16:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Scott 2010-02-11 17:23:25 UTC
Summary:

SELinux is preventing /usr/sbin/afsd "read write open" access.

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                system_u:system_r:afs_t:s0
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                 [ 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-82.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 11 Feb 2010 12:09:42 PM EST
Last Seen                     Thu 11 Feb 2010 12:09:42 PM EST
Local ID                      d636d79d-b3df-4f1f-abfe-4dd084d52c13
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265908182.97:15): avc:  denied  { read write open } for  pid=2032 comm="afsd" name="" dev=dm-0 ino=1048580 scontext=system_u:system_r:afs_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1265908182.97:15): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=40084301 a2=7fff3ddb9a80 a3=7fd22a5e89d0 items=0 ppid=2031 pid=2032 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="afsd" exe="/usr/sbin/afsd" subj=system_u:system_r:afs_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-82.fc12,catchall,afsd,afs_t,unlabeled_t,file,read,write,open
audit2allow suggests:

#============= afs_t ==============
#!!!! The source type 'afs_t' can write to a 'file' of the following types:
# afs_cache_t, proc_afs_t, etc_runtime_t, root_t

allow afs_t unlabeled_t:file { read write open };

Comment 1 Daniel Walsh 2010-02-11 17:38:10 UTC

*** This bug has been marked as a duplicate of bug 564006 ***

Comment 2 Daniel Walsh 2010-02-11 17:40:51 UTC
The kernel might be confused about a mount point.  It probaly should be labeled nfs_t.

Comment 3 Daniel Walsh 2010-03-31 19:22:00 UTC
*** Bug 578586 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2010-04-13 08:16:52 UTC

*** This bug has been marked as a duplicate of bug 578566 ***


Note You need to log in before you can comment on or make changes to this bug.