dhclient exit hooks aren't guaranteed to run
Bug #1888318 reported by
Ray Link
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ntp-systemd-
[Install]
WantedBy=
However, network-pre.target is a passive systemd target. It is used only for ordering, and is not guaranteed to be pulled in unless something else calls for it explicitly.
On a host where nothing pulls in network-pre.target, the ntp-systemd-netif path monitoring never gets started, and so changes in
/run/systemd/
Instead, the systemd unit that starts the path monitoring should be configured with something like:
[Unit]
Wants=network-
Before=
[Install]
WantedBy=