On 26/1/26 21:20, Barry Scott wrote:

On 25/01/2026 23:49, [email protected] wrote:
Both date and time. The date may be a few days back, when I last shutdown the 
vm.

I am on linux f42.

When I run timedatectl on a system without an RTC this is what I see:

# timedatectl
                Local time: Mon 2026-01-26 10:13:11 GMT
            Universal time: Mon 2026-01-26 10:13:11 UTC
                  RTC time: n/a
                 Time zone: Europe/London (GMT, +0000)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no

And this is what I see in my KVM f43 kde VM:

$ timedatectl
                Local time: Mon 2026-01-26 10:16:16 GMT
            Universal time: Mon 2026-01-26 10:16:16 UTC
                  RTC time: Mon 2026-01-26 10:16:16
                 Time zone: Europe/London (GMT, +0000)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no

Notice the line "RTC time:" in the VM is showing a data and time and is correct 
for me.

I see:

$ timedatectl
               Local time: Mon 2026-01-26 22:22:11 AEDT
           Universal time: Mon 2026-01-26 11:22:11 UTC
                 RTC time: Mon 2026-01-26 11:22:11
                Time zone: Australia/ACT (AEDT, +1100)
System clock synchronized: no
              NTP service: active
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

So I followed the suggestion and I now see:

$ timedatectl
               Local time: Mon 2026-01-26 10:16:16 GMT
           Universal time: Mon 2026-01-26 10:16:16 UTC
                 RTC time: Mon 2026-01-26 10:16:16
                Time zone: Europe/London (GMT, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

I will look at the log after the next boot.

In the XML for my VM I see this reference to RTC:

   <clock offset="utc">
     <timer name="rtc" tickpolicy="catchup"/>
     <timer name="pit" tickpolicy="delay"/>
     <timer name="hpet" present="no"/>
   </clock>
same here.

I used Virtual Machine Manager to create and run the VM.

same here.

Barry


Thanks Barry.

--
Eyal at Home ([email protected])
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to