Re: avc denied about hwclock.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list



--


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux