You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/exec/stages/files: add x-initrd.attach for LUKS on ostree
On ostree systems, soft-reboot fails with LUKS because systemd tears down
the crypto device during shutdown. Unlike traditional systems where the
kernel root mount prevents this, ostree's /sysroot is a regular mount.
Add x-initrd.attach to crypttab entries on ostree systems (detected via
/run/ostree-booted or OSTREE_BOOTED=1 env var). This tells systemd-
cryptsetup-generator to skip adding Conflicts=umount.target, preventing
device teardown.
Non-ostree systems are unchanged.
Fixes: #2216
0 commit comments