avc denied about hwclock.

Vinicius cviniciusm at terra.com.br
Thu Jun 30 00:04:23 UTC 2005


Daniel J Walsh escreveu:
> 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?
> 
> 
> restorecon /etc/localtime
> 
> Any idea how this file is getting created?
> 
> 
>>
>>
>> TIA,
>>
>> Vinicius.
>>

through the program *zic*, we can create a file that contains time zone 
information. The output of the zic is renamed to /etc/localtime. It's 
very useful on Brazil because of the daylight time savings.

I have the source information in brazilian portuguese if you wish.

Best regards,

Vinicius.




More information about the selinux mailing list