Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2944 - Hardware Clock not set on shutdown
Summary: Hardware Clock not set on shutdown
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 00:29 UTC by Larry Ash
Modified: 2016-07-21 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Ash 2002-05-23 00:29:41 UTC
"/etc/init.d/clock stop" is not called so the hardware clock is not updated
with changes to time/date on shutdown.

It is unclear if /etc/runlevels/shutdown, if it existed, would be called with
a "stop" or "start" argument. 

I'm adding "/etc/init.d/clock stop" to /etc/init.d/halt.sh for now.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-24 15:18:45 UTC
What version baselayout you on ?
Comment 2 Larry Ash 2002-05-24 16:21:41 UTC
genie root # epm -qa | grep baselay
baselayout-1.7.7
baselayout-1.7.9-r1

Note: I have loaded gentoo on two machines in the last week. On one I didn't
see this. The second one I did. (dates of 1999 after reboot). I ran clock stop
manually and all was OK, so I submitted the bug report. I later noticed that
my other machine seemed to set the clock on the way out ok so I may have had
some other factor causing the original problem.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-27 12:33:47 UTC
Hmm .. tar.gz the stuff in /mnt/.init.d/ , /etc/runlevels/ and /etc/init.d/
and mail them to me (broken box).  Ill have a look and see if i can figure
out why it is not stopping properly.

Also maybe unmerge older baselayout ... just remerge latest first to make
sure that 1.7.7 is not accidentally lastly merged.