Skip to content

Add a feature to block starting a qubeΒ #9622

@marmarek

Description

@marmarek

How to file a helpful issue

The problem you're addressing (if any)

Sometimes user wants to prevent starting a qube. A qube may be started in several way (explicit qvm-start call, menu entry, a qrexec call, updater, etc). Disabling each of those methods separately is tedious and often easy to miss some.

The solution you'd like

Add a feature to prevent starting a qube with specific message.

The value to a user, and who that user might be

Useful for qubes that user want to not start for any reason. Some examples include:

  • templates user really wants to keep in the original, unmodified state
  • known compromised qubes, waiting for some forensics analysis or restoring
  • qube that user wants to re-configure and need not running for this (for example change its template) but the qube is a target of a frequent qrexec calls

Completion criteria checklist

(This section is for developer use only. Please do not modify it.)

  • decide on a specific mechanism, my proposal is disabled "feature" (with a content being free-form reason why it's disabled), but I'm open for other options, including "property" instead of a "feature"
  • check for this flag in the start() method and raise an exception if the flag is set (including the user-provided reason in the message)
  • add a test

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

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions