qubes-issues
qubes-issues copied to clipboard
Using qubesctl to update dom0 appears to output some literal code
Qubes OS release
Qubes 4.1.1
Brief summary
I think attempting to update dom0 is outputting some literal code instead of running the code.
Steps to reproduce
In dom0, run:
sudo qubesctl --show-output state.sls update.qubes-dom0 2>&1
Expected behavior
Normal output; no literal code.
Actual behavior
This is in the output:
Name: if qubes-dom0-update --quiet --assumeyes --clean --action=clean expire-cache >/dev/null 2>&1; then
echo "result=True comment='Cache cleaned'"
else
echo "result=False comment='Could not clean cache'"
fi
I'm guessing that I, as the user, am only supposed to see either 'Cache cleaned' or 'Could not clean cache'.
On second look, these are the next lines of the output:
ESC[0;32m Result: TrueESC[0;0m
ESC[0;32m Comment: Cache cleanedESC[0;0m
So I guess it's working correctly and this is just an extremely verbose "name" that should probably be something more user-facing.
You guessed correctly @andrewdavidwong. I will fix this.
Automated announcement from builder-github
The component mgmt-salt-dom0-update (including package qubes-mgmt-salt-dom0-update-4.1.12-1.fc32) has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
Automated announcement from builder-github
The component mgmt-salt-dom0-update (including package qubes-mgmt-salt-dom0-update-4.1.14-1.fc32) has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.