[pkg-ntp-maintainers] Bug#793837: This "accidentially" is a regression to former versions of the ntp package

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Aug 3 07:59:07 UTC 2016


Hi,
I was checking a similar report to Ubuntu and found that by accident this
is a regression and not a feature request.

The former 4.2.6 as in Jessie totally ignored the -with-sntp=no which is in
d/rules.
Thereby sntp (the older bad one) was in Jessie (even if not intended).

Since 4.2.8 due to commit
commit dd3be096e78eb8d13da36caad215c9f5c009b11a
Author: <davehart at shiny.ad.hartbrothers.com>
Date: Sun Feb 20 20:23:00 2011 +0000

    Attempt typical subpackage approach for libevent
    sntp test cleanup

This changed, and now sntp is "really" not built.
Funny enough the manpage which was added as a debian patch is still
installed even with --with-sntp=no.

Also it was reported and I could confirm that ntpsweep which is provided by
the package is actually broken due to sntp being missing.

Jessie:
root at debian-jessie:~# dpkg -l ntp
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version
Architecture            Description
+++-====================================-=======================-=======================-==============================================================================
ii  ntp                                  1:4.2.6.p5+dfsg-7+deb8u amd64
              Network Time Protocol daemon and utility programs
root at debian-jessie:~# dpkg -L ntp | grep sntp
/usr/bin/sntp
/usr/share/man/man1/sntp.1.gz
root at debian-jessie:~# ntpsweep --host 0.debian.pool.ntp.org
Host                             st offset(s) version     system
processor
--------------------------------+--+---------+-----------+------------+---------
0.debian.pool.ntp.org             ?



Sid:
dpkg -l ntp
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version
Architecture            Description
+++-====================================-=======================-=======================-==============================================================================
ii  ntp                                  1:4.2.8p8+dfsg-1        amd64
              Network Time Protocol daemon and utility programs
root at debian-sid:~# dpkg -L ntp | grep sntp
/usr/share/man/man1/sntp.1.gz
root at debian-sid:~# ntpsweep --host 0.debian.pool.ntp.org
Host                             st offset(s) version     system
processor
--------------------------------+--+---------+-----------+------------+---------
Can't exec "sntp": No such file or directory at
/usr/share/ntp/lib/NTP/Util.pm line 133.
Could not start sntp: No such file or directory at /usr/bin/ntpsweep line
112.


-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160803/54be22cb/attachment.html>


More information about the pkg-ntp-maintainers mailing list