Re: hwclock and audit system

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

 



On Mon, 1 Aug 2005, Robert Locke wrote:

On Fri, 2005-07-29 at 23:39 +0200, Alexander Dalloz wrote:
Am Fr, den 29.07.2005 schrieb Berna Massingill um 21:53:

>> hwclock --show | cat
>>
>> Does that help?

It did for me (newly-installed FC4 system on Dell Dimension,
hwclock from util-linux-2.12p-9.5).

I notice also that:

(*) hwclock produces output if run from one of the virtual text
consoles, but not if run from an xterm (unless piped to another
command, as you describe above).

(*) /sbin/hwclock does not produce output, but if I copy /sbin/hwclock
to, say, /root/hwclock, /root/hwclock produces output.

(*) If run as /sbin/hwclock, strace output indicates that the program
makes a call to ioctl, which works in a text console but not in an
xterm.  If run as /root/hwclock, it doesn't make that call, and all
is well.

Interesting. Maybe one of the SELinux gurus is willing to jump in an
enlighten us mortals.


Just an FYI, but the selinux-policy-targeted package from
updates-testing fixed this hwclock problem for me....

* Thu Jul 28 2005 Dan Walsh <dwalsh@xxxxxxxxxx> 1.25.3-9
- Bump for FC4

* Thu Jul 28 2005 Dan Walsh <dwalsh@xxxxxxxxxx> 1.25.3-8
- Fixes for cups, hwclock, system_passwd, samba_net

Now "hwclock --show | cat" works, but "hwclock --show" does not (in a gterm and after "su").


--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux