Latest update breaks Tor Browser in disposables

After updating starting a disposable based on whonix-workstation-17, specifically the default whonix-workstation-17-dvm that is created on system install (mine is unmodified to my knowledge) reports that:

Tor Browser is currently not installed. (Folder /home/user/.tb/tor-browser does not exist.)

This means that it has to be downloaded, extracted and installed every time a disposable is created, a lengthy process.

1 Like

You need to update Tor Browser in the whonix-workstation-17 TemplateVM for it to apply across anon-whonix, whonix-workstation-17-dvm, and any other user-created VMs based on it.

Can you reproduce this issue? Steps are as simple as opening Tor Browser in a new disposable after the latest update.

1 Like

Yes, I can reproduce the issue after the latest template update.

1 Like

Came here to report the same issue. I have updated the tempate VM and re-downloaded Tor Browser multiple times + reboots. The problem persists. Can someone post a solution or workaround?

2 Likes

I tracked down the source of the issue. The problem lies in this line, specifically, privleapd is not yet running when the script itself is run.

A temporary workaround it to edit /etc/systemd/system/multi-user.target.wants/tb-updater-dispvm.service

You need to comment out the line Before=sysinit.target

And add privleapd.service to the After= line. Then it should work.

@Patrick

3 Likes

Related:

Do you make this changes in the TemplateVM?

1 Like

Yes in the TemplateVM, then turn it off before starting a disposable based on it. When a fix is pushed in an update, the file will be replaced and the temporary workaround will be undone (which is what you want).

3 Likes

Came here to report the same thing in the OP.

I would much rather wait for a solution from @Patrick to be pushed to qubes-whonix.


In the meanwhile here are a list of the things I tried that haven’t solved the issue:

  • tried doing update-torbrowser command on the whonix-workstation-17 template. The currently installed version and online version of tor browser is reported to be the same. However, I still preessed y key to download the tor browser again in the template. Installation goes through without errors. Shut down the template. Spawn a new tor browser inside a dispXXXX qube. The error reported in the OP persists.
1 Like

The breaking change was reverted and the issue is resolved. If you used the workaround, you do not have to do anything to undo it, it will be undone after updating.

1 Like

Has there been an update to whonix-templates on qubesos? EDIT: yes. whonix-workstation-17 received an update, and I can now start tor browsers inside dispXXXX in qubes-whonix.

1 Like

Changes reverted.

Should be fixed.

1 Like