Bug#861769: systemd: systemd-timesyncd does not use NTP server set by DHCP when NetworkManager is installed

Balint Reczey balint.reczey at canonical.com
Wed May 3 20:42:52 BST 2017

Package: systemd
Version: 232-22
Severity: normal

Dear Maintainers,

When NetworkManager is running /etc/dhcp/dhclient-exit-hooks.d/timesyncd and
other hooks in the directory are not triggered. See #537358 for a very
old report
involving other packages with DHCP hooks.

The widely adopted solution seems to be adding per-package scripts to
/etc/NetworkManager/dispatcher.d and the attached patch does that for systemd.


PS: The issue has been reported on Launchpad originally:

Balint Reczey
Debian & Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-timesyncd-s-NTP-server-from-DHCP-even-with-Netwo.patch
Type: text/x-patch
Size: 2108 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170503/56403b62/attachment-0001.bin>

More information about the Pkg-systemd-maintainers mailing list