From: Charles Trois <charles.trois@wanadoo.fr>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] system clock keeps getting reset to weird times
Date: Wed, 23 Nov 2005 19:11:24 +0100 [thread overview]
Message-ID: <4384B0CC.5020403@wanadoo.fr> (raw)
In-Reply-To: <200511212256.18057.benno.schulenberg@gmail.com>
Benno Schulenberg a écrit :
> Charles Trois wrote:
>
>>The legal time, here in France and at this (winter) period, is
>>GMT + 1, as shown correctly by the clock of my iMac, but "date"
>>keeps returning GMT + 2.
>
>
> Sounds like your harware clock is running at local time. What does
> 'hwclock --show --debug' say? Look for the line saying "Time read
> from Hardware Clock:".
>
> If the hardware clock is really set at UTC, do you maybe have TZ
> set? 'echo $TZ'. If it is, then unset it: 'unset TZ', and then
> see if date and hwclock operate correctly. And also check that the
> symlink /etc/localtime points at the correct zone.
>
> Benno
Here are the results:
~ # hwclock --show --debug
hwclock from util-linux-2.12i
Using /dev/rtc interface to clock.
...
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...
Time read from Hardware Clock: 2005/11/23 19:04:14
Hw clock time : 2005/11/23 19:04:14 = 1132769054 seconds since 1969
Wed Nov 23 19:04:14 2005 -0.188934 seconds
~ # ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Nov 22 20:39 /etc/localtime ->
/usr/share/zoneinfo/Europe/Paris
and in /etc/conf.d/clock:
CLOCK="local"
echo $TZ returns nothing, so TZ is presumably not set.
All that seems correct to me, and yet the time returned by "date" is
still one hour fast.
What else can I check?
Charles
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-23 18:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 18:30 [gentoo-user] system clock keeps getting reset to weird times Robert Persson
2005-11-18 18:41 ` Arturo 'Buanzo' Busleiman
2005-11-18 22:14 ` Benno Schulenberg
2005-11-18 22:57 ` Richard Fish
2005-11-19 0:39 ` John J. Foster
2005-11-21 9:03 ` Charles Trois
2005-11-21 11:36 ` Stephen Micheals
2005-11-21 14:55 ` Richard Fish
2005-11-21 21:56 ` Benno Schulenberg
2005-11-23 18:11 ` Charles Trois [this message]
2005-11-24 22:48 ` Benno Schulenberg
2005-11-25 9:03 ` stuart
2005-11-22 4:25 ` Robert Persson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4384B0CC.5020403@wanadoo.fr \
--to=charles.trois@wanadoo.fr \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox