Control: tag -1 + confirmed
On Sat, 5 Nov 2022 21:18:58 +0100 Robert Luberda <rob...@debian.org> wrote:
severity 1023501 grave
retitle 1023501 busybox-static: version 1:1.35.0-3 breaks boot on hppa
and amd64
found 1023501 1:1.35.0-3
notfound 1023501 1:1.35.0-2
On Sat, 05 Nov 2022 13:31:51 +0000 John David Anglin
<dave.ang...@bell.net> wrote:
> Package: busybox-static
> Version: 1:1.35.0-2
> Severity: normal
>
> Dear Maintainer,
>
> With 1:1.35.0-3, boot ends in initramfs:
>
> Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
> Begin: Running /scripts/local-premount ... done.
> Begin: Waiting for root file system ... Begin: Running /scripts/local-block
...
mdadm: No arrays found in config file or automatically
> done.
> Begin: Running /scripts/local-block ... mdadm: No arrays found in config file
or
automatically
> >
> > - Missing modules (cat /proc/modules; ls /dev)
> > ALERT! LABEL=ROOT2 does not exist. Dropping to a shell!
I had the same issue on amd64.
Removing mdadm package did not help.
Downgrading busybox-static to 1.35.0-2 fixed the issue.
Now this is interesting. In -3, I included these changes:
commit ac478f88b64d5884d5e81bcd8f8344f0ec72df6a
Author: Michael Tokarev <m...@tls.msk.ru>
Date: Mon Oct 17 12:52:23 2022 +0300
deb,static: enable blkid applet (useful for rescue purposes)
commit d371992b4a0394f02cd29cb9cb946080414f8afb
Author: Michael Tokarev <m...@tls.msk.ru>
Date: Mon Oct 17 13:00:16 2022 +0300
deb,static: enable findfs applet (useful for rescue purposes)
Both really are useful for rescue purposes, I've hit this - the lack of
blkid and findfs in busybox - several times, and finally decided to enable
them.. It's a minimal version, it can help in many situations.
But it turns out debian initramfs generator includes its own blkiid, which
is more advanced than busybox's. For regular (non-static) build, busybox
adds links to itself for applets it have but which aren't provided by other
tools already. However, for the static build, it has CONFIG_PREFER_APPLETS=y
(in order to be more useful when the filesystem is damaged/incomplete), so
it ignores external implementation of these utilities. And we end up in
this situation.
And for the static build, it is even more interesting to have these utils
available.
*sigh*
I'll disable one of them for -static build for now, to work around this
issue (have to check which one is to blame, most likely blkid).
But.. *sigh* :)
Thanks,
/mjt