Page MenuHomePhabricator

remove /etc/hosts from qubes-whonix package
Closed, InvalidPublic


Why ship ?

I think those are likely to conflict with anon-base-files (, with

Can you remove those from qubes-whonix package or are they required for something? I think at the moment those files are not in use anyhow. Due to anon-base-files use of config-package-dev and .anondist extension, those will take precedence.

Event Timeline

Patrick raised the priority of this task from to Normal.
Patrick updated the task description. (Show Details)
Patrick added a project: Qubes.
Patrick added subscribers: Patrick, WhonixQubes, nrgaway.

Currently the qubes-whonix package is the last packages to be installed when creating the Whonix templates.

The process of creating a Whonix template goes something like this:

  • Create initial Debian image (debootstrap)
  • Configure locale, keyboard
  • Prepare image for Whonix (install / configure required depends)
  • Install Whonix using Whonix build scripts in chroot ENV
  • Install additional software as expected for qubes-templates (some gnome stuff, etc)
  • Install systemd; any other repo definitions
  • Install all required Qubes packages
  • Install python-guimessages, whonix-setup-wizard then last qubes-whonix

The /etc/hosts is then required to remove default Qubes hosts and therefore is required or Whonix will report an error message that hosts is not setup correctly.

nrgaway claimed this task.

So one of Qubes' packages recreates it?

I advice to fix this in a later version of Qubes upstream and in the qubes-whonix version.