Bug 543805 - SELinux is preventing /bin/df "getattr" access on /var/lib/nfs/rpc_pipefs.
Summary: SELinux is preventing /bin/df "getattr" access on /var/lib/nfs/rpc_pipefs.
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:26d5ee74a30...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-03 06:58 UTC by rizal
Modified: 2023-09-14 01:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-03 12:43:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description rizal 2009-12-03 06:58:15 UTC
Summary:

SELinux is preventing /bin/df "getattr" access on /var/lib/nfs/rpc_pipefs.

Detailed Description:

[df has a permissive type (mrtg_t). This access was not denied.]

SELinux denied access requested by df. It is not expected that this access is
required by df 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) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:mrtg_t:s0-s0:c0.c1023
Target Context                system_u:object_r:rpc_pipefs_t:s0
Target Objects                /var/lib/nfs/rpc_pipefs [ filesystem ]
Source                        df
Source Path                   /bin/df
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           coreutils-7.6-7.fc12
Target RPM Packages           nfs-utils-1.2.1-1.fc12
Policy RPM                    selinux-policy-3.6.32-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-145.fc12.i686.PAE #1 SMP Sat
                              Nov 21 16:12:37 EST 2009 i686 i686
Alert Count                   4
First Seen                    Thu 03 Dec 2009 02:40:01 PM MYT
Last Seen                     Thu 03 Dec 2009 02:55:02 PM MYT
Local ID                      896cb6aa-98cb-4cf6-96ba-3e63a02d2df0
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259823302.372:24078): avc:  denied  { getattr } for  pid=3605 comm="df" name="/" dev=rpc_pipefs ino=10634 scontext=system_u:system_r:mrtg_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpc_pipefs_t:s0 tclass=filesystem

node=(removed) type=SYSCALL msg=audit(1259823302.372:24078): arch=40000003 syscall=268 success=yes exit=0 a0=8d43428 a1=54 a2=bf9dc63c a3=bf9dcefc items=0 ppid=3604 pid=3605 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=28 comm="df" exe="/bin/df" subj=system_u:system_r:mrtg_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,df,mrtg_t,rpc_pipefs_t,filesystem,getattr
audit2allow suggests:

#============= mrtg_t ==============
allow mrtg_t rpc_pipefs_t:filesystem getattr;

Comment 1 Daniel Walsh 2009-12-23 17:29:33 UTC
Are you still seeing this?

Bugzilla got lost.

Comment 2 Bug Zapper 2010-11-04 04:30:20 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Red Hat Bugzilla 2023-09-14 01:18:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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