On 2023-03-12 10:58, mh@mike.franken.de wrote:
On Sonntag, 12. März 2023 08:02:29 CET Andrei Borzenkov wrote:
On 12.03.2023 01:37, mh@mike.franken.de wrote:
Why would anyone waste time implementing special case for NTP and NetworkManager? What exactly will it fix? What is the exact difference between "no data provided by NetworkManger" and "do not check data from NetworkManager"? In both cases netconfig continues to use other sources of information according to configured policy.
What exact problem in netconfig are you trying to solve beyond "NetworkManager does not have ability to manage dynamic NTP information"?
You still misunderstand my intentions. I don't want anything to be changed or "fixed". I want to understand, why things are as they are - mostly to implement my things in a better or more conformable way. And using something from a script/module, that can never exist, seemed senseless to me, so I tried to verify, if it is senseless or my understanding is wrong.
I don't understand what is going on, but let me say something I heard somewhere long ago. It was the idea that the network administrator (on an enterprise building, say), would install a time server, and wanted this server to be published via DHCP so that all machines in the building would know about it and sync to it. I assume they were using Windows. Indeed, Microsoft covers this. <https://social.technet.microsoft.com/Forums/windowsserver/en-US/c852649a-86ea-4ef8-b727-628061eaecea/what-is-the-usage-of-dhcp-time-server-option-?forum=winserverNIS> <https://www.greyware.com/software/domaintime/v5/installation/dhcp.asp> How to use DHCP Servers to specify time server addresses to Domain Time Client Domain Time II Client using automatic discovery mode can be configured to check for the presence of a DHCP server on the local subnet. If a DHCP server is found, the DHCP options 004 and/or 042 can be examined to provide the IP address(es) of time servers for the Client to use. Note: It is not necessary to set the TCP/IP protocol stack to get its IP address from a DHCP server in order for the Domain Time II Client to get a time server address. The Client uses its own independent inquiry of the DHCP server to discover the time server options. Therefore DHCP discovery of time servers can be used on a machine with either a static or a DHCP-assigned IP address. An automatic Domain Time client with DHCP enabled will broadcast to locate a DHCP Server. Note that DHCP broadcasts usually do not cross routers. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)