Bug 439315 - rhgb avc on first boot.
Summary: rhgb avc on first boot.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-28 00:07 UTC by Dave Jones
Modified: 2015-01-04 22:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-21 20:17:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.