Skip to content

sci: ship the SCI layer as verity-signed systemd-sysext extensions - #401

Draft
fwiesel wants to merge 3 commits into
test/cirros-guestfrom
sysext-virt
Draft

fwiesel wants to merge 3 commits into
test/cirros-guestfrom
sysext-virt

Conversation

@fwiesel

@fwiesel fwiesel commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

The SCI virtualization layer ships as seven verity-signed systemd-sysext
images, so a worker keeps its base, a package change rebuilds one extension, and
systemd merges and starts everything on boot. ssh.service requires the merge,
so a bad signature stops the login instead of hiding it.

The extensions are additive, so a base A/B update leaves them in place. Key
custody and the host anchor remain open in
#402.

@fwiesel
fwiesel force-pushed the sysext-virt branch 19 times, most recently from 2cf3634 to 00a1df9 Compare November 3, 2026 13:01
@fwiesel
fwiesel force-pushed the sysext-virt branch 7 times, most recently from 1824943 to 819dade Compare November 10, 2026 17:13
@fwiesel
fwiesel changed the base branch from main to fix/migration-windows November 11, 2026 11:48
Base automatically changed from fix/migration-windows to main November 11, 2026 14:41
@fwiesel
fwiesel force-pushed the sysext-virt branch 7 times, most recently from 955dad1 to 05ce161 Compare November 12, 2026 08:22
@fwiesel
fwiesel changed the base branch from main to refactor/integration-hv-prep November 12, 2026 08:22
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from 16d8b5c to 7155baa Compare November 12, 2026 09:00
@fwiesel
fwiesel force-pushed the sysext-virt branch 2 times, most recently from 1073177 to 41f2488 Compare November 12, 2026 09:25
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from 7155baa to d5537ba Compare November 12, 2026 09:35
@fwiesel
fwiesel force-pushed the sysext-virt branch 3 times, most recently from 70316d9 to e9d47d4 Compare November 12, 2026 13:50
@fwiesel
fwiesel changed the base branch from refactor/integration-hv-prep to fix/ch-vcpu November 12, 2026 13:50
@fwiesel
fwiesel changed the base branch from fix/ch-vcpu to refactor/integration-hv-prep November 12, 2026 14:03
@fwiesel
fwiesel force-pushed the refactor/integration-hv-prep branch from 016b1ed to 17e907f Compare November 12, 2026 15:43
Ship the SCI compute, network, storage, libvirt, Cloud Hypervisor, and
QEMU layers as seven standalone dm-verity-signed systemd-sysext images
built reproducibly against the pinned Garden Linux 2150.9.0 base rootfs.

The merge during sysinit.target reloads PID 1, and the drop-in that the
merge adds then creates the identities, loads the extension modules, and
starts Open vSwitch and libvirtd. The guest needs no package manager, no
interpreter, and no helper script, and the drop-in names units, not the
layers that carry them.

The module list and the module options come from the SCI feature through
ExtraTrees=. Its install guards exit 0 on a foreign CPU, so an AMD host
does not fail systemd-modules-load on kvm_intel.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
Build and test the signed extension raws in parallel with the OCI image
in the dev workflow. The nested hypervisor pair mounts the share at
/run/extensions and lets systemd-sysext merge it during sysinit.target,
so the job boots exactly the units an operator gets and runs the QEMU
and Cloud Hypervisor live-migration suite against them.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
Record the extension layering, reproducibility pins, dm-verity trust
model, and the native boot sequence alongside the code, so an operator
can follow what systemd does at boot without reading the units.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant