#1023503 busybox-static: "ALERT! UUID=xxx does not exist. Dropping to a shell!" since 1:1.35.0-3 #1023503
- Package:
- busybox-static
- Source:
- busybox-static
- Description:
- Standalone rescue shell with tons of builtin utilities
- Submitter:
- Stefan Berzl
- Date:
- 2023-01-21 16:57:11 UTC
- Severity:
- normal
Hello everynyan! Since 1:1.35.0-3, initramfs doesn't find the UUID of the root partition anymore and drops me to a shell. In the shell however, the uuid is listed in both /dev/disk/by-uuid and blkid. At first, I didn't even know how I would boot going forward. First I tried seting rootdelay in grub, but without any success. Only randomly would I try to go root=/dev/sda2, setting the root partition by path, thereby being able to see my login screen again. Unsure of what to do, I tune2fs -U random every uuid and change the fstab accordingly, followed by update-initramfs -u and update-grub. When rebooting, initramfs just complains that it can't locate the new uuid. Next I randomly downgrade packages that apt updated recently. Ultimately I discover that when using busybox-static 1:1.35.0-2, the problem is gone. When upgrading back to 1:1.35.0-3, it's there again. There you go, Bye
Version: 1:1.35.0-4
This is #1023501, which has been fixed in 1.35.0-4:
busybox (1:1.35.0-4) unstable; urgency=medium
* static build: disable blkid applet (CONFIG_BLKID, #1023501)
Since static build has CONFIG_FEATURE_PREFER_APPLETS=y, enabling
any utility which is also provided by the system in other ways
can be risky, since busybox shell will choose its applet version
instead of running the actual utility, even if that utility file
exists in $PATH. After enabling blkid, we effectively overwrote
blkid from libblkid as used in initramfs. The result was non-
working udev rules for block devices (not creating /dev/disk/by-*/),
and the system's unbootable.
Disable it for now at least on static build.
Closes: 1023501
Thanks,
/mjt