Your message dated Sun, 26 Sep 2021 00:18:50 +0000
with message-id <[email protected]>
and subject line Bug#994819: fixed in ntpsec 1.2.1+dfsg1-1
has caused the Debian Bug report #994819,
regarding ntpsec-ntpdate: ntpdate -d rejected incorrectly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
994819: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994819
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ntpsec-ntpdate
Version: 1.2.0+dfsg1-4
Severity: normal

Dear Maintainer,

ntpdate is documented as accepting option "-d" but does in fact reject
it.

$ man ntpdate | grep debugging\ mode
       -d     Enable  the debugging mode, in which ntpdate will go through all

$ ntpdate -d -v time.loc
Illegal option -d
...

$ grep getopt /usr/sbin/ntpdate
while getopts 46a:bBe:k:no:p:qst:uv opt
$  grep getopt /usr/sbin/ntpdate | sed -e 's/[^d]*//'

$ echo no d here

I would suggest to add "d" to the getopt like:
---8<---
--- /usr/sbin/ntpdate.oorig     2021-09-21 12:45:55.189280225 +0200
+++ /usr/sbin/ntpdate   2021-09-21 12:46:52.509374336 +0200
@@ -45,7 +45,7 @@ TIMEOUT="-t 1"
 setclock=yes
 echo=no
 log=no
-while getopts 46a:bBe:k:no:p:qst:uv opt
+while getopts 46a:bBde:k:no:p:qst:uv opt
 do
     case $opt in
        4) PASSTHROUGH="$PASSTHROUGH -4";;

---8<---

which would work as expected:
$ ntpdate -d -v time.loc
ntpdig: querying 192.168.100.46 (time.loc)
org t1: e4f436a0.3d2e1000 rec t2: e4f436a0.3d7b7648
xmt t3: e4f436a0.3d842762 dst t4: e4f436a0.3db9f000
org t1: 1632221216.238984 rec t2: 1632221216.240165
xmt t3: 1632221216.240298 dst t4: 1632221216.241118
rec-org t21: 0.001181  xmt-dst t34: -0.000821
{"time":"2021-09- .....

TIA

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ntpsec-ntpdate depends on:
ii  netbase      6.3
ii  python3      3.9.2-3
ii  python3-ntp  1.2.0+dfsg1-4

ntpsec-ntpdate recommends no packages.

ntpsec-ntpdate suggests no packages.

-- no debconf information
--- /usr/sbin/ntpdate.oorig     2021-09-21 12:45:55.189280225 +0200
+++ /usr/sbin/ntpdate   2021-09-21 12:46:52.509374336 +0200
@@ -45,7 +45,7 @@ TIMEOUT="-t 1"
 setclock=yes
 echo=no
 log=no
-while getopts 46a:bBe:k:no:p:qst:uv opt
+while getopts 46a:bBde:k:no:p:qst:uv opt
 do
     case $opt in
        4) PASSTHROUGH="$PASSTHROUGH -4";;

--- End Message ---
--- Begin Message ---
Source: ntpsec
Source-Version: 1.2.1+dfsg1-1
Done: Richard Laager <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ntpsec, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Richard Laager <[email protected]> (supplier of updated ntpsec package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 25 Sep 2021 18:43:40 -0500
Source: ntpsec
Architecture: source
Version: 1.2.1+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Richard Laager <[email protected]>
Changed-By: Richard Laager <[email protected]>
Closes: 994819
Changes:
 ntpsec (1.2.1+dfsg1-1) unstable; urgency=medium
 .
   * Fix ntpdate -d.
     Thanks to Bernhard <[email protected]> (Closes: 994819)
   * New upstream version:
     - Update the SHM gpsd documentation
     - ntpdig: continue instead of exit on IPv6 when there is none. solves #680
     - ntpq: solve #689 - 'ntpq -c raw -c readvar' crashes ...
     - ntpq: solve #690 - ntpq does not print associd when 0 ...
     - ntpdig: Fix steplimit option.
     - Improve ntpdate script.
     - ntpdig: Try to handle gaierror better ...
     - Fix parsing of commandline parameter 'P'
     - ntp.util: Shorten ntpq/ntpmon peers common output generation.
     - ntpq, ntpmon: Add dextral peers mode ...
     - ntpq: -c rv should return associd only when variable(s) not passed.
     - Don't generate # into ASCIIfied keys.
   * Stop using removed --build-epoch
   * Update Standards-Version to 4.6.0 (no changes)
Checksums-Sha1:
 7511a4e8242f8d1d53abfe1899c4e079b677ef0b 2400 ntpsec_1.2.1+dfsg1-1.dsc
 8cb0caa4583361e9b0c8dd615cf20a46271a57aa 2299976 ntpsec_1.2.1+dfsg1.orig.tar.xz
 3a307554ceb0c944af7639860b10feec3681aaea 54656 
ntpsec_1.2.1+dfsg1-1.debian.tar.xz
 d4745d835b44519030f997cdabb638411d0ff0f8 8140 
ntpsec_1.2.1+dfsg1-1_source.buildinfo
Checksums-Sha256:
 d1364a9b3abc571efd64194f6d3e9cb84eae6c34d82b4299e4a06694de5c2d16 2400 
ntpsec_1.2.1+dfsg1-1.dsc
 7b3fe873fa7a9c16c4a74dba8f7be33c0e858f705f48a70309283d3d9325c29d 2299976 
ntpsec_1.2.1+dfsg1.orig.tar.xz
 9b3e140d6689502de006cc578af563d1b2382c656c0dcab59252346400eb0efe 54656 
ntpsec_1.2.1+dfsg1-1.debian.tar.xz
 fa6e2c8b1f2acd64d0d5ca9ae906c51c8025ff6dfeb247cd364163fcf2615ebb 8140 
ntpsec_1.2.1+dfsg1-1_source.buildinfo
Files:
 18b29525d36edb153b04e501595a2e0d 2400 net optional ntpsec_1.2.1+dfsg1-1.dsc
 2c276ba8f90c37b3d279d61bf45a51f0 2299976 net optional 
ntpsec_1.2.1+dfsg1.orig.tar.xz
 cbd7ec49b2cd3835539679d8bf717659 54656 net optional 
ntpsec_1.2.1+dfsg1-1.debian.tar.xz
 1148c73b25f3589f198cb46d9fff3619 8140 net optional 
ntpsec_1.2.1+dfsg1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1Ot9lOeOTujs4H+U+HlhmcBFhs4FAmFPt4gACgkQ+HlhmcBF
hs48Mw//aLJqiY8ZDvDvJZ3i86Hnz54Mn82BxyyhmWv43T7jVF1HShLtSv845B7C
/r9MlOP6D4swACICBPOpuwgnSlQ9ktxwnFcmzM/NgYCsWFttbT2pHbvETVDF967z
Zno6/8hZVJyqmt+6SvKGlNrPKxyPnJ+R8K3K1jOKpLh6+YaNBKqJ3UtpYfXH/VqN
Xv5q50ZIv5u3bWutsnOruqWGX2uysIO1jNUF9IaJ3kQmSXTq1sFtzwPBec0UaU+r
E+XIJe4xNHphCVy3aZbqoc0Ej4+Ck9NyvfG8ZVgb+SJlCueU1K2n0z5HzYg6g044
OFw/WNfRuHd8+amcaVWRUpBfGaqz2v1wpa2A0h3vv2NA5gLmkAr8Rm6cdfjO1o4Z
RP4DAx6o7rt/KQNa4kWjzV0t7AF+FA0LXN3DOp/VwF1yNpsuIP3BdqxzE4q25C9l
SurifiAZzAMkC01ISOv9yL3VE2Ti64WVepnwsi5vAi3U4OV0W9gyBiLGIrXz1MMO
sCLkRQ0+HqkZCRiFADgw96zgDWXDxvmsJt/FnrPTGeJOSCW0OQCPxfUCHCumTnhT
pvBIC/vb/PayAhR532LgT4V4kqD3lKimkBFD3R3ySjac+cqzxEFvEfSiKzX3/CjD
hWmIM5JBuRRAaTM2jrC3QfaEv60qIPCMUbVywflMzh+d/t9LoC4=
=JPpD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to