You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NTP servers given by DHCP are not used on Ubuntu Desktop 24.04 LTS #34232
changed the title [-]NTP servers given by DHCP are not used on Ubuntu 24.04 LTS[/-][+]NTP servers given by DHCP are not used on Ubuntu Desktop 24.04 LTS[/+]on Sep 2, 2024
$ systemd --version
systemd 255 (255.4-1ubuntu8.4)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
$ uname -srm
Linux 6.8.0-52-generic x86_64
$ timedatectl show-timesync
FallbackNTPServers=ntp.ubuntu.com
ServerName=ntp.ubuntu.com
ServerAddress=2620:2d:4000:1::41
RootDistanceMaxUSec=5s
PollIntervalMinUSec=32s
PollIntervalMaxUSec=34min 8s
PollIntervalUSec=34min 8s
Frequency=0
$ timedatectl status
Local time: Sun 2025-02-09 11:23:35 PST
Universal time: Sun 2025-02-09 19:23:35 UTC
RTC time: Sun 2025-02-09 19:23:35
Time zone: America/Los_Angeles (PST, -0800)
System clock synchronized: no
NTP service: active
RTC inlocal TZ: no
Do you use systemd-networkd? If so, please provide relevant .network files, and result of networkctl status INTERFACE.
It appears that default Ubuntu Desktop 24.04 does not use systemd-networkd.
$ networkctl status enp4s0
systemd-networkd is not running, output might be incomplete.
Failed to query link bit rates: Unit dbus-org.freedesktop.network1.service not found.
Failed to query link DHCP leases: Unit dbus-org.freedesktop.network1.service not found.
● 2: enp4s0
Link File: /usr/lib/systemd/network/99-default.link
Network File: n/a
State: n/a (unmanaged)
Online state: unknown
Type: ether
Path: pci-0000:04:00.0
Driver: r8169
Vendor: Realtek Semiconductor Co., Ltd.
Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (Motherboard (one of many))
Hardware Address: a8:a1:59:ad:70:df (ASRock Incorporation)
MTU: 1500 (min: 68, max: 9194)
QDisc: fq_codel
IPv6 Address Generation Mode: none
Number of Queues (Tx/Rx): 1/1
Auto negotiation: yes
Speed: 1Gbps
Duplex: full
Port: tp
Address: 192.168.1.9
fe80::2506:a128:eb16:e1e6
Gateway: 192.168.0.1
Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set search domain list to: dodson
Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set default route setting: yes
Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set DNS server list to: 192.168.0.1
I'm seeing the same thing on Ubuntu 24.04 and time services.
My kea dhcp sends NTP server and timeservices to my opnsense system, but in the logs I show Ubuntu 24.04 is still trying to access other time services.
Not sure how to test if Ubuntu gets that data from dhcp or not.
Activity
[-]NTP servers given by DHCP are not used on Ubuntu 24.04 LTS[/-][+]NTP servers given by DHCP are not used on Ubuntu Desktop 24.04 LTS[/+]yuwata commentedon Sep 2, 2024
Do you use systemd-networkd? If so, please provide relevant .network files, and result of
networkctl status INTERFACE.blaine-dodson commentedon Feb 9, 2025
I also am experiencing this problem.
$ systemd --version systemd 255 (255.4-1ubuntu8.4) +PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble $ uname -srm Linux 6.8.0-52-generic x86_64 $ timedatectl show-timesync FallbackNTPServers=ntp.ubuntu.com ServerName=ntp.ubuntu.com ServerAddress=2620:2d:4000:1::41 RootDistanceMaxUSec=5s PollIntervalMinUSec=32s PollIntervalMaxUSec=34min 8s PollIntervalUSec=34min 8s Frequency=0 $ timedatectl status Local time: Sun 2025-02-09 11:23:35 PST Universal time: Sun 2025-02-09 19:23:35 UTC RTC time: Sun 2025-02-09 19:23:35 Time zone: America/Los_Angeles (PST, -0800) System clock synchronized: no NTP service: active RTC in local TZ: noIt appears that default Ubuntu Desktop 24.04 does not use systemd-networkd.
$ networkctl status enp4s0 systemd-networkd is not running, output might be incomplete. Failed to query link bit rates: Unit dbus-org.freedesktop.network1.service not found. Failed to query link DHCP leases: Unit dbus-org.freedesktop.network1.service not found. ● 2: enp4s0 Link File: /usr/lib/systemd/network/99-default.link Network File: n/a State: n/a (unmanaged) Online state: unknown Type: ether Path: pci-0000:04:00.0 Driver: r8169 Vendor: Realtek Semiconductor Co., Ltd. Model: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (Motherboard (one of many)) Hardware Address: a8:a1:59:ad:70:df (ASRock Incorporation) MTU: 1500 (min: 68, max: 9194) QDisc: fq_codel IPv6 Address Generation Mode: none Number of Queues (Tx/Rx): 1/1 Auto negotiation: yes Speed: 1Gbps Duplex: full Port: tp Address: 192.168.1.9 fe80::2506:a128:eb16:e1e6 Gateway: 192.168.0.1 Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set search domain list to: dodson Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set default route setting: yes Feb 09 10:48:37 alfa systemd-resolved[1180]: enp4s0: Bus client set DNS server list to: 192.168.0.1lisa50469 commentedon Feb 25, 2026
I'm seeing the same thing on Ubuntu 24.04 and time services.
My kea dhcp sends NTP server and timeservices to my opnsense system, but in the logs I show Ubuntu 24.04 is still trying to access other time services.
Not sure how to test if Ubuntu gets that data from dhcp or not.
pwariche commentedon Nov 24, 2026
Problem is stil present (using Linux Mint Zara which is based on Ubuntu 24.04)
$ systemd --version
systemd 255 (255.4-1ubuntu8.19)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 22.2
Release: 22.2
Codename: zara
$ uname -a
Linux chromebox 7.0.0-43-generic #43~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 31 06:52:47 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ timedatectl show-timesync | grep Server
FallbackNTPServers=ntp.ubuntu.com
ServerName=ntp.ubuntu.com
ServerAddress=2620:2d:4000:1::3f