Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Debian-based templates for all VMs #111

Closed
redshiftzero opened this issue Jul 17, 2018 · 4 comments
Closed

Use Debian-based templates for all VMs #111

redshiftzero opened this issue Jul 17, 2018 · 4 comments
Milestone

Comments

@redshiftzero
Copy link
Contributor

redshiftzero commented Jul 17, 2018

We need to decide which VMs on the workstation will be using Fedora and which will be using Debian. Both OSs are supported by Qubes, so we can have a mixed architecture. @kushaldas, @emkll and I were discussing this and came up with the following list of pros/cons:

Debian

Pros

  • Can reuse packages e.g. MAT which are already packaged for Tails (and are not packaged for Fedora)
  • Longer LTS time: we need to have a story for users migrating to new templates, likely this will involve admin intervention (this is basically the equivalent of the manual tails upgrade process). The shorter the LTS time, the higher the burden on users/admins, and probability is higher that users will not do the update and will be running on VMs based on EOLed templates.
  • We build tons of deb packages already, can reuse this work

Cons

  • Older (stable) packages (though fully patched for CVEs)

Fedora

Pros

  • Can potentially leverage community connection through Kushal for packaging work
  • Updates regularly to latest packages from upstream
  • Default choice for Qubes

Cons

  • Shorter LTS time (1 year)
  • Less experience on existing team doing rpm packaging
  • Some packages that we want are not yet packaged for Fedora, including paxctld, so we would need to do this work
@redshiftzero redshiftzero added this to the 0.1alpha milestone Aug 13, 2018
@redshiftzero redshiftzero self-assigned this Aug 13, 2018
@redshiftzero redshiftzero changed the title Decide which VMs will use Fedora Use Debian-based templates for all custom VMs Aug 13, 2018
@redshiftzero redshiftzero changed the title Use Debian-based templates for all custom VMs Use Debian-based templates for all VMs Aug 13, 2018
@redshiftzero
Copy link
Contributor Author

In order to benefit from the LTS time of Debian, we need to migrate all VMs - including the NetVM and FirewallVM to Debian. In addition, we need Debian-based templates for all custom VMs (sd-gpg, sd-svs, etc.).

@conorsch
Copy link
Contributor

With a small tweak to the integration tests, the switch to Debian 9 works well. Submissions can be downloaded and viewed. The only issue was that the Qubes menu entry for sd-svs no longer had a Files choice. After installing nautilus in the debian-9 TemplateVM and syncing the app menus, file viewing worked as expected. Will try to automate that fix and flag in the PR test plan.

@eloquence
Copy link
Member

Cross-linking WIP PR for discoverability:
#155

@eloquence
Copy link
Member

As discussed in sprint planning today, switching out the Fedora base template for the system-level Debian base template has caused significant problems in review, as even small changes to that template on developer machines can cause errors. The PR for this issue, #155, has been instructive on a number of fronts, but @conorsch has said that he intends to close it in favor of work on #156 and #131. Consistent with that approach, I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants