Bug #944
hwclock -w 更改时间后,断电2分钟后重新上电,发现 Local time/Universal time自动改变
0%
Description
1. 执行date -s "2021-04-22 00:00:00" | hwclock -w 更改时间
root@LPA3588:~# date -s "2021-04-22 00:00:00" | hwclock -w
root@LPA3588:~# timedatectl
Local time: Thu 2021-04-22 00:00:03 UTC
Universal time: Thu 2021-04-22 00:00:03 UTC
RTC time: Thu 2021-04-22 00:00:03
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
2.断电2分钟后重新上电,timedatectl查看时间,发现 Local time/Universal time自动改变
root@LPA3588:~# timedatectl
Local time: Tue 2023-11-21 20:59:13 UTC
Universal time: Tue 2023-11-21 20:59:13 UTC
RTC time: Thu 2021-04-22 00:02:39
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no