Bug 750244

Summary: RFE: reflect that 'date' no longer sets the hardware clock
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: coreutilsAssignee: Pádraig Brady <p>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kdudka, maxamillion, mschmidt, ovasik, p, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-02 07:48:46 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Kamil Páral 2011-10-31 09:01:55 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):
coreutils-8.12-2.fc16.i686

How reproducible:
see #749516
Comment 1 Pádraig Brady 2011-10-31 09:14:54 EDT
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.
Comment 2 Ondrej Vasik 2011-10-31 09:25:13 EDT
Thanks Pádraig.
Comment 3 Pádraig Brady 2011-11-02 07:48:46 EDT
I've applied this upstream http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=51286059