13 May
2008
13 May
'08
10:32 a.m.
On Tue, May 13, 2008 at 11:13:39AM +0400, Eugene wrote:
Hello,
I would like to suggest a change in handling of 'Time moved backwards' problem. Right now dovecot just dies. So, the scenario:
- Colocation server is shut down for some reason. The internal time drifts.
- Server is started again.
- Dovecot starts successfully.
- In about a minute, NTP daemon feels confident about adjusting the system time.
- Dovecot sees the changed time and dies.
- Admin has to notice that, login and restart Dovecot manually.
The admin should run ntpdate before launching ntpd and dovecot. ntpd will _never_ move time backwards under normal drifting conditions (it has other ways of coping with that).
-- Quentin Garnier - cube@cubidou.net - cube@NetBSD.org "See the look on my face from staying too long in one place [...] every time the morning breaks I know I'm closer to falling" KT Tunstall, Saving My Face, Drastic Fantastic, 2007.