[pkg-ntp-maintainers] Bug#880588: ntp should integrate with networkd to pick up discovered NTP servers

Dimitri John Ledkov xnox at ubuntu.com
Thu Nov 2 15:13:52 UTC 2017


Package: ntp
Version: 1:4.2.8p10+dfsg-5
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

If a system uses systemd-networkd to configure networking, but wants
to use ntp to sync time, ntp & networkd should integrate with each
other to reconfigure ntp with timeservers that are discovered by
networkd (either configs or DHCP).

To achieve this I'm proposing to add .path systemd unit that monitors
and triggers dhcp-enter-hook to be rerun whenever systemd-networkd
state changes and create an updated dhcp.conf in the /run.

Regards,

Dimitri.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJZ+zYvAAoJEMrC2LnNLKX5KJMH/0syc1CSKpxobGINMVay0LCx
TUX04ffIZdDNaqro9Uh9mkOJmgkCYf5yyMF7sKZmgeA2U7ETetkNxKREkcuqWX40
TC9wlRucT20vDUHUUR2H69DLGOBVqY3W7NUeuXS6jqV6rqJhHJ/xJ+DHUSKEm666
rGIRZ2uXlbUlED5DlQSAIAZ9mSCu0pp1KFaisp3fjkGsjhmf1rBDs2IMuXHVNSay
6Ax4Z5gX+7M6GQJ4iYT76vopfMqzjFz2QhdaIHNkJ/BzAynClspWLAYmi1YZuj1o
mfTqFcGt5ixr+hOhzdWc43lF3vLu9WnqR8gMvXx7DGj9tiFYJw7V2a71YqG17C8=
=DyPZ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-ntp.dhcp-ntp-systemd-netif.service-.path-inte.patch
Type: text/x-diff
Size: 4584 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20171102/9654509b/attachment.patch>


More information about the pkg-ntp-maintainers mailing list