#880588 ntp should integrate with networkd to pick up discovered NTP servers

Package:
ntp
Source:
ntpsec
Submitter:
Dimitri John Ledkov
Date:
2017-11-02 15:15:07 UTC
Severity:
wishlist
#880588#5
Date:
2017-11-02 15:13:52 UTC
From:
To:
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.
iQEcBAEBCAAGBQJZ+zYvAAoJEMrC2LnNLKX5KJMH/0syc1CSKpxobGINMVay0LCx
TUX04ffIZdDNaqro9Uh9mkOJmgkCYf5yyMF7sKZmgeA2U7ETetkNxKREkcuqWX40
TC9wlRucT20vDUHUUR2H69DLGOBVqY3W7NUeuXS6jqV6rqJhHJ/xJ+DHUSKEm666
rGIRZ2uXlbUlED5DlQSAIAZ9mSCu0pp1KFaisp3fjkGsjhmf1rBDs2IMuXHVNSay
6Ax4Z5gX+7M6GQJ4iYT76vopfMqzjFz2QhdaIHNkJ/BzAynClspWLAYmi1YZuj1o
mfTqFcGt5ixr+hOhzdWc43lF3vLu9WnqR8gMvXx7DGj9tiFYJw7V2a71YqG17C8=
=DyPZ
-----END PGP SIGNATURE-----