Skip to main content

Limit Linux software updates

The Linux installer uses a local permission policy to limit cloud-requested replacement to reviewed versions and release sequences. Configure this policy and the update supervisor, then request an update or approve a staged rollout from your workspace. Saving the policy alone does not start polling or replace software. Discovery scope and software replacement permission are separate.

Use installer 0.47.0 or newer from the Linux binary preview. Verify and stage the complete installer directory before running it. The policy is stored outside the release directory, owned by root with mode 0600; the discovery account cannot change it.

Check local permission​

On an installed binary-agent host:

sudo "$HOME/verified-installer/quantum-ready-service" update-policy

No policy means permission is denied. permitted means only that the local policy is enabled and unexpired; each requested release is still checked against its exact limits. Installer 0.50.5 also returns the legacy field cloudUpdatesAvailable: false from this local command. That field does not query the platform or supervisor and must not be used to decide whether workspace updates are available. Check supervisor-status locally and Review software update in Agent controls.

Prepare a policy in the workspace​

In Agents > Agent controls > Software update status, select Review software update, choose the release, and open Prepare the local update policy.

  1. Choose 1 hour, 24 hours or 7 days. The displayed expiration is capped at the signed release's expiration and shown in both local time and UTC.
  2. Select Download update-policy.json. The file enables only that exact version and sequence; it contains no enrollment credential. Downloading makes no change to the host or its scan state. You can prepare it before pausing scans.
  3. Transfer it to your working folder on the agent host, inspect the JSON, then use Copy apply command with the verified installer. Applying the file replaces the existing policy, including other permitted versions; review that change first.
  4. Configure or check the supervisor. Back in the workspace, pause new scans, wait for idle acknowledgement, and confirm local setup before requesting the update.

Changing the selected release or permission duration clears the confirmation. The checkbox is your confirmation of host setup; downloading a file does not prove that it was applied. If permission expires before replacement, prepare and apply a new reviewed policy. For a maintenance window beyond the offered durations, use the manual policy below with an explicit reviewed expiration.

Approve a specific release manually​

Obtain the intended agent release's signed version and sequence through your approved release process. Choose an expiry for the permission. Save an update-policy.json file with those exact values. The example below is deliberately disabled and uses illustrative release values:

{
"schema": "sectigo.local-update-policy.v1",
"enabled": false,
"channel": "preview",
"versions": ["1.2.3"],
"minimumSequence": 100,
"maximumSequence": 100,
"expiresAt": "2027-01-01T00:00:00Z"
}

Replace the version, sequence bounds and expiry with your reviewed selection. Set enabled to true only when you intend to permit that release, then apply the file:

sudo "$HOME/verified-installer/quantum-ready-service" update-policy \
--policy-file "$PWD/update-policy.json"

This only saves permission. It does not download, stop, restart or replace the agent. Wildcard versions, arbitrary URLs, commands and unrecognized policy fields are rejected. A policy cannot override signature verification, the installed signing key, release expiry, architecture checks or downgrade protection.

Require the policy during an upgrade​

For an administrator-initiated upgrade, use the verified agent archive, manifest, detached signature, trusted key, expected version and minimum sequence as usual. Add --require-local-policy to the upgrade command to enforce local permission. Only upgrade accepts this flag.

The installer checks permission before staging and again before stopping the service. Missing, disabled or expired permission, an unapproved version or sequence, a previously installed sequence, or a lower version is rejected. Credentials and discovery scope stay in place. Startup failure restores the previous release where recovery succeeds.

Ordinary manual upgrade is still a root administrator operation and does not require this optional policy. The policy is not a restriction on root. Cloud-driven replacement through the supervisor always requires the policy-gated path.

Disable permission​

Set enabled to false in the policy file and apply it again with update-policy --policy-file. Check the saved status. Disabling permission persists across reboot and does not stop discovery. It cannot reverse an upgrade already committed.

If a policy is malformed or its ownership or permissions changed, the installer refuses to use it. Review the root-owned file at /etc/sectigo-quantum-ready/update-policy.json; do not make it writable by the discovery account. If an interrupted installation requires recovery, finish that recovery before changing policy.

Stage a reviewed update before replacement​

Installer 0.49.3 or newer can separate preparing an update from applying it. These commands are for an administrator on the agent host; they do not turn on automatic cloud rollout. Use a signed agent release with a sequence newer than the installed release, and approve its exact version and sequence in the local policy first.

Download the reviewed release into agent-release as described in the binary guide. Create a request from its manifest with a unique operation ID, the exact manifest digest and a one-hour deadline:

jq --arg operation "$(cat /proc/sys/kernel/random/uuid)" \
--arg digest "$(sha256sum agent-release/manifest.json | cut -d ' ' -f1)" \
--arg expiry "$(date -u -d '+1 hour' +%Y-%m-%dT%H:%M:%SZ)" \
'{schema:"sectigo.local-update-request.v1", operationId:$operation,
version:.agentVersion, sequence:.sequence,
manifestSha256:$digest, expiresAt:$expiry}' \
agent-release/manifest.json > update-request.json

sudo "$HOME/verified-installer/quantum-ready-service" stage-update \
--request-file "$PWD/update-request.json" \
--manifest "$PWD/agent-release/manifest.json" \
--signature "$PWD/agent-release/manifest.sig" \
--archive "$PWD/agent-release/sectigo-quantum-ready-linux-x86_64.zip" \
--trusted-key "$PWD/release-key.json"

Creating the request does not authenticate the manifest. The installer verifies the signed release, installed signing key, architecture, sequence and local permission before accepting it. It saves one protected staging envelope without stopping discovery. Request deadlines must be within 24 hours; commands, URLs and additional fields are rejected.

When ready, pause new claims in Scan admission and wait for active leases to finish. Apply the operation you staged:

operation_id="$(jq -er .operationId update-request.json)"
sudo "$HOME/verified-installer/quantum-ready-service" apply-update \
--operation-id "$operation_id"

The installer rechecks policy, expiry, signed content and the installed release before replacement. Disabling permission after staging prevents application. A changed installation requires a new request. Follow the upgrade verification steps before resuming claims; an installed process is not proof of successful discovery.

To discard a staged request, including after a successful application:

sudo "$HOME/verified-installer/quantum-ready-service" discard-update \
--operation-id "$operation_id"

Discard frees the single staging slot; it does not uninstall or roll back a release. It prevents an application that has not acquired the installation lock. If replacement already holds that lock, inspect its result before trying another action. After interruption, inspect service status and recover a pending installation journal first. Retrying application after it committed reports a changed installation instead of silently reinstalling. An unreadable staging envelope needs administrator inspection.