Bug#1023485: Shipped blkid is incompatible with the one in util-linux, break cryptsetup

2022-11-05 Thread Vincent Bernat
Package: busybox-static
Version: 1:1.35.0-3
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hey!

blkid was added as an applet in busybox. This makes it available in initramfs in
place of the one from util-linux. This prevents cryptsetup to works as the
syntax used is not recognized by busybox.

 10:58 ❱ blkid -l -t UUID=255e21df-9261-47b5-ac37-b4ae4c435a37 -o device
/dev/nvme0n1p3
 10:59 ❱ busybox blkid -l -t UUID=255e21df-9261-47b5-ac37-b4ae4c435a37 -o device
 10:59 ❱ sudo busybox blkid -l -t UUID=255e21df-9261-47b5-ac37-b4ae4c435a37 -o 
device

cryptsetup-initramfs could parse the output of busybox blkid, but this seems
more fragile. It seems easiest to not ship blkid in busybox (hence the bug
against busybox).

- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAmNmNPMSHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX5xT0QAKDHldn2kpQ+q5++vOpu05hYLsz9VkWp
ud2ZH+gNXc85qDHvTN+kKu+h1nMbK8Qk/x6o/orRzvRBAwmJ6XE06tBBulOahoKi
q8dxYorvXQJV3bI7ua1JYsYKTybguE/omN27IguopQdzE1Bac5fkfcKwni5QHEdi
oOda3FNVAdQiZ7mh77nBaD9NtqG4lzMb4rbxwQ5ZGG2BOypVQ7CHnoyPt813PjSI
eh76R5cW9/KgyqbWo4mGVGtZ8DqmVY+BLuVKH0+g+zreieRlbTLhJakwYCUJ4SNS
6ye9M58xtgviBbDUBl4ae7LV9ARSa9RpG6wkLgVw36CrD/QAwAoSsjJwcPRg2xGH
P7O8nyT+tyP3xFmNGAHfJpLO/CPh8B3rNJABSO6F8hGzoh2Ej8zFfmEZ3CfchnmR
SatUtS5yBlvU3wvkdK0VMDpXOdqqJjDkexjm28vriBvyAUi07OBsbqtEILGgJXb6
bOXv6hGWg5F/qA+OgjWdu6YJUbBrZVH7gvePbr5lmwwGItDc0UIrAZxZ5/1FIi5G
G9+NTS+kpFFT0uvD8F6HaqZrPGTSDJM5DSoHxZLkYSYJjZzbrC2Fk9w3AaE7/6u/
05EVetREI89NvCt7GJbvS0jCWIlk3JVMAfbDvoNm6vqqTGJPEMjW81ABkJk6QKpF
3UcOjdL4nGqS
=KLT1
-END PGP SIGNATURE-


Bug#1023501: busybox-static: version 1:1.35.0-3 breaks boot on hppa

2022-11-05 Thread John David Anglin
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
done.
mdadm: No arrays found in config file or automatically
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
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
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
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
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
done.
mdadm: No arrays found in config file or automatically
mdadm: error opening /dev/md?*: No such file or directory
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
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
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=ROOT2 does not exist.  Dropping to a shell!


BusyBox v1.35.0 (Debian 1:1.35.0-3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

dave@mx3210:~$ cat /proc/cmdline
root=LABEL=ROOT2 console=ttyS0 HOME=/ rootfstype=xfs clocksource=jiffies 
TERM=xterm palo_kernel=2/vmlinuz

The LABEL=ROOT2 does exist:
dave@mx3210:~$ ls /dev/disk/by-label
BOOT2  DAVE  HOME2  ROOT2  VAR2

There are no mdadm arrays on system.

Reverting to 1:1.35.0-2 and updating affected initrd.img files fixes 

Re: busybox uploads

2022-11-05 Thread Cyril Brulebois
Hi,

Michael Tokarev  (2022-11-04):
> I uploaded a new busybox release today (mostly non-linux changes,
> it now builds on hurd), but thought maybe I should've asked here
> before doing that. But it was too late already.
> 
> Should I ask the next time?

Don't worry, that's fine.


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Bug#1023501: busybox-static: version 1:1.35.0-3 breaks boot on hppa

2022-11-05 Thread Robert Luberda

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 + John David Anglin 
 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


I had the same issue on amd64.
Removing mdadm package did not help.
Downgrading busybox-static to 1.35.0-2 fixed the issue.


I'm including the system information generated by reportbug below:


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'unstable'), (990, 
'testing'), (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')

merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages busybox depends on:
ii  libc6  2.36-4

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

Regards,
Robert



Processed (with 5 errors): Re: busybox-static: version 1:1.35.0-3 breaks boot on hppa

2022-11-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 1023501 grave
Bug #1023501 [busybox-static] busybox-static: version 1:1.35.0-3 breaks boot on 
hppa
Severity set to 'grave' from 'normal'
> retitle 1023501 busybox-static: version 1:1.35.0-3 breaks boot on hppa
Bug #1023501 [busybox-static] busybox-static: version 1:1.35.0-3 breaks boot on 
hppa
Ignoring request to change the title of bug#1023501 to the same title
> and amd64
Unknown command or malformed arguments to command.
> found 1023501 1:1.35.0-3
Bug #1023501 [busybox-static] busybox-static: version 1:1.35.0-3 breaks boot on 
hppa
Marked as found in versions busybox/1:1.35.0-3.
> notfound 1023501  1:1.35.0-2
Bug #1023501 [busybox-static] busybox-static: version 1:1.35.0-3 breaks boot on 
hppa
No longer marked as found in versions busybox/1:1.35.0-2.
> On Sat, 05 Nov 2022 13:31:51 + John David Anglin
Unknown command or malformed arguments to command.
>  wrote:
Unknown command or malformed arguments to command.
> > Package: busybox-static
Unknown command or malformed arguments to command.
> > Version: 1:1.35.0-2
Unknown command or malformed arguments to command.
Too many unknown commands, stopping here.

Please contact me if you need assistance.
-- 
1023501: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023501
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems