Skip to main content

Runtime behaviour

What a DeskOS image does after it boots: baseline, Flatpaks, desktop, boot, trust, updates, /etc drift and the provisioning boundary. The compiler is architecture.md.

Managed baseline​

DeskOS manages what an organization requires for any authorized user, before a $HOME exists. Personal tooling (Homebrew, mise, SDKMAN, dotfiles, personal Toolboxes) stays outside the model.

OrderSourcePin
1distribution RPMthe repository's version
2official vendor repository, or a vendor-signed RPM fileURL and checksum per update
3upstream binaryexact version, https URL and SHA-256
4system Flatpakapplication id and branch
5managed web applicationlater

BinaryArtifact installs into /usr/local/bin with mode 0755 or 0555. The fetch uses curl, which the platform's image must provide; a base that neither ships nor declares it fails late at build.

The backend resolves symlinks when it creates the destination, because `install

-Dcannot traverse a/usr/local` that is a dangling symlink during the build.

A single-file artifact may declare a desktopEntry. The lowerer emits the entry, the icon and an icon-cache update; Exec and TryExec are the artifact's destination, never authored text.

PackageSet.rpmFiles needs the same URL and checksum plus an armoured public key inside the root. The build fails unless the RPM is signed by that key.

System Flatpaks​

An image that declares a system Flatpak channel installs Flatpak and adds no remote. Remotes go to /usr/share/flatpak/remotes.d; applications to /usr/share/flatpak/preinstall.d.

A generated unit runs flatpak preinstall once per boot; upstream decides what to install and does not reinstall an app a user removed.

PropertyValueWhy
unit orderingafter network-online.target and multi-user.targetno boot target gains a network wait
before each attemptflatpak repair, then flatpak update --appstreaman interrupted pull or a stale summary otherwise blocks
retryRestart=on-failure, RestartSec=60, no start limita slow link is not a failed unit
stopwithin 20 sa boot is not held

A remote is OSTree by default. transport: oci carries Url=oci+https://… and no signing key, because the registry and its images are what get verified. An OCI remote with an authenticator gets deskos-flatpak-oci- authenticator.service, ordered before preinstall.

Credentials are not in the artifact: the authenticator reads them from the machine.

Offline boot, in a container with no network and a 25-second simulated nm-online timeout: GDM was active while network-online.target was pending, and flatpak preinstall printed "Nothing to do." Installing after an offline boot is unverified.

GNOME​

GnomeProfile exposes administrator vocabulary (windows.buttons, shell.favorites, session.idle.blankAfter, dock.position). The lowerer writes dconf keys to the platform's vendor database (distro on EL10). Wallpaper files are repository assets under /usr/share/deskos/backgrounds/.

AreaKeysRule
Dockshell.extensions, dock.*dock settings apply only while the extension is enabled; a higher layer disabling it masks them with a warning, and dock settings without a dock are errors
Appearanceappearance.colorScheme, accentColorthe enums of gsettings-desktop-schemas 47.1; Core sets neither
Terminal shortcutkeyboard.terminala .desktop id bound to Ctrl+Alt+T; EL10 has no native key
Login screenappearance.loginLogoGDM reads distro, which Platforms declare with gnome.loginScreen
First bootGLib vendor overrideInitial Setup has its own profile and does not read distro

software.updates maps to GNOME's update settings:

ValueallowdownloadEffect
automatictruetruedownloads and applies what needs no reboot
manualtruefalseoffers updates; the user applies them
disabledfalsefalseno Updates page; another updater owns updates

deskos-gnome sets manual, unlocked.

EL10 reads user, local, site, distro, highest first:

DeskOS writesEffect
a defaultlocal, site or a user change overrides it
a lockthe distro value applies and is not writable; local and site locks are ignored

Warning: A lock is image-level enforcement that defeats site and local. Core uses none. Lock only what the image must enforce. Not modeled: the Initial Setup third-party repositories page, which needs fedora-third-party, absent on EL10.

Boot​

BootProfile (splash: graphical|text, quiet, watermark) lowers to bootc kernel arguments in /usr/lib/bootc/kargs.d/50-deskos.toml. For graphical it also adds the platform's Plymouth packages, a dracut drop-in and an initramfs rebuild for every kernel.

The build fails if no kernel is found or Plymouth is missing from an initramfs. text adds no splash argument and no rebuild.

watermark (PNG, at most 1024x1024, inside the root) needs splash: graphical and becomes an image-owned two-step theme deskos. A higher-layer text masks a watermark with a warning; a watermark at or above a text layer is an error.

Diagnostics stay available: ESC shows details, systemd prints failures under quiet, and dropping rhgb quiet gives full text. A serial console turns Plymouth to text, so test QCOW2s use --no-default-kernel-args.

Trust store​

TrustAnchor places CA certificates in the platform trust store: anchors[] in the anchors directory, blocklist[] where p11-kit reads it as distrusted. It lowers to one file per certificate and one trust.updateCommand run after COPY rootfs/.

On EL10 that is update-ca-trust, which regenerates /etc/pki/ca- trust/extracted/.

Certificates are keyed by name: identical definitions deduplicate, different ones conflict, and anchoring plus distrusting one name fails. The file must be a PEM CERTIFICATE; a private key is refused. A platform without trust facts fails composition, and a blocklist without a blocklistDir fails too.

Core ships deskos-trust for the October 2026 eMudhra roots (RHSB-2026-012). Organizations add their own at any layer.

Updates​

Every shipped Platform lists bootc-fetch-apply-updates.timer as an image-update unit. Where the base enables it, its service runs bootc upgrade --apply, which reboots on publish. That path was checked on CentOS Stream 10.

UpdatePolicy has an image and a flatpak area, each with automatic, schedule: daily|weekly and requireACPower; image also has an apply window. It masks the platform's updates.imageUpdateUnits for image.automatic and generates:

UnitCommand
deskos-image-update.service/usr/bin/bootc upgrade --quiet
deskos-flatpak-update.service/usr/bin/flatpak update --system --noninteractive --assumeyes
deskos-image-apply.service (opt-in)deskos window guard, then bootc upgrade --apply --quiet

bootc upgrade without --apply downloads and stages; ostree-finalize-staged applies at the next shutdown or reboot. No generated unit reboots unless an organization sets image.apply.enabled: true; a test rejects --apply, --soft-reboot and --download-only in every rendered Core and example image.

Timers use OnCalendar=daily|weekly, RandomizedDelaySec=2h and Persistent=true. requireACPower adds ConditionACPower=true: on battery the run is skipped, not failed. Services follow network-online.target; timers add no boot ordering.

An apply policy (ADR 0023) adds deskos- image-apply.timer, with days plus at or window.start and duration, an optional IANA timezone, AccuracySec=1min and Persistent=false. The service runs deskos window as an ExecCondition, so a window that elapsed during suspend is skipped.

Exact at allows five minutes. A missed window is never caught up.

Core sets image updates daily on AC power; system Flatpak updates are the EL family's policy. automatic: false keeps the platform updater masked and schedules nothing. Masks live in /etc, so a local unmask survives updates.

A staging run skipped on battery is not lost: a generated udev rule starts the same service when AC comes online.

Not supported: metered networks. Not checked: RHEL 10, battery. The operator view is operations.md.

Drift and mutable /etc​

bootc updates /usr atomically. /etc persists and follows image updates only while locally unmodified. deskos check reports the drift it can measure and publishes what it leaves out. DeskOS does not enforce or reconcile the machine against its plan (ADR 0018).

Provisioning and enrollment​

StageContents
Artifacteverything identical across machines: packages, branding, client binaries, descriptors
Provisioningper-machine install choices, local bootstrap account, storage and encryption, first-boot Flatpak materialization
EnrollmentFreeIPA or AD join, device certificates, VPN identities, EDR tenancy

One digest serves many machines, so no identity or secret is ever in the artifact. Enrollment is reserved in the Plan and not implemented.