Skip to content

rootfs: debos: fix dangling /init symlink#3104

Merged
nuclearcat merged 1 commit into
kernelci:mainfrom
bhcopeland:fix/trixie-init-symlink
May 23, 2026
Merged

rootfs: debos: fix dangling /init symlink#3104
nuclearcat merged 1 commit into
kernelci:mainfrom
bhcopeland:fix/trixie-init-symlink

Conversation

@bhcopeland
Copy link
Copy Markdown
Member

/init pointed at /usr/bin/systemd, which has never existed on Debian (systemd is at /usr/lib/systemd/systemd; /sbin/init is the working symlink). LAVA's apply-overlay-ramdisk repacks the cpio so the bug is invisible there, but booting the published rootfs.cpio.gz as a raw initramfs (tuxrun, plain qemu -initrd) panics in mount_root_generic. Point /init at the real systemd binary.

/init pointed at /usr/bin/systemd, which has never existed on Debian
(systemd is at /usr/lib/systemd/systemd; /sbin/init is the working
symlink).  LAVA's apply-overlay-ramdisk repacks the cpio so the bug is
invisible there, but booting the published rootfs.cpio.gz as a raw
initramfs (tuxrun, plain qemu -initrd) panics in mount_root_generic.
Point /init at the real systemd binary.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
@bhcopeland
Copy link
Copy Markdown
Member Author

Tested locally with tuxrun, but not tested through LAVA, but since the previous symlink target was non-existent, LAVA's existing flow can't have been depending on it

@nuclearcat
Copy link
Copy Markdown
Member

Amazing find!

@nuclearcat nuclearcat added this pull request to the merge queue May 23, 2026
Merged via the queue into kernelci:main with commit 11d6f59 May 23, 2026
3 checks passed
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.

2 participants