On Tue, 2011-07-19 at 10:53 +0100, Dave Howorth wrote:
Per Jessen wrote:
Roger Oberholtzer wrote:
On Tue, 2011-07-19 at 10:44 +0200, Per Jessen wrote:
Hmm, I think it's a system thing too - see /etc/localtime There are two possible usage scenarios:
1. The hardware is in UTC time, and there is a timezone specified that specifies how to report the local time from the UTC time.
Right.
2. The hardware is in localtime, and there is a timezone specified that specifies how this differs from UTC time.
No, I don't that is an option. It doesn't matter what UTC time when everything is in local time.
No! The kernel always runs in UTC. Or at least it thinks it does and all applications are designed assuming that it does. The hardware clock should preferably be in UTC but may need to be in localtime if the machine dual boots windows.
'preferably' yes (and in my case it is). But it is not a requirement. So it must be dealt with.
If the hwclock is in localtime, then configuration needs to say what the hwclock offset is. http://linux.die.net/man/8/hwclock
On openSUSE, it is determined by HWCLOCK, which is in /etc/sysconfig/clock.
The hardware of the machine exists in some time zone and /etc/localtime records the timezone of the physical machine.
Each user can then set their own timezone offset from UTC, if it differs from the machine's.
A common newbie error is to have the hwclock in localtime, fail to configure the offset (thus defaulting to zero) and everything appears to work. Then a user explicitly sets their timezone and everything goes crazy.
Not the case here. Although the case is still undecided... Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org