Bug 883371

Summary: SELinux is preventing /usr/sbin/condor_preen from 'remove_name' accesses on the directory RsYv68qp.
Product: [Fedora] Fedora Reporter: Matthew Farrellee <matt>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:291f2ecf7c61916cb5ffb3ae425801c27a82d215c5bb5ade5e829662c7933b79
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 13:40:50 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:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Matthew Farrellee 2012-12-04 12:32:01 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.7-4.fc17.x86_64

description:
:SELinux is preventing /usr/sbin/condor_preen from 'remove_name' accesses on the directory RsYv68qp.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that condor_preen should be allowed remove_name access on the RsYv68qp directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep condor_preen /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:condor_master_t:s0
:Target Context                system_u:object_r:tmp_t:s0
:Target Objects                RsYv68qp [ dir ]
:Source                        condor_preen
:Source Path                   /usr/sbin/condor_preen
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           mailx-12.5-6.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov
:                              20 19:40:01 UTC 2012 x86_64 x86_64
:Alert Count                   113
:First Seen                    2012-12-01 10:35:49 EST
:Last Seen                     2012-12-04 07:21:16 EST
:Local ID                      6bdb2486-e7ae-4b64-9358-90513163746c
:
:Raw Audit Messages
:type=AVC msg=audit(1354623676.120:2976): avc:  denied  { remove_name } for  pid=25220 comm="mail" name="RsYv68qp" dev="dm-2" ino=5139 scontext=system_u:system_r:condor_master_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1354623676.120:2976): avc:  denied  { unlink } for  pid=25220 comm="mail" name="RsYv68qp" dev="dm-2" ino=5139 scontext=system_u:system_r:condor_master_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1354623676.120:2976): arch=x86_64 syscall=unlink success=yes exit=0 a0=8fc410 a1=2 a2=1 a3=30 items=0 ppid=2867 pid=25220 auid=4294967295 uid=992 gid=989 euid=992 suid=992 fsuid=992 egid=989 sgid=989 fsgid=989 tty=(none) ses=4294967295 comm=mail exe=/usr/bin/mailx subj=system_u:system_r:condor_master_t:s0 key=(null)
:
:Hash: condor_preen,condor_master_t,tmp_t,dir,remove_name
:
:audit2allow
:
:#============= condor_master_t ==============
:allow condor_master_t tmp_t:dir remove_name;
:allow condor_master_t tmp_t:file unlink;
:
:audit2allow -R
:
:#============= condor_master_t ==============
:allow condor_master_t tmp_t:dir remove_name;
:allow condor_master_t tmp_t:file unlink;
:

Comment 1 Matthew Farrellee 2012-12-04 12:32:04 UTC
Created attachment 657470 [details]
File: type

Comment 2 Matthew Farrellee 2012-12-04 12:32:07 UTC
Created attachment 657471 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-04 13:40:50 UTC

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