New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dom0 time not updated from ClockVM #2036

Closed
ghost opened this Issue May 27, 2016 · 3 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented May 27, 2016

Qubes OS version:

R3.1

Affected TemplateVMs:

N/A


Expected behavior:

Time displayed in Dom0 should match that of the ClockVM (And thus regularly check the ClockVM for the correct time settings)

Actual behavior:

Dom0 displays UTC time only, doesn't seem to copy the correct time settings from ClockVM

Steps to reproduce the behavior:

Fresh install, Sony Vaio

General notes:

I tried switching the ClockVM to sys-firewall hoping it would trigger a sync with the ClockVM. Changing the time settings inside the ClockVM doesn't do anything either.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 28, 2016

Member

Dom0 displays UTC time only, doesn't seem to copy the correct time settings from ClockVM

  1. You should be able to change your time zone settings in dom0. If you're using KDE, try right-clicking the clock widget, then clicking "Adjust Date and Time...". Leave "Set date and time automatically" unchecked, then, in the second "Time Zone" tab, choose your desired time zone.

  2. It's not clear from your description whether this is only a time zone issue or whether the time is wrong in addition to being an undesired time zone. If it's only a time zone issue, point 1 above should be sufficient.

    If the time is also incorrect, check /var/log/cron in dom0 to make sure qvm-sync-clock is running. Also check the actual script in /etc/cron.d/qubes-sync-clock.cron.

Member

andrewdavidwong commented May 28, 2016

Dom0 displays UTC time only, doesn't seem to copy the correct time settings from ClockVM

  1. You should be able to change your time zone settings in dom0. If you're using KDE, try right-clicking the clock widget, then clicking "Adjust Date and Time...". Leave "Set date and time automatically" unchecked, then, in the second "Time Zone" tab, choose your desired time zone.

  2. It's not clear from your description whether this is only a time zone issue or whether the time is wrong in addition to being an undesired time zone. If it's only a time zone issue, point 1 above should be sufficient.

    If the time is also incorrect, check /var/log/cron in dom0 to make sure qvm-sync-clock is running. Also check the actual script in /etc/cron.d/qubes-sync-clock.cron.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost May 28, 2016

You should be able to change your time zone settings in dom0. If you're using KDE, try right-clicking the clock widget, then clicking "Adjust Date and Time...". Leave "Set date and time automatically" unchecked, then, in the second "Time Zone" tab, choose your desired time zone.

That didn't work, it still displayed the time in UTC.

I did figure it out though, the time is correct, it's just that the clock widget was set to UTC.
It can be solved easily by right clicking the time widget, digital clock settings, time zone and then change 'clock defaults to' to the desired time zone.
I still think it's a bug though. The clockVM is supposed to figure out the time zone automatically for Dom0.

ghost commented May 28, 2016

You should be able to change your time zone settings in dom0. If you're using KDE, try right-clicking the clock widget, then clicking "Adjust Date and Time...". Leave "Set date and time automatically" unchecked, then, in the second "Time Zone" tab, choose your desired time zone.

That didn't work, it still displayed the time in UTC.

I did figure it out though, the time is correct, it's just that the clock widget was set to UTC.
It can be solved easily by right clicking the time widget, digital clock settings, time zone and then change 'clock defaults to' to the desired time zone.
I still think it's a bug though. The clockVM is supposed to figure out the time zone automatically for Dom0.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 29, 2016

Member

I still think it's a bug though. The clockVM is supposed to figure out the time zone automatically for Dom0.

The time zone is selected by the user during installation. If you (or anyone) can reproduce a situation in which you select a non-UTC timezone, but dom0 defaults to UTC, then we can reopen this as a bug.

Member

andrewdavidwong commented May 29, 2016

I still think it's a bug though. The clockVM is supposed to figure out the time zone automatically for Dom0.

The time zone is selected by the user during installation. If you (or anyone) can reproduce a situation in which you select a non-UTC timezone, but dom0 defaults to UTC, then we can reopen this as a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment