Bug 562450

Summary: SELinux is preventing rpc.statd (rpcd_t) "write" crond_t.
Product: [Fedora] Fedora Reporter: ceechef1
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:e293dc6f6bb63173c6d0963358aaad5ccead7948df8c249926e0ee6e58c3fff7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-08 08:51:28 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 ceechef1 2010-02-06 19:50:49 UTC
Summary:

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

Detailed Description:

[rpc.idmapd 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                unconfined_u:system_r:rpcd_t:s0
Target Context                system_u:system_r:crond_t:s0-s0:c0.c1023
Target Objects                pipe [ fifo_file ]
Source                        rpc.idmapd
Source Path                   /usr/sbin/rpc.idmapd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nfs-utils-1.2.0-3.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-62.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.29.5-191.fc11.i586 #1 SMP Tue
                              Jun 16 23:11:39 EDT 2009 i686 i686
Alert Count                   2
First Seen                    Tue 21 Jul 2009 01:07:18 AM EDT
Last Seen                     Tue 21 Jul 2009 01:07:19 AM EDT
Local ID                      68e4c96b-715e-4d6b-9c76-e54078e27ee3
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1248152839.546:105): avc:  denied  { write } for  pid=6682 comm="rpc.statd" path="pipe:[34098]" dev=pipefs ino=34098 scontext=unconfined_u:system_r:rpcd_t:s0 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file

node=(removed) type=SYSCALL msg=audit(1248152839.546:105): arch=40000003 syscall=11 success=yes exit=0 a0=8861b40 a1=8862028 a2=8862528 a3=8862028 items=0 ppid=6681 pid=6682 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=14 comm="rpc.statd" exe="/sbin/rpc.statd" subj=unconfined_u:system_r:rpcd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-62.fc11,catchall,rpc.idmapd,rpcd_t,crond_t,fifo_file,write
audit2allow suggests:

#============= rpcd_t ==============
#!!!! This avc is allowed in the current policy

allow rpcd_t crond_t:fifo_file write;

Comment 1 Miroslav Grepl 2010-02-08 08:51:28 UTC

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