Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 590248 - SELinux is preventing /usr/bin/man "getattr" access on /usr/local/share/man.
Summary: SELinux is preventing /usr/bin/man "getattr" access on /usr/local/share/man.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:ad72180835f...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-08 10:57 UTC by kunal
Modified: 2010-05-10 07:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-10 07:53:41 UTC
Type: ---

Attachments (Terms of Use)

Description kunal 2010-05-08 10:57:31 UTC

SELinux is preventing /usr/bin/man "getattr" access on /usr/local/share/man.

Detailed Description:

SELinux denied access requested by manpath. It is not expected that this access
is required by manpath 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

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:man_t:s0
Target Objects                /usr/local/share/man [ dir ]
Source                        manpath
Source Path                   /usr/bin/man
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           man-1.6f-22.fc12
Target RPM Packages           filesystem-2.4.30-2.fc12
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Sat Nov 7
                              21:25:57 EST 2009 i686 i686
Alert Count                   118
First Seen                    Sat 06 Mar 2010 03:49:11 PM IST
Last Seen                     Thu 06 May 2010 12:41:54 PM IST
Local ID                      a3e8180b-c63e-4718-8dd5-b5a97bedb57c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273129914.743:12): avc:  denied  { getattr } for  pid=1409 comm="manpath" path="/usr/local/share/man" dev=sda3 ino=40964 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:man_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1273129914.743:12): arch=40000003 syscall=195 success=no exit=-13 a0=90b81b4 a1=bfc25cec a2=5bbff4 a3=3 items=0 ppid=1408 pid=1409 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="manpath" exe="/usr/bin/man" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,manpath,xdm_t,man_t,dir,getattr
audit2allow suggests:

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

allow xdm_t man_t:dir getattr;

Comment 1 Miroslav Grepl 2010-05-10 07:53:41 UTC
#============= xdm_t ==============
#!!!! This avc is allowed in the current policy

allow xdm_t man_t:dir getattr;  

Please run:

yum update

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