Skip to content

Can't change property (referencing a qube) or state of qube when there are preloaded disposables in chain #10227

@ben-grande

Description

@ben-grande

Qubes OS release

Qubes OS 4.2

Brief summary

Changing template is blocked if there are descendants running. In this case, preloaded disposables are always up and many current actions need a workaround that should be done transparently.

Code changes in

  • qubes-core-admin
  • qubes-manager

Steps to reproduce

  1. qubes-prefs default-template fedora-42-xfce
  2. qvm-features dom0 preload-dispvm-max 1
  3. qubes-prefs default-template debian-13-xfce

Expected behavior

Able to switch templates if the only running qubes are preloaded disposables.

Actual behavior

Not able to switch templates.

https://openqa.qubes-os.org/tests/152980#step/switch_template/13

Additional information

  • Changing disposable template property template_for_dispvms
  • Changing template of disposable template
  • Renaming template via qube manager
  • Renaming disposable template via qube manager
  • Removing disposable template via qube manager
  • Shutting down AudioVM
  • Shutting down NetVM

Metadata

Metadata

Assignees

Labels

C: coreThis issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.diagnosedTechnical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions