should it rather be network online target in the service file?
Bug #1746458 reported by
Christian Ehrhardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chrony (Debian) |
Fix Released
|
Unknown
|
|||
chrony (Ubuntu) |
Fix Released
|
Medium
|
Christian Ehrhardt |
Bug Description
Currently the systemd service holds:
After=network.
I think this should be the online target instead to be able to sync from/to anybody.
Need to check this.
Changed in chrony (Debian): | |
status: | Unknown → New |
Changed in chrony (Debian): | |
status: | New → Incomplete |
Changed in chrony (Debian): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
Yes according to [1] the most direct translation to the old LSB $network would be: online. target online. target
Wants=network-
After=network-
And that is what chrony was and IMHO should be again.
That also would fix some rare cases where network comes up late and chrony starts in offline mode.
Relying on the hooks to online it isn't recommended btw (Only working for NetworkManager in 18.04 atm).
[1]: https:/ /www.freedeskto p.org/wiki/ Software/ systemd/ NetworkTarget/