[Pkg-sysvinit-devel] NTP bites dovecot

martin f krafft madduck at debian.org
Thu Jun 18 10:49:49 UTC 2009


also sprach Henrique de Moraes Holschuh <hmh at debian.org> [2009.06.18.0528 +0200]:
> If it is userspace that is doing it, it can be fixed by applying the
> proper adjustment to the RTC, hwclock can do it through /etc/adjtime.
> 
> See also package adjtimex.

You mean those approaches would not cause dovecot to die?

> As for running ntpdate/ntp -g (and whatever makes chrony step the
> clock backwads) outside of early boot is well into Don't Do That
> territory...

Debian and Ubuntu both do it, on resume as well as on if-up. I am
not sure this is still the case, but it certainly used to be.

> > And yes, it sucks to be stuck with sub-par hardware.
> 
> I can imagine.  But this really _is_ something we should be able
> to work around properly without moving system time backwards after
> early userspace.  That's why ntp has that driftfile thing, and why
> hwclock has /etc/adjtime, and why adjtimex exists.

So the suggestion is to slow down/speed up the clock gracefully
until the time is right, rather than jumping it?

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"i might disagree with what you have to say,
 but I'll defend to the death your right to say it."
                                                           -- voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20090618/ba9a7910/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list