Hardcoded template names in Qubes scripts

Just stumbled on this while troubleshooting unrelated issue.


These assume that Whonix templates are named whonix-gw and whonix-ws. In fact, my Whonix templates have always had custom names. Isn’t it a bad idea to hardcode template names? Would be better to use existing Whonix identification system, ie /usr/share/anon-<gw|ws>-base-files

Thank you for your diligence. That looking around often leads to squashing some bugs. :slight_smile:

Yes, there are various marker files that seem better suited for that.

  • /usr/share/whonix/marker
  • /usr/share/anon-gw-base-files/gateway
  • /usr/share/anon-ws-base-files/workstation

Feel free to open a Qubes issue.

Submitted: https://github.com/QubesOS/qubes-issues/issues/2490

1 Like
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]