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

Support pkg.uptodate salt state in dom0 #2089

Closed
marmarek opened this Issue Jun 20, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Jun 20, 2016

Currently it always says the system is up to date. This isn't surprising knowing how dom0 updates are handled (dom0 have local repository, which is supplied with requested packages by qubes-dom0-update tool). pkg.uptodate uses pkg.list_upgrades function, which itself query repository using repoquery for list of updates.

As Fedora repository metadata are unsigned, we don't want to expose dom0 for them (either directly, or indirectly through repoquery running in UpdateVM).
But we can request qube-dom0-update to download updates, transfer them to dom0 (where package signatures will be checked) and rebuild repository metadata.

@marmarek marmarek added this to the Release 3.2 milestone Jun 20, 2016

marmarek added a commit to marmarek/qubes-mgmt-salt-dom0-update that referenced this issue Jul 1, 2016

update qubes_dom0_update.py based on yumpkg.py from salt-2015.5
This is mostly to better support DNF. Although most of the commands are
unusable on Qubes dom0 because of no direct network access, it's easier
to maintain this file as a whole in sync with yumpkg.py.

QubesOS/qubes-issues#2089
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 3, 2016

Member

Automated announcement from builder-github

The package qubes-mgmt-salt-dom0-update-3.2.0-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Jul 3, 2016

Automated announcement from builder-github

The package qubes-mgmt-salt-dom0-update-3.2.0-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 25, 2016

Member

Automated announcement from builder-github

The package qubes-mgmt-salt-dom0-update-3.2.0-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jul 25, 2016

Automated announcement from builder-github

The package qubes-mgmt-salt-dom0-update-3.2.0-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status May 7, 2018

Closed

mgmt-salt-dom0-update v3.2.0 (r3.2) #525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment