Page MenuHomePhabricator

skip whonixsetup / whonix-setup-wizard disclaimer in qubes-whonix
Closed, ResolvedPublic

Description

if ! [ -f "/var/cache/whonix-setup-wizard/status-files/disclaimer.done" ]; then
    # Setup repository in template
    sudo mkdir -p /var/cache/whonix-setup-wizard/status-files
    sudo touch /var/cache/whonix-setup-wizard/status-files/whonix_repository.done

    XDG_CURRENT_DESKTOP=gnome sudo /usr/bin/whonix-setup-wizard setup -style gtk+
fi

What's the, if, the if ! [ -f "/var/cache/whonix-setup-wizard/status-files/disclaimer.done" ] good for? @nrgaway?

Joanna wants the disclaimer skipped, and I (@Patrick) don't mind, because I am not the distributor of qubes-whonix.

Skipping the disclaimer is supported by creating the /var/cache/whonix-setup-wizard/status-files/disclaimer.skip status file.

But then the /var/cache/whonix-setup-wizard/status-files/disclaimer.done status file will never be created.

Can we get rid of that if @nrgaway?

Details

Impact
Normal

Event Timeline

Patrick updated the task description. (Show Details)May 27 2015, 3:53 PM
Patrick set Impact to Normal.
Patrick added subscribers: Patrick, nrgaway.
Patrick created this task.
Patrick raised the priority of this task from to Normal.
Patrick assigned this task to nrgaway.May 27 2015, 4:45 PM

Currently Setup is run differently for the Template vs an AppVM.

The AppVM shows the initial disclaimer and sets up Tor.

The 'Template` only run repository setup as the updates are completed in the Template and not AppVM.

The disclaimer is only shown once; either in Template or AppVM. Same goes for the other setup, it is only shown once as well.

I could just set everything up to run by default with no disclaimer and Tor initially enabled as well as the repo set up to stable. Instructions can be provided on how to change these options. For instance, someone who needs to run a obsproxy can just not enable the network netvm when initially setting up Whonix which would allow them to set up proxy first. This way Whonix would run out of the box per-se.

Joanna wants the disclaimer skipped in qubes-whonix. Always.

And that's fine with me, because Qubes is the distributor of qubes-whonix. Not me. So any laws that apply to me, don't apply to her. And if she doesn't see need for such a disclaimer, I am happy she wants to abolish it.

By the way, I don't think there is no need to delete any status-files files and such. If it were, that would be an awful interface. And I think it's safe to say, we want nice interfaces. See:

kdesudo whonix-setup-wizard 
usage: whonix-setup-wizard [-h] {setup,repository,locale_settings}

That means by running [1],

  • kdesudo whonix-setup-wizard setup it starts Whonix connection wizard
  • kdesudo whonix-setup-wizard repository it starts Whonix repository tool
In T327#5098, @nrgaway wrote:

I could just set everything up to run by default with no disclaimer and Tor initially enabled as well as the repo set up to stable. Instructions can be provided on how to change these options. For instance, someone who needs to run a obsproxy can just not enable the network netvm when initially setting up Whonix which would allow them to set up proxy first. This way Whonix would run out of the box per-se.

That's another discussion for later. Joanna had a management VM in mind. I'll be creating a ticket later.

For now - for the purpose of Whonix 11 - this ticket, let's just create the /var/cache/whonix-setup-wizard/status-files/disclaimer.skip status-file to skip the disclaimer in qubes-whonix by default. And maybe prettify usage of whonix-setup-wizard by using the above syntax [1] with no need to delete any status-files just to start it.