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

Make SDW dom0 dnf repo config persistent #330

Closed
conorsch opened this issue Nov 12, 2019 · 0 comments · Fixed by #331
Closed

Make SDW dom0 dnf repo config persistent #330

conorsch opened this issue Nov 12, 2019 · 0 comments · Fixed by #331

Comments

@conorsch
Copy link
Contributor

conorsch commented Nov 12, 2019

The initial support for dom0 RPMs such as the qubes-template-securedrop-workstation config introduced in #260 has a major deficiency: the configuration does not persist across workstation reboots. That's due to the fact that the pubkey for the RPM repo is placed directly inside the sys-firewall AppVM.

Steps to reproduce

  1. Run make clean && make all
  2. Confirm that sudo qubes-dom0-update --enablerepo securedrop-workstation-dom0 qubes-template-securedrop-workstation completes successfully (although the template should already be installed, due to make all)
  3. Reboot workstation.
  4. Observe that sudo qubes-dom0-update --enablerepo securedrop-workstation-dom0 qubes-template-securedrop-workstation does not complete successfully.

Suggested changes

In order for the config to persist, we have two options:

  1. Add the configuration to the TemplateVM for sys-firewall (e.g. fedora-30)
  2. Add the configuration to /rw/config/ in sys-firewall, so the config is restored on each boot of the AppVM.

Between the two, 2) is preferable: we don't want all Fedora-based machines to include the dom0 pubkey repo info, and we don't want to have to update the Template settings every time a Fedora version goes EOL (see #329).

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.

1 participant