Package: ntp Version: 1:4.2.8p15+dfsg-1 Severity: normal Dear Maintainer,
In Debian Buster (same in Sid) I've noticed that I get "spam" of these messages in syslog: ``` Sep 28 21:57:38 dl380 ntpd[739]: Soliciting pool server 193.219.61.120 Sep 28 21:57:38 dl380 ntpd[739]: Soliciting pool server 54.36.152.158 Sep 28 21:57:39 dl380 ntpd[739]: Soliciting pool server 2001:778::120 Sep 28 21:58:47 dl380 ntpd[739]: Soliciting pool server 2001:778::120 Sep 28 21:59:54 dl380 ntpd[739]: Soliciting pool server 2001:778::120 Sep 28 22:01:02 dl380 ntpd[739]: Soliciting pool server 2001:778::120 <and so on> ``` These machines doest not have ipv6 address set, for example: ``` ip addr <skipped> 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 08:00:27:44:4a:ae brd ff:ff:ff:ff:ff:ff inet 192.168.1.198/24 brd 192.168.1.255 scope global enp0s3 valid_lft forever preferred_lft forever inet6 fe80::a00:27ff:fe44:4aae/64 scope link valid_lft forever preferred_lft forever ``` I've tried editing /etc/default/ntp so it looks like this: ``` NTPD_OPTS='-4 -g' ``` Still, I see ipv6 servers queried: ``` Sep 29 10:08:05 sid systemd[1]: Starting Network Time Service... Sep 29 10:08:05 sid ntpd[1112]: ntpd 4.2.8p15@1.3728-o Wed Sep 23 11:46:38 UTC 2020 (1): Starting Sep 29 10:08:05 sid ntpd[1112]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -4 -g -u 106:112 Sep 29 10:08:05 sid ntpd[1112]: ---------------------------------------------------- Sep 29 10:08:05 sid ntpd[1112]: ntp-4 is maintained by Network Time Foundation, Sep 29 10:08:05 sid ntpd[1112]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Sep 29 10:08:05 sid ntpd[1112]: corporation. Support and training for ntp-4 are Sep 29 10:08:05 sid ntpd[1112]: available at https://www.nwtime.org/support Sep 29 10:08:05 sid ntpd[1112]: ---------------------------------------------------- Sep 29 10:08:05 sid ntpd[1118]: proto: precision = 0.056 usec (-24) Sep 29 10:08:05 sid ntpd[1118]: basedate set to 2020-09-11 Sep 29 10:08:05 sid ntpd[1118]: gps base set to 2020-09-13 (week 2123) Sep 29 10:08:05 sid ntpd[1118]: restrict: ignoring line 40, mask '::' unusable. Sep 29 10:08:05 sid ntpd[1118]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): good hash signature Sep 29 10:08:05 sid ntpd[1118]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): loaded, expire=2020-12-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37 Sep 29 10:08:05 sid ntpd[1118]: Listen and drop on 0 v4wildcard 0.0.0.0:123 Sep 29 10:08:05 sid ntpd[1118]: Listen normally on 1 lo 127.0.0.1:123 Sep 29 10:08:05 sid ntpd[1118]: Listen normally on 2 enp0s3 192.168.1.198:123 Sep 29 10:08:05 sid ntpd[1118]: Listening on routing socket on fd #19 for interface updates Sep 29 10:08:05 sid ntpd[1118]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Sep 29 10:08:05 sid ntpd[1118]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Sep 29 10:08:05 sid systemd[1]: Started Network Time Service. Sep 29 10:08:06 sid ntpd[1118]: Soliciting pool server 5.20.0.20 Sep 29 10:08:07 sid ntpd[1118]: Soliciting pool server 5.20.0.21 Sep 29 10:08:07 sid ntpd[1118]: Soliciting pool server 5.20.0.21 Sep 29 10:08:08 sid ntpd[1118]: Soliciting pool server 54.36.152.158 Sep 29 10:08:08 sid ntpd[1118]: Soliciting pool server 80.208.229.21 Sep 29 10:08:09 sid ntpd[1118]: Soliciting pool server 2001:778::120 Sep 29 10:09:16 sid ntpd[1118]: Soliciting pool server 2001:778::120 Sep 29 10:10:22 sid ntpd[1118]: Soliciting pool server 2001:778::120 Sep 29 10:11:26 sid ntpd[1118]: Soliciting pool server 2001:778::120 ``` Even though ntp does not listen on ipv6: ``` # ss -putln | fgrep ntp udp UNCONN 0 0 192.168.1.198:123 0.0.0.0:* users:(("ntpd",pid=1118,fd=18)) udp UNCONN 0 0 127.0.0.1:123 0.0.0.0:* users:(("ntpd",pid=1118,fd=17)) udp UNCONN 0 0 0.0.0.0:123 0.0.0.0:* users:(("ntpd",pid=1118,fd=16)) ``` -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ntp depends on: ii adduser 3.118 ii libc6 2.31-3 ii libcap2 1:2.43-1 ii libedit2 3.1-20191231-1 ii libopts25 1:5.18.16-4 ii libssl1.1 1.1.1g-1 ii lsb-base 11.1.0 ii netbase 6.1 ii tzdata 2020a-1 Versions of packages ntp recommends: ii perl 5.30.3-4 ii sntp 1:4.2.8p15+dfsg-1 Versions of packages ntp suggests: pn ntp-doc <none> -- Configuration Files: /etc/default/ntp changed: NTPD_OPTS='-4 -g' -- no debconf information