avc denied about hwclock.

Daniel J Walsh dwalsh at redhat.com
Tue Jul 5 02:07:33 UTC 2005


Vinicius wrote:

> Vinicius escreveu:
>
>> 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.
>>
>
> instead of "daylight time savings", I mean "summer time" (I think).
>
> Bad translation, sorry :-(.
>
We call it "Daylight Savings Time"
Simple fix to the script would be to add restorecon /etc/localtime in 
the script to correct the file context.


> Vinicius.
>
> -- 
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-selinux-list



-- 





More information about the selinux mailing list