[Dovecot] Time just moved backwards error even with ntpd
Gunter Ohrner
G.Ohrner at post.rwth-aachen.de
Sat Jan 19 17:51:34 EET 2008
Hi!
Am Samstag, 19. Januar 2008 schrieb Luigi Rosa:
> > How about first starting ntpd, forcing a time-update using ntpdate
> > even before starting ntpd, and delaying the dovecot start until after
> > the time has been adjusted?
> The problem is tha you cannot tell when the time is adjusted because
> it take some time to the ntp protocol to synchronize.
That's why I suggested to use ntpdate to force the correct time to be set
before ntpd even starts and the ntp init script returns.
Admittedly, this won't work if you have no network connectivity during
boot up, but if you have, this paticular problem is most likely solved.
ntpdate optionally can be given a timeout value and indicates success or
failure via its return code so that a calling script might initiate
appropriate measures.
Greetings,
Gunter
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
"You're dead," he said. Keli waited. She couldn't think of any suitable
reply. "I'm not" lacked a certain style, while "Is it serious?" seemed
somehow too frivolous. -- Princess Keli in trouble
(Terry Pratchett, Mort)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ PGP-verschlüsselte Mails bevorzugt! +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20080119/06780553/attachment.bin
More information about the dovecot
mailing list