To ubuntu 22.04, I refer to
https://roll.urown.net/desktop/network/time-sync.html.
Using NM's dispatch scripts, NetworkManager can talk with timesyncd when
configuring to use internal dhcp client.
If want to use dhclient's hook, I think you should configure NetworkManager to
use dhclient.
Hello,
On Ubuntu desktop 22.04 LTS, it seems that the hook is not executed. I'm
not sure how to verify that but sure thing is the DHCP is well
announcing the ntp server.
DHCP4.OPTION[8]:ntp_servers = X.X.X.X
DHCP4.OPTION[18]: requested_ntp_servers =
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
** Changed in: systemd (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting
** Tags removed: rls-aa-incoming
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting systemd-timesyncd NTP servers doesn't work
** Changed in: systemd (Ubuntu)
Assignee: Balint Reczey (rbalint) => (unassigned)
** Changed in: systemd (Ubuntu)
Importance: Medium => Low
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
in Artful we are migrating away from ifupdown to netplan. Meaning we
will not be using dhcp hooks by default, and only use networkd/network-
manager. I believe networkd has native support to push NTP servers to
timesyncd, and I think networkmanager should natively push ntp servers
direct to
** Changed in: systemd (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting
** Changed in: systemd (Debian)
Status: Fix Released => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting
** Changed in: systemd (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting
I think new NM dispatcher script for timesyncd should be executed not
only on up/down actions, but on dhcp4/dhcp6 change to (and connectivity
change to maybe - see
https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/nm-
dispatcher.h#n27). It should be possible to update NTP servers
** Changed in: systemd (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1685484
Title:
DHCP exit hook for setting systemd-timesyncd
Submitted patch in the bug for Debian, waiting for comments.
** Summary changed:
- DHCP exit hook for setting NTP servers doesn't work
+ DHCP exit hook for setting systemd-timesyncd NTP servers doesn't work
** Bug watch added: Debian Bug tracker #861769
13 matches
Mail list logo