Bug 21187
Summary: | hwclock is never called on shutdown | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <hag> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Dale Lovelace <dale> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.1 | CC: | chris, dr, pekkas, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-11-22 16:53:39 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Need Real Name
2000-11-21 16:33:10 UTC
Still there in RHL7 too. I've gotten around with this by creating a /etc/cron.daily/set-clock script which writes down the time every day. Works when your system crashes too ;-) Seems more of an initscripts than util-linux problem. Will be fixed in initscripts-5.53-1; thanks for the report! However, the fix currently in RawHide (initscripts-5.54-1) seems to be wrong: it doesn't take account of the setting of UTC and ARC in /etc/sysconfig/clock. Presumably it ought either to call /usr/sbin/setclock instead, or have some extra code (analogous to that in /etc/rc.d/rc.sysinit) to take account of those settings? Yep, that got fixed a couple of builds later. :) Great. Very minor, picky nit, but presumably $CLOCKDEF was meant to be used in the descriptive string when doing the "runcmd ... /sbin/hwclock"? While we're on the subject (even more minor, pickier nit!), there's an extra space which probably wasn't intended in the corresponding place in /etc/rc.d/rc.sysinit. Patch attached to fix both. Created attachment 13704 [details]
Minor cosmetic fixes when setting system and hardware clocks
|