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

qvm-run should unpause paused VMs #5967

Closed
3hhh opened this issue Jul 26, 2020 · 11 comments · Fixed by QubesOS/qubes-core-admin-client#157
Closed

qvm-run should unpause paused VMs #5967

3hhh opened this issue Jul 26, 2020 · 11 comments · Fixed by QubesOS/qubes-core-admin-client#157

Comments

@3hhh
Copy link

3hhh commented Jul 26, 2020

Qubes OS version
4.0

Affected component(s) or functionality
qvm-run

Brief summary
qvm-run/qvm-run -a should unpause paused VMs

To Reproduce

qvm-pause somevm
qvm-run somevm xterm

Expected behavior
xterm is started

Actual behavior
After a while (I guess qrexec timeout) command failed with code: 1

Additional context
qvm-run -a starts VMs to reach the goal of executing the command.

So why not also unpause paused VMs?

qvm-run -n should still not change the VM state (i.e. keep the VM paused).

Maybe the doc would have to be changed to something like -a = make the VM run/operate and -n = do not change the run state of the VM.

Solutions you've tried
qvm-unpause somevm before qvm-run obviously. It's rather inconvenient for manual usage though.

Relevant documentation you've consulted

Related, non-duplicate issues

@3hhh 3hhh added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Jul 26, 2020
@andrewdavidwong andrewdavidwong added C: core P: minor Priority: minor. The lowest priority, below "default." T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. and removed P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Jul 27, 2020
@andrewdavidwong andrewdavidwong added this to the TBD milestone Jul 27, 2020
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue Aug 5, 2020
If qvm-run is run with the autostart option (true by default), it will
also unpause paused VMs.

fixes QubesOS/qubes-issues#5967
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue Aug 5, 2020
If qvm-run is run with the autostart option (true by default), it will
also unpause paused VMs.

fixes QubesOS/qubes-issues#5967
@qubesos-bot
Copy link

Automated announcement from builder-github

The package python3-qubesadmin-4.1.8-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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.1.8-1 has been pushed to the r4.1 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python3-qubesadmin-4.1.9-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.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package You has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.32-1.fc25 has been pushed to the r4.0 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
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 stable repository for the CentOS centos8 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.0.32-1+deb10u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin-client (including package python2-qubesadmin-4.0.32-1.fc32) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

3hhh added a commit to 3hhh/qubes-terminal-hotkeys that referenced this issue Dec 8, 2020
- removed workaround for
QubesOS/qubes-issues#5967 as it's fixed
upstream
- doc
- set correct exit code on qvm-start
@andrewdavidwong andrewdavidwong modified the milestones: Release TBD, Release 4.0 updates Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment