Dom0 Assumes UTC Time Despite Correct Timezone Setting in Qubes OS 4.2.4 Installation

I’ve encountered an odd issue with a fresh Qubes OS installation where dom0 assumes the system time is UTC instead of my local time and adjusts the displayed local time incorrectly, even though I set the correct timezone during installation.

Over the past 1.5 years, I’ve installed Qubes OS on over a dozen systems, and this issue has only occurred on two machines, including this new one.

Even running sudo qvm-sync-clock does not correct the time but manually setting the time with sudo timedatectl set-time corrects the issue. But I want to understand why does dom0 interpret the system time as UTC despite the correct timezone setting?

bios?

brand: |
Dell Inc.
model: |
Latitude 5430
bios: |
1.25.0
cpu: |
12th Gen Intel(R) Core™ i7-1265U

Hi marcos-morar

What do you get with:

ls -al /etc/localtime

in a dom0 terminal?

:slight_smile:

lrwxrwxrwx 1 root root 32 Jan 9 2024 /etc/localtime

It should be a soft link, /etc/localtime → …/usr/share/zoneinfo/$CONTINENT/$CITY
Use timedatectl in dom0 to fix.

2 Likes

It is as you said like this:
/etc/localtime → …/usr/share/zoneinfo/$CONTINENT/$CITY

I thought you was asking what time this command is showing so I only showed the time.

You also showed the length (32) which de-anonimises you somewhat. :wink:

No worries. There are literally dozens of time zones that meet this criterion.
:upside_down_face: