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

Update sys-* VM templates in unattended upgrades #262

Closed
kushaldas opened this issue May 30, 2019 · 4 comments · Fixed by #331
Closed

Update sys-* VM templates in unattended upgrades #262

kushaldas opened this issue May 30, 2019 · 4 comments · Fixed by #331

Comments

@kushaldas
Copy link
Contributor

Fedora 28 is now end-of-life [0], AppVMs that use Fedora 26 template should be updated to a more recent release. We should use Fedora 29 now or wait for a stable Fedora 30 template.

[0] : https://fedoraproject.org/wiki/End_of_life

@emkll @conorsch

@emkll
Copy link
Contributor

emkll commented May 30, 2019

Qubes 4.0.1 ships with Fedora29 templates by default, so we should recommend users start provisioning their workstation from 4.0.1, so that should resolve the situation in the near term.

However, per your link, it seems like Fedora releases are supported for ~1 year, so we should ensure we are in a position to upgrade and swap in those templates once Fedora29 becomes end-of-life.

We've swapped templates before in #122, but this might be a bit more complex since sys-net, sys-firewall and sys-usb use Fedora templates.

@redshiftzero
Copy link
Contributor

Wasn't this done as part of #245? (see 4ce8023)

@emkll
Copy link
Contributor

emkll commented May 30, 2019

#245 only downloads the templates and upgrades the packages within the template. It does not swap the templates for sys-net, sys-usb and sys-firewall VMs.

@conorsch
Copy link
Contributor

We should use Fedora 29 now

That ask was indeed accomplished in #245? / 4ce8023.

It does not swap the templates for sys-net, sys-usb and sys-firewall VMs.

That's still unimplemented, which poses a large problem for automatic transition away from EOL templates. There's already logic upstream to enforce the "default templates" (see sudo grep -rF default_template /srv/ in dom0), which we may be able to leverage. The challenge will be to update the TemplateVM settings the sys-* AppVMs, since changes are not permitting to running VMs:

[user@dom0 ~]$ qvm-prefs -s sys-firewall template debian-9
qvm-prefs: error: Cannot change template while qube is running

Resolving the problem of applying template changes to sys- VMs automatically is what this issue, or a replacement, should track.

@conorsch conorsch changed the title Use Fedora 29 templates Update sys-* VM templates in unattended upgrades Jun 4, 2019
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

Successfully merging a pull request may close this issue.

4 participants