[pkg-ntp-maintainers] Bug#680979: Bug#680979: ntpdate doesn't deal well with the future

Kurt Roeckx kurt at roeckx.be
Mon Jul 9 17:49:52 UTC 2012


On Fri, Aug 16, 2148 at 08:04:04PM -0400, Andreas Kloeckner wrote:
> Package: ntpdate
> Version: 1:4.2.6.p5+dfsg-2
> Severity: normal
> 
> Dear Maintainer,
> 
> consider this session:
> 
> # date -s "jul 9, 2131"
> Mo 9. Jul 00:00:00 EDT 2131
> # ntpdate ntp1.ptb.de
> 15 Aug 20:01:08 ntpdate[31400]: step time server 192.53.103.108 offset
> 539812826.581089 sec
> 
> After this, the current system time is in the year 2148, which is not
> quite the desired effect. :)

Yes it is.  Note that ntp can only represent time from 1 jan 1970
to somewhere in 2036.  So you're not in that era, and you get the
time from the next era.


Kurt






More information about the pkg-ntp-maintainers mailing list