Red Hat Bugzilla – Bug 174676
hwclock audit return code mismatch
Last modified: 2007-11-30 17:11:18 EST
I just upgraded to all current devel packages, including
Have selinux disabled.
When I shut down, I see this:
Syncing hardware clock to system time audit (#.#:#): user pid=# uid=0 auid=#
msg='changing system time: exe="/sbin/hwclock" (hostname=?, addr=?,
Something appears to be not working here.
Hmm, I believe I have selinux disabled, so it's not obvious to me how this
could be a bug in selinux-policy-targeted.
Or is selinux turned back on, even if it was previously disabled, as part of
the shutdown process?
The message is from audit system and not from selinux. I think there is a bug in
the hwclock command that reports incorrect return code to audit subsystem (audit
interprets 0=failed, but in hwclock 0=succes and 1=error :-).
I'll fix it in a next update. Thanks for your report.
*** Bug 175466 has been marked as a duplicate of this bug. ***
Fixed. Update to util-linux >= 2.13-0.13.