Hello everyone, with the switch back to standard time, I’ve noticed that my Tumbleweed system is having an issue with the NTP client:
Mother:/etc # rpm -qa|grep chrony
chrony-4.9-3.2.x86_64
chrony-pool-openSUSE-4.9-3.2.noarch
Mother:/etc #
# /usr/lib/systemd/system/chronyd.service
[Unit]
Description=NTP client/server
Documentation=man:chronyd(8) man:chrony.conf(5)
After=nss-lookup.target
After=network.target
Conflicts=ntpd.service systemd-timesyncd.service
ConditionCapability=CAP_SYS_TIME
[Service]
Type=notify
PIDFile=/run/chrony/chronyd.pid
Environment="OPTIONS="
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStartPost=/usr/libexec/chrony/helper update-daemon
ExecStart=/usr/sbin/chronyd -n $OPTIONS
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_KILL CAP_LEASE CAP_LINUX_IMMUTABLE
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_MKNOD CAP_SYS_ADMIN
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_CHROOT CAP_SYS_MODULE CAP_SYS_PACCT
CapabilityBoundingSet=~CAP_SYS_PTRACE CAP_SYS_RAWIO CAP_SYS_TTY_CONFIG CAP_WAKE_ALARM
DeviceAllow=char-pps rw
DeviceAllow=char-ptp rw
DeviceAllow=char-rtc rw
DevicePolicy=closed
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
ProtectSystem=strict
ReadWritePaths=/run /var/lib/chrony -/var/log
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=~@cpu-emulation @debug @module @mount @obsolete @raw-io @reboot @swap
# Adjust restrictions for /usr/sbin/sendmail (mailonchange directive)
NoNewPrivileges=no
ReadWritePaths=-/var/spool
RestrictAddressFamilies=AF_NETLINK
[Install]
WantedBy=multi-user.target
Mother:/etc #
Mother:/etc # systemctl status chronyd.service
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; preset: enabled)
Active: active (running) since Sun 2026-10-25 22:06:17 CET; 6s ago
Invocation: 69d21aaebc0f4e4b94b3a524e02588b1
Docs: man:chronyd(8)
man:chrony.conf(5)
Process: 161354 ExecStartPost=/usr/libexec/chrony/helper update-daemon (code=exited, status=0/SUCCESS)
Main PID: 161347 (chronyd)
Tasks: 1 (limit: 18883)
CPU: 198ms
CGroup: /system.slice/chronyd.service
└─161347 /usr/sbin/chronyd -n
ott 25 22:06:17 Mother.Nostromo.CMani.net systemd[1]: Starting NTP client/server...
ott 25 22:06:17 Mother.Nostromo.CMani.net chronyd[161347]: chronyd version 4.9 starting (+CMDMON +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGN>
ott 25 22:06:17 Mother.Nostromo.CMani.net chronyd[161347]: Initial frequency -26.776 ppm
ott 25 22:06:17 Mother.Nostromo.CMani.net systemd[1]: Started NTP client/server.
Mother:/etc # chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
Mother:/etc # systemctl stop chronyd.service
Mother:/etc # /usr/sbin/chronyd
Mother:/etc # chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? 151.22.209.90 2 6 3 0 -1615us[-1615us] +/- 83ms
^? ns3.fibertelecom.it 2 6 3 0 -2109us[-2109us] +/- 36ms
^? time.cloudflare.com 3 6 3 1 +2507us[+2507us] +/- 19ms
^? host234-254-110-95.serve> 2 6 3 0 -3267us[-3267us] +/- 68ms
^? 172-232-209-103.ip.linod> 2 6 3 0 -26us[ -26us] +/- 27ms
^? time.cloudflare.com 3 6 3 0 -3589us[-3589us] +/- 14ms
Mother:/etc #
Essentially, it seems the service is unable to read the configuration files; however, if I launch the chronyd daemon manually, it works just fine. Does anyone have any ideas on how to resolve this?
Hi
It’s still not syncing, should be “^*” not “^?”, if you keep checking the sources, does it finally sync?
I use a local GPS time server here without issues, all systems and chrony working fine.
What does timedatectl show?
Thanks for the reply; I am sending you the information.
Launched manually:
.-- Source mode '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current best, '+' = combined, '-' = not combined,
| / 'x' = may be in error, '~' = too variable, '?' = unusable.
|| .- xxxx [ yyyy ] +/- zzzz
|| Reachability register (octal) -. | xxxx = adjusted offset,
|| Log2(Polling interval) --. | | yyyy = measured offset,
|| \ | | zzzz = estimated error.
|| | | \
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^- 81.56.230.156 2 6 377 34 -361us[ -361us] +/- 67ms
^+ time.cloudflare.com 3 6 377 37 +2356us[+2356us] +/- 17ms
^- ns3.fibertelecom.it 2 6 377 36 -1563us[-1563us] +/- 44ms
^* radha.parvati.it 2 6 377 37 -871us[-1107us] +/- 7920us
^- 172-232-208-229.ip.linod> 2 6 377 36 +604us[ +604us] +/- 26ms
^- host148-74-46-89.serverd> 2 6 377 37 -1382us[-1382us] +/- 48ms
c_mani_stw0@Mother:~>
It looks fine to me.
c_mani_stw0@Mother:~> timedatectl
Local time: lun 2026-10-26 14:07:30 CET
Universal time: lun 2026-10-26 13:07:30 UTC
RTC time: lun 2026-10-26 16:06:39
Time zone: Europe/Rome (CET, +0100)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
c_mani_stw0@Mother:~>
with the chronyd service running
Mother:~ # timedatectl
Local time: lun 2026-10-26 16:31:01 CET
Universal time: lun 2026-10-26 15:31:01 UTC
RTC time: lun 2026-10-26 15:31:01
Time zone: Europe/Rome (CET, +0100)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
Mother:~ #
Hi, assuming your running SELinux, something not being denied?
See the forum side panel for a link to the SELinux port and run some checks.
If you start the service and give it a few minutes, does it start syncing?
I don’t use SELinux; I have a standard Tumbleweed installation. Waiting doesn’t resolve the issue, and I’m starting to think the problem lies with systemctl—I tried creating a service like this, but it doesn’t work.
I don’t use SELinux; I have a standard Tumbleweed installation. Waiting doesn’t resolve the issue, and I’m starting to think the problem lies with systemctl—I tried creating a service like this, but it doesn’t work.
Mother:~ # systemctl cat mychrony.service
# /usr/local/lib/systemd/system/mychrony.service
[Unit]
Description=chronyd
DefaultDependencies=no
After=network-online.target
[Service]
#Type=simple
User=root
Group=root
ExecStart=/usr/sbin/chronyd -n -f /tmp/chrony.conf -ddd >> /tmp/aaaaa1 2>&1
Restart=always
RestartSec=1
[Install]
WantedBy=basic.target
Mother:~ #
247
In some situations, it reported that /tmp/chrony.conf could not be found—even though, as the root user, there shouldn’t be any such issues.
If I use /etc/chrony.conf, it behaves just like the standard configuration: it doesn’t throw any errors, but it fails to synchronize with the servers.
As far as I’m concerned, there’s a bug somewhere.
This is an older install with apparmor?
Anything in the logs journalctl -u chronyd? Don’t see it selecting a source?
FWIW everything OK here with an old TW converted to SELinux and in the same region (network-wise), so syncing to the same
^* radha.parvati.it 2 7 377 116 +516us[ +733us] +/- 28ms
No /etc/chrony.confnor /tmp/chrony.conf here, everything according to the default /usr/etc/chrony.conf.
I’ve finally resolved it.
As malcolmlewis said, it’s an SELinux issue; my apologies—I wasn’t familiar with this service.
Mother:~ # ausearch -ts recent -m avc -i
.....................
----
type=AVC msg=audit(26/10/2026 18:01:55.965:2560) : avc: denied { getattr } for pid=363611 comm=chronyd path=/etc/resolv.conf dev="sda10" ino=3148018 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0
----
type=AVC msg=audit(26/10/2026 18:01:55.965:2561) : avc: denied { getattr } for pid=363611 comm=chronyd path=/etc/resolv.conf dev="sda10" ino=3148018 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0
----
type=AVC msg=audit(26/10/2026 18:01:55.966:2562) : avc: denied { getattr } for pid=363611 comm=chronyd path=/etc/resolv.conf dev="sda10" ino=3148018 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0
Mother:~ # ps -e |grep 363611
363611 ? 00:00:00 chronyd
Mother:~ #
Resolved with:
Mother:~ # ls -lZ /etc/resolv.conf
-rw-r--r-- 1 root root ? 81 20 ago 17.56 /etc/resolv.conf
Mother:~ # matchpathcon /etc/resolv.conf
/etc/resolv.conf system_u:object_r:net_conf_t:s0
Mother:~ # getenforce
Enforcing
Mother:~ # restorecon -v /etc/resolv.conf
Relabeled /etc/resolv.conf from system_u:object_r:unlabeled_t:s0 to system_u:object_r:net_conf_t:s0
Mother:~ # ls -lZ /etc/resolv.conf
-rw-r--r--. 1 root root system_u:object_r:net_conf_t:s0 81 20 ago 17.56 /etc/resolv.conf
Mother:~ #
Mother:~ # systemctl restart chronyd
Mother:~ # chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^- ns1.fibertelecom.it 2 6 37 2 +11ms[+6992us] +/- 81ms
^- 151.22.209.90 2 6 37 1 +3792us[+3792us] +/- 39ms
^- 172-232-209-103.ip.linod> 2 6 37 1 +5114us[+5114us] +/- 26ms
^* 204.216.214.76 2 6 37 2 +16us[-3673us] +/- 11ms
^- ns2.fibertelecom.it 3 6 37 2 +5907us[+2219us] +/- 47ms
^- 172-232-208-229.ip.linod> 2 6 37 1 +5382us[+5382us] +/- 27ms
Mother:~ #
Thank you all very much for your advice
@Nostromo56 Maybe a missed auto relabel…
Could still be worth a bug report(?).
As far as I’m concerned, the issue is resolved; the only thing I still don’t understand is how /etc/resolver.conf came to be labeled unlabeled_t by SELinux. I’m not sure if this might be a bug—again, I’m no expert on this topic.
If it happens again, then for sure a bug report.
Weird that the time stamp is the 20th of August… /etc/resolv.conf is re-generated by NetworkManager, unless you changed it manually, which is not recommended AFAIK.
Yes, it’s possible that I modified it manually during some tests, without considering the consequences.
It seems to be back in good shape now.
c_mani_stw0@Mother:~> ll /etc/resolv.conf
-rw-r--r--. 1 root root 81 27 ott 12.19 /etc/resolv.conf
c_mani_stw0@Mother:~>
Thanks for pointing it out.
system
Closed
November 3, 2026, 11:40am
14
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.