On 04/09/2020 06.08, J Leslie Turriff wrote:
On 2020-09-03 22:00:54 Carlos E. R. wrote:
Looking at info, I see -4 and -6 options, but no description of which is the default; perhaps someone has changed it to -6? There is no relevant entry in the /etc/chrony.conf on my (15.1) machine; if there's none in yours, it must be using the internal default?
No, that would be here: Rescate:~ # systemctl cat chronyd # /usr/lib/systemd/system/chronyd.service [Unit] Description=NTP client/server Documentation=man:chronyd(8) man:chrony.conf(5) After=nss-lookup.target Wants=network.target After=network.target Wants=time-sync.target Before=time-sync.target Conflicts=ntpd.service systemd-timesyncd.service ConditionCapability=CAP_SYS_TIME [Service] Type=forking PIDFile=/var/run/chronyd.pid EnvironmentFile=-/etc/sysconfig/chronyd ExecStart=/usr/sbin/chronyd $OPTIONS <==== ExecStartPost=/usr/lib/chrony/helper update-daemon PrivateTmp=yes ProtectHome=yes ProtectSystem=full [Install] WantedBy=multi-user.target Rescate:~ # and: Rescate:~ # cat /etc/sysconfig/chronyd ## Path: Network/Chrony ## Description: Chrony time synchronization settings ## Type: yesno ## Default: "yes" ## ServiceRestart: chronyd # # Resolve hostnames with IPv4 # CHRONY_IPV4="yes" ## Type: yesno ## Default: "yes" ## ServiceRestart: chronyd # # Resolve hostnames with IPv6 # CHRONY_IPV6="yes" <================== ## Type: yesno ## Default: "yes" ## ServiceRestart: chronyd # # Lock the chrony daemon process into RAM, preventing it from swapping out # CHRONY_LOCK_IN_RAM="no" Rescate:~ # So I can switch it off in config. Still, there is the philosophical question, which we have been discussing here for years - ;-) - whether it is wise for the default being allowing IPv6, or programs preferring it, etc etc. I'm waiting for James Knot to chime in. Per Jessen has already answered ;-) The thing is, now I can configure IPv6 off in chronyd, but as the next time the machine may be used on a different network (it is not my machine, after all), we will never know if IPv6 will work there. IMHO, programs should autodetect external IPv6 automatically, different from the LAN being IPv6 capable. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)