Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #91941
| From | Benjamin Drung <bdrung@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images |
| Date | 2026-04-07 13:20 +0200 |
| Message-ID | <MHcDn-dlgY-5@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <MGMpz-d3UU-3@gated-at.bofh.it> <MHbxD-dkC9-3@gated-at.bofh.it> <MHcDn-dlgY-7@gated-at.bofh.it> <MGMpz-d3UU-3@gated-at.bofh.it> <MHcDn-dlgY-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
On Tue, 2026-04-07 at 12:34 +0200, Christian Kastner wrote: > On 2026-04-07 12:07, Benjamin Drung wrote: > > On Tue, 2026-04-07 at 11:44 +0200, Benjamin Drung wrote: > > > Those two reports gave me a clue. I assume the opposite. You want > > > hostonly disabled. The patch fix-dracut-enable-hostonly_cmdline-in- > > > hostonly-mode-again.patch enables hostonly-cmdline by default again, but > > > this: > > > > > > dracut[W]: Turning off host-only mode: /dev is not mounted! > > > > > > does not turn off hostonly-cmdline which causes the host config to leak > > > into the initrd. I'll prepare a fix for dracut. > > > > Here comes the fix: https://github.com/dracut-ng/dracut-ng/pull/2351 > > > > Can you test that this fix solves your issue? > > It seems not, I'm afraid. > > I tested this by first rebuilding -8 with your newest change. > > Then telling autopkgtest-build-qemu to install these rebuilt packages > with the following post-creation script: > > modscript.sh > ~~~~~~~~~~~~ > #!/bin/sh > > # autopkgtest-build-qemu passes the chroot as $1 > [ -n "$1" ] || exit 1 > > cp /tmp/rebuild/*.deb "$1"/ > chroot "$1" dpkg -i dracut_110-8_all.deb dracut-core_110-8_amd64.deb > dracut-install_110-8_amd64.deb > ~~~~~~~~~~~~ > > $ autopkgtest-build-qemu --script=modscript.sh --boot=efi unstable > /tmp/unstable-amd64.img > > And finally booting with the qemu-system-x86_64 command string that I > shared earlier. It still hangs at the same spot, referencing loop0p1. > > > I tested this exact same procedure above with the -7 from snapshot.d.o, > and that worked fine, so the procedure itself seems correct. > > I can also confirm that the warning printed is not relevant, as it also > appears in the -7 as I just noticed. It must have been an added after > trixie, as extra information. I could reproduce your results with a patched dracut: ``` $ lsinitrd /boot/initrd.img-6.19.11+deb14-amd64 [...] dracut cmdline: root=/dev/mapper/loop77p2 rootfstype=ext4 rootflags=rw,relatime ``` But I verified in a chroot that the patch works as intended (hostonly_cmdline is enabled before but disabled with the patch). We need to further investigate what went wrong in your example. At least I see "Version: dracut-110-9" in the lsinitrd output. So the initrd was regenerated after the package update. -- Benjamin Drung Debian & Ubuntu Developer
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-07 11:50 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-07 12:10 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-07 13:20 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-07 13:30 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-08 11:50 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Chris Hofstaedtler <zeha@debian.org> - 2026-04-08 12:10 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-08 12:50 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-11 00:10 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Michael Prokop <mika@debian.org> - 2026-04-13 07:30 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-04-13 23:00 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Johannes Schauer Marin Rodrigues <josch@debian.org> - 2026-05-06 12:30 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Benjamin Drung <bdrung@debian.org> - 2026-05-06 14:20 +0200
Bug#1132794: dracut 110-8 breaks autopkgtest EFI boot images Johannes Schauer Marin Rodrigues <josch@debian.org> - 2026-05-06 16:10 +0200
csiph-web