hi,

On 04/18/2018 01:26 PM, [email protected] wrote:
> hi,
> 
> I opted for whonix when installing Qubes 4.0 and have decided not to use it 
> for now. I am having trouble deleting it.
> 
> In dom0 the command 
> 
> sudo qvm-remove whonix-ws-dvm
> 
> generates a traceback ending with the final message 
> 
> qubesadmin.exc.QubesException: Domain is in use 'whonix-ws-dvm'; details in 
> system log
> 
> (let me know if you would like me to paste in the whole traceback)
> 
> So my immediate question is how do I see the relevant log? It is not in the 
> dmesg of dom0. I have also looked from Qube Manager at the logs in the 
> context menu while right-clicking on the dom0 and whonix-ws-domain domains: 
> dom0 has only a xen log which does not appear relevent, and whonix-ws-domain 
> has the logs greyed out. I can't think of anywhere else to look.

tail /var/log/qubes/qubes.log

and

journalctl -f

should give you more info ; you'll probably see something like "vm
blahblah uses whonix-ws-dvm"


> I also used sudo qvm-ls and cannot see any sign of this domain being used 
> anywhere.

try:

qubes-prefs (for global qubes default)

and for each VM:

qvm-prefs vmname

and see if one of the vm is configured to use whonix (as template,
firewall, ...).

it's a bit cumbersome to go through each vm manually, you can automate
this with the following script:

for i in $(qvm-ls --raw-list); do qvm-prefs $i | grep -q whonix && echo
vm $i uses whonix; done

Note that the whonix* templates were likely installed with a rpm, so
once you changed your VMs' prefs not to use whonix, you'll have to
delete the rpm rather than using `qvm-remove`.

you can find which rpms are installed with `rpm -qa | grep -i whonix`

> 
> I did not not ask for whonix to be used for template updates, or more exactly 
> I believe I left that option unticked during setup but wonder how I can check 
> if that is where whonix is being used? Where would I look to check that, 
> please?
> 
> Note none of the whonix domains are started at boot, and none are showing as 
> running in Qube Manager, nor in the "Q" in the systray.
> 
> And in case I can't solve this, any tips please on how to remove a domain 
> when Qubes thinks it is still in use? 
> 
> 
> 
> At the moment the only way forward that I can think of is to backup my wanted 
> domains and reinstall... but my IT gut feeling is that would be overkill and 
> I am missing something that will seem obvious once it is explained...

re-installing is indeed overkill :)

hope the above helps !

ivan

> 
> regards
> River~~
> 
> 
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b6a52602-ed7f-2ddc-a548-891c0602e8c1%40maa.bz.
For more options, visit https://groups.google.com/d/optout.

Reply via email to