Bug 439315

Summary: rhgb avc on first boot.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: dwalsh, pfrields
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-06-21 20:17: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:

Description Dave Jones 2008-03-28 00:07:23 UTC
on a freshly installed system, right after I boot I get a bunch of these during
boot..


type=AVC msg=audit(1206647818.617:8): avc:  denied  { read } for  pid=1422
comm="rhgb" name="keyboard" dev=dm-0 ino=3145747
scontext=system_u:system_r:rhgb_t:s0 tcontext=system_u:object_r:root_t:s0
tclass=file

Comment 1 Daniel Walsh 2008-03-28 09:41:37 UTC
This looks like a labeling problem.  The only file that should be labeled root_t
is the / directory. Is the file in question /etc/sysconfig/keyboard?
Are the other files in /etc/sysconfig labeled correctly?  

restorecon -R -v /etc/sysconfig

If the only file is keyboard then we just need to fix anaconda to label it
correctly 

You might need to relabel

touch /.autorelabel; reboot

I am transfering this bug to anaconda since something must have gone wrong
during the install.



Comment 2 Jeremy Katz 2008-03-28 14:04:28 UTC
Due to writing out keyboard stuff now before we lay down files and thus things
being incorrect.  Added /etc/sysconfig to our relabel list

Comment 3 Bug Zapper 2008-05-14 08:21:32 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping