Red Hat Bugzilla – Bug 750244
RFE: reflect that 'date' no longer sets the hardware clock
Last modified: 2011-11-02 07:48:46 EDT
Description of problem:
'date' command can no longer be used to set the hardware clock. It was never its true purpose, but it was a consequence and many system administrators rely on 'date' setting the hardware clock. From Fedora 16 that is no longer true, see bug #749516.
Please make adjustments in coreutils 'date' to reflect this change. Proposed changes:
1. Adjust date's man page to clearly state that this command sets system time, but not hardware time, and reference 'hwclock' command for the latter purpose.
2. If you consider it helpful, add a new CLI option to set the system clock and hardware clock in the same command, by internally calling hwclock in the end.
I think at least the first option would be very beneficial to implement.
Version-Release number of selected component (if applicable):
I'll adjust the documentation upstream, to be compatible with old and new behaviors. I'm not going to change or add "hardware" functionality as I don't think that is date's function.
I've applied this upstream http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=51286059