Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#964579: lsblk not included in busybox version used with installer

93 views
Skip to first unread message

Holger Levsen

unread,
Jul 8, 2020, 7:30:03 PM7/8/20
to
Package: busybox
Version: 1:1.30.1-4
Severity: wishlist
x-debbugs-cc: Russell Weber <rustysc...@gmail.com>
submitter: Russell Weber <rustysc...@gmail.com>

On Wed, Jul 08, 2020 at 02:43:43PM -0600, Russell Weber wrote:
> Package: busybox
> Version: 1:1.30.1-4
> Severity: wishlist
> lsblk is a very useful tool for understanding your current disks and block
> devices. It can be used to
> query lots of information including disk manufacturer, serial number, model
> number, the structure of your disks if the disk is already in use for
> another block device. Given that the installer has mission critical goals
> associated with the disks, it's a bit of a mystery that lsblk isn't
> included into the busy box implementation used in the installer. This is
> especially important when seeding automatic/unattended installs for debian
> since many of the seed files used will query information from disks in
> scripts using the "d-i partman/early_command string" of debconf. I can see
> that this issue has been raised in multiple places online: stack overflow,
> IRC. However, scanning older tickets, I was not able to find a ticket
> which raises the issue. Is there any reason that lsblk as a command is not
> included? As far as I can tell, the bloat size would only be around 20-40
> KiB in size. May I suggest that we start including the lsblk binaries in
> the next versions of Debian?

I hope this works out for a proper bugreport as intended.


cheers,
Holger

-------------------------------------------------------------------------------
holger@(debian|reproducible-builds|layer-acht).org
PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
signature.asc

Russell Weber

unread,
Jul 8, 2020, 7:40:03 PM7/8/20
to
Thank you Holger. I don't normally submit to Debian.

Michael Tokarev

unread,
May 8, 2022, 5:10:03 PM5/8/22
to
Control: tag -1 + moreinfo
Hi Russel!

Thank you for the detailed bug description.

The only question remain is who will write lsblk for busybox, who
writes the actual code to do all this? Can you help with that,
to collect all the mentioned information in a useful for the user
form?

This applet is not written.

Thanks,

/mjt

Metztli Information Technology

unread,
May 12, 2022, 3:20:04 PM5/12/22
to

Niltze-

On Sun, May 8, 2022 at 2:06 PM Michael Tokarev <m...@tls.msk.ru> wrote:
>
> Control: tag -1 + moreinfo
>
> On Wed, 8 Jul 2020 23:23:51 +0000 Holger Levsen <hol...@layer-acht.org> wrote:
> > Package: busybox
> > Version: 1:1.30.1-4
> > Severity: wishlist
> > x-debbugs-cc: Russell Weber <rustysc...@gmail.com>
> > submitter: Russell Weber <rustysc...@gmail.com>
> >
> > On Wed, Jul 08, 2020 at 02:43:43PM -0600, Russell Weber wrote:
> > > Package: busybox
> > > Version: 1:1.30.1-4
> > > Severity: wishlist
> > > lsblk is a very useful tool for understanding your current disks and block
> > > devices. It can be used to
> > > query lots of information including disk manufacturer, serial number, modelb
> > > number, the structure of your disks if the disk is already in use for
> > > another block device. Given that the installer has mission critical goals
> > > associated with the disks, it's a bit of a mystery that lsblk isn't
> > > included into the busy box implementation used in the installer. This is
> > > especially important when seeding automatic/unattended installs for debian
> > > since many of the seed files used will query information from disks in
> > > scripts using the "d-i partman/early_command string" of debconf.  I can see
> > > that this issue has been raised in multiple places online: stack overflow,
> > > IRC.  However, scanning older tickets, I was not able to find a ticket
> > > which raises the issue.  Is there any reason that lsblk as a command is not
> > > included?  As far as I can tell, the bloat size would only be around 20-40
> > > KiB in size.  May I suggest that we start including the lsblk binaries in
> > > the next versions of Debian?
>
> Hi Russel!
>
> Thank you for the detailed bug description.
>
> The only question remain is who will write lsblk for busybox, who
> writes the actual code to do all this?  Can you help with that,
> to collect all the mentioned information in a useful for the user
> form?
>
> This applet is not written.
>
> Thanks,
>
> /mjt
>

Busybox utilities have their limitations. For instance, I had to create mount/umount UDEBs
because the d-i busybox equivalents would fail on Reiser4 SFRN4/SFRN5 file systems when
installing Debian.

< https://metztli.blog/media/blogs/calli/Bullseye-SFRN5/xonecuiltzin-5.13.19-reizer4-sfrn-5.1.3.mp4?mtime=1636642043 >

Accordingly, probably including an lsblk UDEB in d-i would likely be more adequate, i.e.,
the last two(2) UDEBs -- which already exist -- are required for lsblk in d-i:

lsblk-udeb_2.38-4.1_amd64.udeb
libudev1-udeb_250.4-1~bpo11+1_amd64.udeb
libsmartcols1-udeb_2.38-4.1_amd64.udeb

< https://metztli.it/bullseye/netboot-exp/d-i-lsblk.png >


netboot with lsblk UDEB included in d-i:
< https://metztli.it/bullseye/netboot-exp/metztli-reiser4.iso >
< https://metztli.it/bullseye/netboot-exp/metztli-reiser4.iso.SHA256SUM >


Best Professional Regards.

--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Download Metztli Reiser4: Debian Bullseye w/ Linux 5.16.20 AMD64
---------------------------------------------------------------------------------------------
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
---------------------------------------------------------------------------------------------
or SFRN 5.1.3, Metztli Reiser5 https://sf.net/projects/debian-reiser4/
-------------------------------------------------------------------------------------------
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/
0 new messages