25.04.2020 17:33, Andrei Borzenkov пишет:
25.04.2020 16:45, Michael Hirmke пишет:
Hi again,
I disabled systemd-timesyncd and reinstalled chrony. But NetworkManager doesn't seem to accept the ntp server it got from dhcp.
NetworkManager[6990]: <info> [1587822149.8981] dhcp4 (p3p2): option ntp_servers => '192.168.1.1' NetworkManager[6990]: <info> [1587822149.8982] dhcp4 (p3p2): option requested_ntp_servers => '1'
This is internal NetworkManager DHCP client, so dhclient hook is not called.
NetworkManager[7119]: debug: Module order: dns-resolver dns-bind dns-dnsmasq nis ntp-runtime NetworkManager[7119]: debug: ntp-runtime Module called NetworkManager[7119]: debug: Resolved ntp-policy 'auto' for service 'NetworkManager' to 'STATIC_FALLBACK * NetworkManager' NetworkManager[7119]: debug: exec get_ntp_settings: /var/run/netconfig/NetworkManager.netconfig NetworkManager[7119]: debug: get_ntp_settings: NTP_SERVER_LIST='' NetworkManager[7119]: debug: exit get_ntp_settings: /var/run/netconfig/NetworkManager.netconfig NetworkManager[7119]: debug: ntp servers written to /var/run/netconfig/chrony.servers
NetworkManager calls netconfig only for DNS updates, it does not provide NTP information.
And it would not work anyway. Of course bug number that is referenced in netconfig commit that added chrony support is private. So much about SLE/openSUSE integration ...
/var/run/netconfig/NetworkManager.netconfig and /var/run/netconfig/chrony.servers are empty though.
If I add an ip address to NETCONFIG_NTP_STATIC_SERVERS in /etc/sysconfig/network/config, this server shows up in both files mentioned above.
What am I missing here?
Distribution and version you are running, NetworkManager.conf?
-- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org