Agent updates¶
Agents are updated from the console, page Agents:
- The server checks
LIMDM_RELEASE_REPOon GitHub every six hours (or on Check for new versions), downloads the agent packages and verifies them against the release'sSHA256SUMSandSHA256SUMS.sig. - An admin approves a version. Nothing is installed before that.
- Rollout: with Update agents automatically, devices tagged with the Pilot tag get
an approved version at their next check in, all others after the delay (default 7
days) spread over the Rollout window (default 24 hours): each device gets the version
at its own fixed offset within the window (derived from device and version), so a release
reaches the fleet evenly instead of within one poll minute. 0 hands it to all at once.
The server serves at most
LIMDM_UPDATE_DOWNLOADSpackages at once per instance (default 20); further downloads wait up to 20 seconds, then get 503 withRetry-Afterand the agent tries again later without counting a failed update. Update agent… on a device page installs the newest approved version, or any fetched version that is not blocked and newer than the running one, on that device only, regardless of policy and delay. Picking a version counts as its approval for this device. Agents never downgrade: an older pick is dropped. Outdated agents on the Agents page updates single devices to the newest approved version. - The agent checks the Ed25519 signature of the checksums against the release key
compiled into it (an agent built without one refuses every self update and reports
why), downloads the package for its distribution and architecture over mTLS, verifies
the checksum, keeps a copy of the running binary in
/var/lib/limdm/rollbackand installs the package in a separate transient systemd unit (a detached process on OpenRC) with apt, dnf, zypper, pacman or apk. - The new agent confirms the update at its first start. If it does not within 15 minutes,
the watchdog (
/usr/lib/limdm/limdm-watchdog.sh, plain shell) restores the previous binary and restarts the agent, which reports the rollback.
The device page shows the update state (offered, ok, failed, rolled_back); every
outcome is in the audit log as agent.update. After three failed or rolled back devices a
version is blocked automatically. Admins can block and approve versions at any time; only
newer versions are offered, so blocking stops a rollout but does not downgrade devices.
How releases are signed is in Releases and agent updates.
Hosting the packages in your own repository and updating with the package manager works as well.