Time not synchronized via sys-net #7775
Labels
affects-4.1
This issue affects Qubes OS 4.1.
C: other
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
How to file a helpful issue
Qubes OS release
4.1.1
Brief summary
When the network cable is not plugged in when booting Qubes OS (at least), and the cable is plugged in later (and network connection was established successfully), then the system dime as displayed in the top of the GUI is not correct.
sys-net (Fedora 36) has the clocksync service enabled.
Steps to reproduce
The only indication I found in the logs of sys-net was:
[2022-09-18 22:25:37] Logfile Opened
...
[2022-09-18 22:25:41] [ 0.284631] PM: RTC time: 20:25:41, date: 2022-09-18
...
[2022-09-18 22:25:42] [ 0.760552] rtc_cmos 00:02: registered as rtc0
[2022-09-18 22:25:42] [ 0.760602] rtc_cmos 00:02: setting system clock to 2022-09-18T20:25:42 UTC (1663532742)
[2022-09-18 22:25:42] [ 0.760630] rtc_cmos 00:02: alarms up to one day, 114 bytes nvram, hpet irqs
...
[2022-09-18 22:25:49] Fedora Linux 36 (Thirty Six)
[2022-09-18 22:25:49] Kernel 5.15.63-1.fc32.qubes.x86_64 on an x86_64 (hvc0)
[2022-09-18 22:25:49]
...
[ 31.198175] r8169 0000:00:06.0 ens6: Link is Up - 1Gbps/Full - flow control rx/tx
[2022-09-18 22:26:12] [ 31.198205] IPv6: ADDRCONF(NETDEV_CHANGE): ens6: link becomes ready
...
[2022-09-18 22:26:15] [ 34.283062] systemd-journald[266]: Time jumped backwards, rotating.
...
[2022-09-18 22:41:07] [ 926.560952] audit: type=1131 audit(1663526471.083:132): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
So you see nothing changed the clock. The clock was expected to jump back two hours as the RTC runs local time (CEST):
Expected behavior
Clock should be corrected.
Actual behavior
Clock isn't corrected.
Status in sys-net is:
The text was updated successfully, but these errors were encountered: