Bug 132233

Summary: avc denied for exe=/sbin/minilogd during boot initscripts
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-15 17:09:45 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
avc denied lines from /var/log/messages during boot none

Description John Reiser 2004-09-10 02:26:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040809

Description of problem:
During boot to multiuser runlevel 5 with targeted permissive policy,
the minilogd program still reports three denied avc for various log
manipulations.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-1.17.11-2

How reproducible:
Always

Steps to Reproduce:
1. boot to mulituser runlevel 5 with targeted permissive selinux policy.
2.
3.
    

Actual Results:  /var/log/messages has three complaints of avc denied
for minilogd.  (A file containing the messages will be attached.)

Expected Results:  No complaints.

Additional info:

initscripts-7.78-2

Comment 1 John Reiser 2004-09-10 02:27:39 UTC
Created attachment 103667 [details]
avc denied lines from /var/log/messages during boot

Comment 2 Daniel Walsh 2004-09-10 18:44:32 UTC
The problem is the /dev/log has the wrong security context on it.

Are you running with /dev/ on tmpfs_t?

Do a restorecon /dev/log and the problem should go away.

Comment 3 Daniel Walsh 2004-09-15 15:30:33 UTC
Is this still happening with the current policy?

Comment 4 John Reiser 2004-09-15 16:59:11 UTC
selinux-policy-targeted-1.17.12-1 is now OK: these lines are no longer
produced, in neither fc3t1 nor fc3t2pre (re0908.0).  I see no
complaints when booting the latest up2date of these two systems.