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 upUpdate causes qubes-mount-dirs.service to not start on Whonix (Debian8) template / Missing libxen dependency #2484
Comments
andrewdavidwong
added
bug
C: Debian
labels
Dec 5, 2016
andrewdavidwong
added this to the Release 3.1 updates milestone
Dec 5, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Other reports of Debian problems after recent update: |
andrewdavidwong
added
the
P: major
label
Dec 5, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qzio
commented
Dec 5, 2016
|
I can confirm this. Qubes 3.1 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
agutl
Dec 5, 2016
I have the same issue (Qubes 3.1, Debian-8 & whonix). My debian-testing template without applied update still works.
I noticed that the package qubesdb-vm fails to install during the upgrade because it depends on libxen-4.6 (>= 2001:4.6.1-20) but libxen is version 2001:4.6.0-13+deb8u1.
Could this be the root of the issue?
agutl
commented
Dec 5, 2016
|
I have the same issue (Qubes 3.1, Debian-8 & whonix). My debian-testing template without applied update still works. I noticed that the package qubesdb-vm fails to install during the upgrade because it depends on libxen-4.6 (>= 2001:4.6.1-20) but libxen is version 2001:4.6.0-13+deb8u1. Could this be the root of the issue? |
andrewdavidwong
added
P: critical
and removed
P: major
labels
Dec 5, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 5, 2016
Member
In the mean time, you can use qvm-revert-template-changes if you haven't already restarted the affected templates.
|
In the mean time, you can use |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qzio
Dec 5, 2016
@andrewdavidwong Thanks for a quck workaround suggestion,
Sadly, that workaround doesn't work for me...
When I first encountered this issue, I restarted my appvm and templatevm..
I then shut them down and run qvm-revert-template-changes which looked ok.
But I'm not able to run any command in either templateVM or appVMs.
Sadly I don't have a reasonable up to date backup of my templateVM either.
Not sure if this is the appropriate place to ask for workarounds, but is it possible somehow to get /home/user from an appVM mounted somewhere so I can extract some files?
qzio
commented
Dec 5, 2016
|
@andrewdavidwong Thanks for a quck workaround suggestion, When I first encountered this issue, I restarted my appvm and templatevm.. Sadly I don't have a reasonable up to date backup of my templateVM either. Not sure if this is the appropriate place to ask for workarounds, but is it possible somehow to get /home/user from an appVM mounted somewhere so I can extract some files? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
agutl
Dec 5, 2016
@qzio You could try to reinstall the debian-8 template (https://www.qubes-os.org/doc/reinstall-template/) but I don't know if it already contains the latest updates.
I'll try that (to late for qvm-revert-template-changes for me, too).
agutl
commented
Dec 5, 2016
|
@qzio You could try to reinstall the debian-8 template (https://www.qubes-os.org/doc/reinstall-template/) but I don't know if it already contains the latest updates. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Dec 5, 2016
Member
Missing libxen-4.6 update seems to be the cause, just uploaded the update. Also, enabling testing repository should be enough (the package was there, but I missed uploading it to stable).
So, to fix the issue - start the template, access its console (sudo xl console debian-8) and install updates (sudo apt-get update && sudo apt-get -V dist-upgrade).
|
Missing libxen-4.6 update seems to be the cause, just uploaded the update. Also, enabling testing repository should be enough (the package was there, but I missed uploading it to stable). So, to fix the issue - start the template, access its console ( |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Dec 5, 2016
Member
Not sure if this is the appropriate place to ask for workarounds, but is it possible somehow to get /home/user from an appVM mounted somewhere so I can extract some files?
Your files are stored in /var/lib/qubes/appvms/<vm-name>/private.img. You can (re)install a fresh template from the repos as @agutl suggested, then base the AppVM on the fresh template to start it. Or you can try manually mounting private.img if that doesn't work, but I don't recommend doing this in dom0.
Your files are stored in |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
agutl
Dec 5, 2016
@marmarek Thx, just did that and it solves the issue :).
edit: Now I get ERROR: Failed to connect to qmemman: [Errno 111] Connection refused but that's probably unrelated. Hopefully I'm not offline after a restart...
edit2: Unrelated and gone after reboot.
agutl
commented
Dec 5, 2016
•
|
@marmarek Thx, just did that and it solves the issue :). edit: Now I get |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qzio
Dec 5, 2016
@marmarek thanks, this solved it for me as well.
@andrewdavidwong thank you for explaining!
For ref: sudo x1 console debian-8 did not work for me.
x1 command not found
But I was able to access the console using virsh
# virsh
virsh # connect xen
virsh # console debian-8
qzio
commented
Dec 5, 2016
|
@marmarek thanks, this solved it for me as well. @andrewdavidwong thank you for explaining! For ref:
But I was able to access the console using
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@qzio: |
entr0py
changed the title from
Update causes qubes-mount-dirs.service to not start on Whonix (Debian8) template
to
Update causes qubes-mount-dirs.service to not start on Whonix (Debian8) template / Missing libxen dependency
Dec 5, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
entr0py
Dec 5, 2016
Thanks all!
qvm-revert-template-changes is a lifesaver.
is it possible somehow to get /home/user from an appVM mounted
FWIW, you could also have manually started the mount-dirs service in the broken appVM:
sudo systemctl start qubes-mount-dirs.service
entr0py
commented
Dec 5, 2016
|
Thanks all!
FWIW, you could also have manually started the mount-dirs service in the broken appVM: |
entr0py
closed this
Dec 5, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
3n7r0p1:
`qvm-revert-template-changes` is a lifesaver.
|
entr0py commentedDec 5, 2016
Qubes OS version (e.g.,
R3.2):3.1
Affected TemplateVMs (e.g.,
fedora-23, if applicable):Whonix-13 (Debian-8)
Actual behavior:
System completes boot and achieves Green VM state.
/home/userdoes not mount. No user processes can be executed.Steps to reproduce the behavior:
Install latest updates (2016-12-04) to dom0 and Whonix templates. Reboot and launch VMs.
General notes:
kernel log shows:
Related issues: