Bug 441093

Summary: kdump init script - ldconfig cannot read tmp file
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jkubin
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: 2008-04-06 10:37:26 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 2008-04-06 03:45:29 UTC
Description of problem:

avc:  denied  { read } for  pid=2629 comm=
"ldconfig" name="tmp.EBPIQcQ7aW" dev=tmpfs ino=7595 scontext=system_u:system_
r:ldconfig_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file

The above is generated when the kdump init script must generate a new initrd
image at boot.

Comment 1 Daniel Walsh 2008-04-06 10:37:26 UTC
You can allow this for now by executing 

# audit2allow -M mypol -i /var/log/audit/audit.log 
# semodule -i mypol.pp

Fixed in selinux-policy-3.3.1-29.fc9