Bug 509006

Summary: denied execmod for gpg inside EL4 mock
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-25 21:13:02 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 Orion Poplawski 2009-06-30 20:21:11 UTC
Description of problem:

gpg fails to run inside a EL4 mock chroot (building a kernel) with:

type=1400 audit(1246392854.984:4): avc:  denied  { execmod } for  pid=31749 comm="gpg" path="/usr/bin/gpg" dev=xvda1 ino=667610 scontext=unconfined_u:system_r:unconfined_notrans_t:s0 tcontext=system_u:object_r:gpg_exec_t:s0 tclass=file

Not sure if mock/selinux really play nice together, but this is my first real failure in a long time.

Version-Release number of selected component (if applicable):
selinux-policy-3.5.13-58.fc10.noarch

Comment 1 Daniel Walsh 2009-08-21 21:38:29 UTC
No idea what caused this, have you seen it again?

Comment 2 Orion Poplawski 2009-08-25 21:13:02 UTC
I've since moved my mock builder to F11 and cannot reproduce.