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 upsys-whonix launch error #3469
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@adrelanos which part of this output is unexpected? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jan 16, 2018
Member
NTP enabled: yes
Should be disabled by:
https://github.com/Whonix/sdwdate/blob/master/debian/sdwdate.postinst
## Deletes /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service.
## Otherwise timedatectl still thinks systemd-timesyncd is enabled.
timedatectl set-ntp false >/dev/null 2>&1 || true
## Make sure it gets really deleted even if timedatectl does not work.
rm --force /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
The question is what re-enabled it?
Should be disabled by: https://github.com/Whonix/sdwdate/blob/master/debian/sdwdate.postinst
The question is what re-enabled it? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 17, 2018
Member
I guess here: https://github.com/QubesOS/qubes-core-agent-linux/blob/master/vm-systemd/75-qubes-vm.preset#L97
| enable systemd-timesyncd.service
together with systemctl preset-all at the end of installation
But there is also https://github.com/QubesOS/qubes-core-agent-linux/blob/master/vm-systemd/systemd-timesyncd.service.d/30_qubes.conf, which should prevent starting the service everywhere but sys-net.
@mossy-nw can you check if the service is really running? systemctl status systemd-timesyncd.service
|
I guess here: https://github.com/QubesOS/qubes-core-agent-linux/blob/master/vm-systemd/75-qubes-vm.preset#L97 But there is also https://github.com/QubesOS/qubes-core-agent-linux/blob/master/vm-systemd/systemd-timesyncd.service.d/30_qubes.conf, which should prevent starting the service everywhere but sys-net. @mossy-nw can you check if the service is really running? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mossy-nw
Jan 17, 2018
Sure. In sys-whonix, correct?
user@host:~$ systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled)
Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
└─30_qubes.conf, 40_sdwdate.conf
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
So it's loaded (enabled) but inactive (dead)? I'm not sure if this means it's really running or no. Thanks!
mossy-nw
commented
Jan 17, 2018
|
Sure. In sys-whonix, correct?
So it's loaded (enabled) but inactive (dead)? I'm not sure if this means it's really running or no. Thanks! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mossy-nw
Jan 17, 2018
FWIW it's running identically in sys-net:
[user@sys-net ~]$ systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled; v
Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
└─30_qubes.conf
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
also running in sys-usb:
[user@sys-usb ~]$ systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled; v
Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
└─30_qubes.conf
Active: inactive (dead)
Condition: start condition failed at Tue 2018-01-16 22:18:41 PST; 40min ago
└─ ConditionPathExists=/var/run/qubes-service/clocksync was not met
Docs: man:systemd-timesyncd.service(8)
and in an offline (via qvm-prefs offlineVM netvm "") appVM:
[user@offlineVM ~]$ systemctl status systemd-timesyncd.service
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled; v
Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
└─30_qubes.conf
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
so looks like the service is starting everywhere.
mossy-nw
commented
Jan 17, 2018
|
FWIW it's running identically in sys-net:
also running in sys-usb:
and in an offline (via
so looks like the service is starting everywhere. |
andrewdavidwong
added
bug
C: Whonix
labels
Jan 17, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Jan 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jan 29, 2018
Member
timedatectl: caches NTP enablement state, better shouldn't:
systemd/systemd#1329
|
|
added a commit
to Whonix/whonixcheck
that referenced
this issue
Jan 29, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 29, 2018
Member
According to systemd/systemd#1329 (comment), sdwdate.service should have Conflicts=systemd-timesyncd.service
|
According to systemd/systemd#1329 (comment), |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jan 31, 2018
Member
|
Marek Marczykowski-Górecki:
According to systemd/systemd#1329 (comment), `sdwdate.service` should have `Conflicts=systemd-timesyncd.service`
It has.
https://github.com/Whonix/sdwdate/blob/master/lib/systemd/system/sdwdate.service#L17
Conflicts=systemd-timesyncd.service
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 1, 2018
Member
FWIW it's running identically in sys-net:
Should be really running there... As you can see, there is no "start condition failed", so it was prevented by something else. Can't find anything related in logs.
Should be really running there... As you can see, there is no "start condition failed", so it was prevented by something else. Can't find anything related in logs. |
marmarek
referenced this issue
Feb 5, 2018
Closed
sys-net doesn't synchronize time with NTP servers #3333
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mossy-nw
Feb 6, 2018
I don't see this issue anymore in R4.0_rc4, so is it OK to close this issue? Don't want to close it if you all are still wanting to follow up on this or related things. Thanks!
mossy-nw
commented
Feb 6, 2018
|
I don't see this issue anymore in R4.0_rc4, so is it OK to close this issue? Don't want to close it if you all are still wanting to follow up on this or related things. Thanks! |
marmarek
closed this
Feb 6, 2018
andrewdavidwong
added
the
resolved
label
Feb 7, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mossy-nw
Feb 8, 2018
Sorry everyone @marmarek @andrewdavidwong @adrelanos it looks like on a fresh R4.0_rc4 install the original Unexpected results by timedatectl error message is still appearing. Apologies for not waiting to do more thorough testing before reporting it resolved.
mossy-nw
commented
Feb 8, 2018
•
|
Sorry everyone @marmarek @andrewdavidwong @adrelanos it looks like on a fresh R4.0_rc4 install the original |
andrewdavidwong
reopened this
Feb 9, 2018
andrewdavidwong
removed
the
resolved
label
Feb 9, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
There was no update. Will be fixed in Whonix 14.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mossy-nw
commented
Feb 14, 2018
|
Wonderful. Thank you for all the work and care you take on this project! |
andrewdavidwong
closed this
Feb 15, 2018
andrewdavidwong
added
the
resolved
label
Feb 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
RefinedSoftwareLLC
commented
Jun 2, 2018
andrewdavidwong
reopened this
Jun 3, 2018
andrewdavidwong
added
P: major
and removed
resolved
labels
Jun 3, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
esote
Jun 6, 2018
@adrelanos Another thing to note is that this commit hasn't made it to the current/stable repository. All of my Whonix VMs are up to date, and yet I was initially unable to hide the error because I was missing the .conf extension.
When will those changes make it to the stable repo, or equivalently, how far away is Whonix 14?
esote
commented
Jun 6, 2018
|
@adrelanos Another thing to note is that this commit hasn't made it to the current/stable repository. All of my Whonix VMs are up to date, and yet I was initially unable to hide the error because I was missing the When will those changes make it to the stable repo, or equivalently, how far away is Whonix 14? |
RefinedSoftwareLLC
referenced this issue
Jun 8, 2018
Open
Taskbar-Clock, hwclock, ClockVM(sys-net), sys-whonix, dom0 issues & improvements. #3972
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
vladionescu
Jun 27, 2018
What is the workaround here? I updated earlier today and now I can't start VMs, breaking my workflow.
vladionescu
commented
Jun 27, 2018
|
What is the workaround here? I updated earlier today and now I can't start VMs, breaking my workflow. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 27, 2018
Member
Just to clarify - is it sys-whonix not starting at all, or displaying "Unexpected results by timedatectl" error message after the startup? The latter looks scary, but is a false positive (see discussion above) and in fact shouldn't break anything.
Do you see any other problem?
|
Just to clarify - is it sys-whonix not starting at all, or displaying "Unexpected results by timedatectl" error message after the startup? The latter looks scary, but is a false positive (see discussion above) and in fact shouldn't break anything. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
vladionescu
Jun 27, 2018
It's displaying the error message and the VM starts, but connectivity in that VM appears to be broken:
- DispVMs based on whonix-ws-dvm have no outbound connectivity using Tor Browser
- Can't update whonix-gw template
- Can't update whonix-ws template
There's a chance this is a coincidence (saying this because I haven't had time to do a root cause and figure out whether the issues are related), but the issues started happening at the same time and I never had connectivity issues with whonix VMs prior. My other VMs/templates are unaffected.
vladionescu
commented
Jun 27, 2018
|
It's displaying the error message and the VM starts, but connectivity in that VM appears to be broken:
There's a chance this is a coincidence (saying this because I haven't had time to do a root cause and figure out whether the issues are related), but the issues started happening at the same time and I never had connectivity issues with whonix VMs prior. My other VMs/templates are unaffected. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jun 27, 2018
Member
This very issue #3469 certainly (and I say that seldom) is only a false positive graphical user interface message warning.
For everything else, please create new issues.
|
This very issue #3469 certainly (and I say that seldom) is only a false positive graphical user interface message warning. For everything else, please create new issues. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jun 27, 2018
Member
status of Whonix 14 development:
Besides the known bugs on the Whonix and Qubes issue trackers, Whonix 14 should be ready as stable Whonix 14 release. Only waiting for new Qubes templates to be built and tested before the Whonix 14 release will be made. (#4016)
https://www.whonix.org/wiki/Upgrading_Whonix_13_to_Whonix_14
|
status of Whonix 14 development:
https://www.whonix.org/wiki/Upgrading_Whonix_13_to_Whonix_14 |
mossy-nw commentedJan 16, 2018
•
edited
Edited 1 time
-
mossy-nw
edited Jan 16, 2018 (most recent)
Qubes OS version:
R4.0_rc3
Affected TemplateVMs:
whonix-gw
Steps to reproduce the behavior:
launch sys-whonix
Expected behavior:
sys-whonix should start without errors
Actual behavior:
whonix seems to be working normally, but gives a popup error:
General notes:
apologies if this is a bug that should be reported directly to Whonix devs instead of QubesOS
Related issues: