Bug 566349

Summary: SELinux is preventing /sbin/portreserve "search" access on vmis.elz49l.
Product: [Fedora] Fedora Reporter: Harley Goode <harley.goode>
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, matt.castelein, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1278b00f89e53e1ba0dfcf11fb3e4ab00fc29861cb63d62a28297aa686e375a0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-18 13:49:49 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 Harley Goode 2010-02-18 03:36:11 UTC
Summary:

SELinux is preventing /sbin/portreserve "search" access on vmis.elz49l.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

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                unconfined_u:object_r:user_tmp_t:s0
Target Objects                vmis.elz49l [ dir ]
Source                        portrelease
Source Path                   /sbin/portreserve
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           portreserve-0.0.4-3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-84.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.19.fc12.i686.PAE #1 SMP Thu Feb 11
                              07:22:55 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Wed 17 Feb 2010 01:30:04 PM EST
Last Seen                     Wed 17 Feb 2010 01:30:04 PM EST
Local ID                      aa95adba-38c7-4706-9c56-799e98d29479
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1266431404.945:23): avc:  denied  { search } for  pid=3007 comm="portrelease" name="vmis.elz49l" dev=dm-0 ino=264331 scontext=unconfined_u:system_r:portreserve_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1266431404.945:23): arch=40000003 syscall=5 success=no exit=-2 a0=bfa49600 a1=0 a2=0 a3=1 items=0 ppid=2999 pid=3007 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,user_tmp_t,dir,search
audit2allow suggests:

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

Comment 1 Daniel Walsh 2010-02-18 13:49:49 UTC

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