Yes, the information is provided in /var/lib/dhcp3/dhclient.leases

The relevant option is: "option ntp-servers 192.168.1.1;"

With the .dhcp file you are correct, this is a file with a ntpd
configuration with the information provided by dhcp.

As to why the ubuntu (and debian for that matter) scripts use this hook,
I don't know, but I can imagine there is a certain reason for that.
(there are other scripts there too, avahi for example)

@creating the .dhcp file: The current script already creates the file,
but by using the information from the dhclinet-exit-hooks. It should be
possible to use the information from the lease file with minor changes,
but the problem as I see it is, that this should be provided out of the
box (because it is confusing if the 2 programs behave differently)

The problem is, that setting the ntp option in dhclient.conf should be
honoured by both dhclient from the command line and network-manager.

btw, sorry for the late response, had some problems with my mail setup
the last weeks...

** Attachment added: "ntp.conf.dhcp"
   http://launchpadlibrarian.net/18919914/ntp.conf.dhcp

-- 
network-manager not restarting ntp daemon
https://bugs.launchpad.net/bugs/267891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to