On 9/27/22 14:00, Dima Kogan wrote:
   root@shorty:/home/dima# ntpdate-debian
   sed: can't read /etc/ntpsec/ntp.conf: No such file or directory

Yep, I see the issue. I'll upload a fix.

The missing file is in the "ntpsec" package, which is not in the
Depends, and maybe should be there. If I install this package I see
this:

   root@shorty:/home/dima# ntpdate-debian
   ntpdig: socket error on transmission: [Errno 99] Cannot assign requested 
address
   ntpdig: socket error on transmission: [Errno 99] Cannot assign requested 
address
   ntpdig: socket error on transmission: [Errno 99] Cannot assign requested 
address
   ntpdig: socket error on transmission: [Errno 99] Cannot assign requested 
address
   
{"time":"2022-09-27T11:54:36.227571-0700","offset":-0.001772,"precision":0.073811,"host":"0.debian.pool.ntp.org","ip":"79.133.44.139","stratum":1,"leap":"no-leap","adjusted":false}

This is probably the ipv6 bug: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971523

The console output doesn't tell me if the errors were fatal or not. Were
they actually warnings? It should tell me.

These are not fatal. I've submitted a patch upstream to suppress those messages except in debug mode, since they are clearly confusing:

https://gitlab.com/NTPsec/ntpsec/-/merge_requests/1288

Debian bug #971523 probably should have been marked fixed already once the upstream change to make them non-fatal was uploaded to Debian. But given I'm submitting another patch, I'll leave it open.

If you have further commentary on this part, let's discuss in 971523.

Also, the output is qualitatively different from what it used to be not
very long ago. It used to be human-readable text
...
Now it's JSON

Yeah, I'll disable that JSON.

--
Richard
--
Richard

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to