Skip to content

Preloaded disposables should be refreshed on template updates #10026

@ben-grande

Description

@ben-grande

The problem you're addressing (if any)

Preloaded disposables are unnamed disposables and have the property is_preload set to True. GUI tools ignore updating or marking unnamed disposables as in need of restart. Meaning the disposable that will reflect the current state is preload-dispvm-max + 1, so it is bad for systems using 1 of them but much worse on a large limit.

The solution you'd like

Preloaded disposables should also have indication that it needs to be restarted to reflect the correct state of the system. To refresh the preloads, direct the following call to the disposable template: admin.vm.CreateDisposable+preload-autostart.

The value to a user and who that user might be

When having preloaded disposables, it's outdated state can be reflected in GUI tools such as qui-domains, qube manager and the updater to renew them.

Completion criteria checklist

Every GUI tool that reflects the outdated state of a qube should also apply for preloaded disposables, this includes:

  • qube manager
  • qui-domains

While tools that trigger the restart of qubes on update should also renew the preloads:

  • qubes-update

Metadata

Metadata

Assignees

Labels

C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.C: coreThis issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.pr submittedA pull request has been submitted for this issue.targets-4.3Feature planned for Qubes 4.3. Remove label if not implemented by release; leave if implemented.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions