Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upTaskbar-Clock, hwclock, ClockVM(sys-net), sys-whonix, dom0 issues & improvements. #3972
Comments
RefinedSoftwareLLC
referenced this issue
Jun 8, 2018
Open
Installer option to automatically rescue existing install from common boot issues #3973
andrewdavidwong
added
enhancement
C: other
C: Whonix
labels
Jun 9, 2018
andrewdavidwong
added this to the Release 4.1 milestone
Jun 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RefinedSoftwareLLC commentedJun 8, 2018
•
edited
Edited 11 times
-
RefinedSoftwareLLC
edited Jun 9, 2018 (most recent)
-
RefinedSoftwareLLC
edited Jun 9, 2018
-
RefinedSoftwareLLC
edited Jun 9, 2018
-
RefinedSoftwareLLC
edited Jun 9, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
edited Jun 8, 2018
-
RefinedSoftwareLLC
created Jun 8, 2018
Qubes OS version:
R4.0
Affected component(s):
Taskbar-Clock-Display, hwclock, ClockVM(sys-net), sys-whonix, and dom0
Steps to reproduce the behavior:
Shutdown PC, Use BIOS to change hwclock to local time (mine does not let me state a timezone), Start Qubes OS.
Taskbar-Clock-Display has wrong time.
sys-whonix fails whonixcheck with CLOCK_SKEW.
In ClockVM
sudo hwclockshows -6 timezone offset (correct). In dom0sudo hwclockshows -7 timezone offset (wrong) but if look atsudo hwclock --debugand manually count, it seams to really be using -6. This may just be a glitch in util-linux 2.28.2 that is fixed by util-linux 2.32.Expected behavior:
Shutdown PC, Use BIOS to change hwclock to local time (mine does not let me state a timezone), Start Qubes OS.
Before starting sys-whonix Qube:
Either:
A) Changes hwclock to always be UTC (Is this required for sys-whonix?).
qvm-sync-clockto include, '--utc'with the final line of:subprocess.check_call(['hwclock', '--systohc', '--utc'], stdout=subprocess.DEVNULL)B) Lets hwclock stay in localtime.
-- hwclock is closer to localtime then UTC.
-- hwclock is within 1.5 hours of correct localtime without daylight savings offset.
-- hwclock is within 1.5 hours of correct localtime with daylight savings offset (Only if localtime uses daylight saving at all).
qvm-sync-clockto branch, runninghwclockwith either, '--utc'or, '--localtime'depending on the previous detection.Finally:
qvm-sync-clockto set the hwclock of both dom0 and ClockVM (its virtualized hardware).qvm-sync-clockonce.Also in Taskbar-Clock properties window:
America/in front. Currently you have to typeAmerica/Dinstead of justDto see "America/Denver".*Invalid timezonein red.Actual behavior:
See "Steps to reproduce the behavior"
General notes:
The correct solution is not any of the following: "Its the users fault. No one else has this problem. Its a Linux issue not Qubes. It is working as intended. Works on my machine. This OS requires the command line to fix/set its main clock."
Related issues:
https://groups.google.com/forum/#!topic/qubes-users/ce7wVKvUmBc
#3374
https://groups.google.com/forum/#!topic/qubes-users/triKbPnvZSw
#3469