avc denied about hwclock.

Ivan Gyurdiev ivg2 at cornell.edu
Wed Jun 29 09:34:09 UTC 2005


On Wed, 2005-06-29 at 05:41 -0300, Vinicius wrote:
> Hello,
> 
> I'm getting the following on FC4:
> "audit(1119989359.942:2): avc:  denied  { read } for  pid=1427 
> comm="hwclock" name=localtime dev=dm-0 ino=1502961 scontext=s
> ystem_u:system_r:hwclock_t tcontext=root:object_r:etc_t tclass=file
> audit(1119989359.942:3): avc:  denied  { read } for  pid=1427 
> comm="hwclock" name=localtime dev=dm-0 ino=1502961 scontext=s
> ystem_u:system_r:hwclock_t tcontext=root:object_r:etc_t tclass=file"
> 
> How to resolve this problem, please?

The file is incorrectly labeled for some reason.
Do: restorecon /etc/localtime as root.
The type should be locale_t 

-- 
Ivan Gyurdiev <ivg2 at cornell.edu>
Cornell University




More information about the fedora-selinux-list mailing list