Timezones.

Simon Griffiths simon.g at claycrossbs.co.uk
Fri May 4 10:52:11 BST 2001


Hi guys,

Timezones..... Could someone direct me to the relavent docs on how timezones
work in freebsd as I'm having some trouble with them currently.

Heres some background.  We use postfix here locally and last week I decided
it was time to re-install freebsd and create a nice new mail server that was
ready to be brought into production, previously it was a makeshift test/toy
server.  I had set the timezone at install to United Kingdom (BST) and said
that the cmos was not set to UTC.  Not really thinking about this mail then
arrived with a timestamp an hour later than the system clock, thinking a
Quick Fix[tm] would solve the problem I set the cmos to UTC and again the
timezone to BST and used ntpdate to sync up with a couple of uk based time
servers.  Now what we get is the following in the logs :-

May  4 09:40:00 mail CRON[13426]: (root) CMD (/usr/libexec/atrun)
May  4 10:40:27 mail cucipop[13428]: bill 192.3.6.100 0, 0 (0), 0 (0)

As you can see some things going through syslog have the correct time and
some show the reset utc time from the cmos.  Anyone get any thoughts on
this? I have had a look through the handbook but there doesnt seem to be any
reference to timezones and a quick search on www.freebsd.org only pulls up
two unrelated entries.

Thanks in advance,

--
Simon Griffiths
Systems Administrator - Clay Cross Building Society
Tel:+44(0)1246 862120 - Fax: +44(0)1246 250397





More information about the Ukfreebsd mailing list