| [chrony-users] System Clock is updated before the TAI-UTC offset is applied for PHC source in chrony 6.4.1 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] System Clock is updated before the TAI-UTC offset is applied for PHC source in chrony 6.4.1
- From: Simon Plackett <plackettsj1@xxxxxxxxx>
- Date: Fri, 16 Jan 2026 06:28:35 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768544927; x=1769149727; darn=chrony.tuxfamily.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PjyHn741v95XqOSoCHrbzakTENDvX9itS5t/3QaF5CQ=; b=KvnGtS160vLKkdCtU3pFq5k3bcO6qC6StQzEmIp/dj1IfHCtjWckzApN85Ri05tf1X h8COI5KZNTQMMr8KJ1NfA7qGL5cuATDd4ucCnKAX6Y1f6f1tWdY2TMBM09CVwukZxp22 gB8RIvSA9mG+uDIZ+IiEz66YfFna0iq2Mmgl/HamJ0vjjqDw6DFlAO4+cuQ9FhijOuXE k8UZ00xifJAXYXGT5fvfRXyoa/I40li3PVWfx5bUPhfrdMDLYkWLNDbJEnW0jgXJxmK7 fFzKN+dlOjGVfMU39aPHXMA0gJ5RvaINEwVEDgRuTydGwZTQT77z6SE/FgSvD2Ww17Ib HWGQ==
Hi,
Before I send a lot of detail I wondered if anyone had seen this
phenomenon. I have just upgraded my local chrony server to Trixie on
RPI 5 with chrony 4.6.1.
I had previously been using the ethernet NIC clock as a time source
with ptp4l and phc2sys, which worked fine.
During the upgrade I changed to leapseclist from leapsectz as the
latter does not work on Trixie.
The issue is that on startup the system clock is set by the PHC source
before the TAI-UTC adjustment has been applied which means it jumps
36+ seconds one way and then back again during the startup. This
obviously trashes the PHC as a source, and it didn't happen
previously.
Essentially PHC is chosen as the source, updates system clock (wrong
by ~37s) then the TAI-UTC adjustment is found which causes system time
to jump again in the opposite direction by ~37s
I can see this using systemctl status chrony or using journalctl.
I have currently turned PHC off again - but happy to turn back on and
send any logs etc that might be useful.
The other source is PPS from GPS, which is even more accurate on the
new versions :-)
Thanks
Simon
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.