Bug 585962 - SELinux is preventing /sbin/portreserve "search" access on /usr/share/man.
Summary: SELinux is preventing /sbin/portreserve "search" access on /usr/share/man.
Keywords:
Status: CLOSED DUPLICATE of bug 585960
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:218cb2a7595...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-26 14:29 UTC by saboormahar55
Modified: 2010-04-26 15:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-26 15:26:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description saboormahar55 2010-04-26 14:29:53 UTC
Summary:

SELinux is preventing /sbin/portreserve "search" access on /usr/share/man.

Detailed Description:

SELinux denied access requested by portrelease. It is not expected that this
access is required by portrelease 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                unconfined_u:system_r:portreserve_t:s0
Target Context                system_u:object_r:man_t:s0
Target Objects                /usr/share/man [ dir ]
Source                        portrelease
Source Path                   /sbin/portreserve
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           portreserve-0.0.4-3.fc12
Target RPM Packages           filesystem-2.4.30-2.fc12
Policy RPM                    selinux-policy-3.6.32-106.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux dec.edu.pk 2.6.32.10-90.fc12.i686.PAE #1 SMP
                              Tue Mar 23 10:04:28 UTC 2010 i686 i686
Alert Count                   46
First Seen                    Mon 26 Apr 2010 05:01:20 PM PKT
Last Seen                     Mon 26 Apr 2010 05:01:20 PM PKT
Local ID                      76f9bd78-edfb-4c9d-b4d3-ed39c8dfebfb
Line Numbers                  

Raw Audit Messages            

node=dec.edu.pk type=AVC msg=audit(1272283280.656:23464): avc:  denied  { search } for  pid=6564 comm="portrelease" name="man" dev=dm-0 ino=8197 scontext=unconfined_u:system_r:portreserve_t:s0 tcontext=system_u:object_r:man_t:s0 tclass=dir

node=dec.edu.pk type=SYSCALL msg=audit(1272283280.656:23464): arch=40000003 syscall=195 success=no exit=-13 a0=bfe994e0 a1=bfe99550 a2=48ffc4 a3=8 items=0 ppid=6554 pid=6564 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="portrelease" exe="/sbin/portreserve" subj=unconfined_u:system_r:portreserve_t:s0 key=(null)



Hash String generated from  catchall,portrelease,portreserve_t,man_t,dir,search
audit2allow suggests:

#============= portreserve_t ==============
allow portreserve_t man_t:dir search;

Comment 1 Daniel Walsh 2010-04-26 15:26:26 UTC

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


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