Re: [bitfolk] Clock adjustment large on reboot

Top Page

Reply to this message
Author: Alastair Sherringham
Date:  
To: users
Subject: Re: [bitfolk] Clock adjustment large on reboot
2010/1/21 Andy Smith <andy@???>

> On Thu, Jan 21, 2010 at 04:14:13PM +0000, Alastair Sherringham wrote:
> > Thanks Nigel. Note - ntpdate is happy to adjust this - but dovecot
> > thinks this is bad and kills itself to prevent problems (
> > http://wiki.dovecot.org/TimeMovedBackwards).
> >
> > This large time delta on boot is a big change from Debian Etch.
>
> I'm sorry, I don't know why the host comes up with a large time
> delta. I'll ask upstream and see if I can find out. On a normal
> physical machine the host would take its system time from the
> hardware clock, and most distributions set the hardware clock from
> the system time when they shut down.
>
>

Andy,

Looks like this has been a problem in the past. Digging briefly
(first/second hit) pinted me to a Debian bug + patch :

Bug#517808: dovecot-common: please call ntp-wait before starting Dovecot
http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg218224.html

Fixed in dovecot-common 1.1.11-3 (Squeeze/Backports). A patch to the init
script to do an ntp-wait.

I'll sort something out. Maybe use the backport repo.

Cheers,



--
Alastair Sherringham