Bug 553363

Summary: SELinux is preventing rpc.statd (rpcd_t) "write" automount_t.
Product: [Fedora] Fedora Reporter: Przemek Klosowski <przemek>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:a6fc48400f3abf0b98e4016a6fc289f13e76a89ad8757a53d46731dcdd9cf549
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-07 18:41:42 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 Przemek Klosowski 2010-01-07 18:18:43 UTC
Summary:

SELinux is preventing rpc.statd (rpcd_t) "write" automount_t.

Detailed Description:

[rpc.statd has a permissive type (rpcd_t). This access was not denied.]

SELinux denied access requested by rpc.statd. It is not expected that this
access is required by rpc.statd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:rpcd_t:s0
Target Context                system_u:system_r:automount_t:s0
Target Objects                pipe [ fifo_file ]
Source                        rpc.statd
Source Path                   /sbin/rpc.statd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nfs-utils-1.2.0-6.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-86.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.30.9-90.fc11.i686.PAE #1 SMP Sat Oct 17
                              11:24:32 EDT 2009 i686 i686
Alert Count                   12
First Seen                    Wed 08 Jul 2009 01:19:25 PM EDT
Last Seen                     Tue 10 Nov 2009 12:30:09 PM EST
Local ID                      fd2834d7-1fd9-4699-9687-1c36ee9d0ec3
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257874209.114:223): avc:  denied  { write } for  pid=13857 comm="rpc.statd" path="pipe:[1626732]" dev=pipefs ino=1626732 scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:system_r:automount_t:s0 tclass=fifo_file

node=(removed) type=AVC msg=audit(1257874209.114:223): avc:  denied  { write } for  pid=13857 comm="rpc.statd" path="pipe:[1626732]" dev=pipefs ino=1626732 scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:system_r:automount_t:s0 tclass=fifo_file

node=(removed) type=SYSCALL msg=audit(1257874209.114:223): arch=40000003 syscall=11 success=yes exit=0 a0=83048d8 a1=8304760 a2=8304900 a3=8304760 items=0 ppid=13855 pid=13857 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="rpc.statd" exe="/sbin/rpc.statd" subj=system_u:system_r:rpcd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-86.fc11,catchall,rpc.statd,rpcd_t,automount_t,fifo_file,write
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2010-01-07 18:41:42 UTC

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