🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #23

Re: Reason for shipping busybox?

#23
From: Greg Wooledge
Date: Thu, 08 Oct 2026 13:30
27 lines
2675 bytes
On Thu, Oct 08, 2026 at 13:15:28 +0000, mailinglist.drool895@aleeas.com wrote:
> $apt purge --dry-run busybox
> NOTE: This is only a simulation!
>       apt needs root privileges for real execution.
>       Keep also in mind that locking is deactivated,
>       so don't depend on the relevance to the real current situation!
> 
> REMOVING:
>   busybox*
> 
> Summary:
>   Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
> Purg busybox [1:1.37.0-6+b9]
> 
> 
> See not installed by any dependency. Hence the original question why ship it by default?

hobbit:~$ lsinitramfs /boot/initrd.img-6.12.111+deb13-amd64 | grep busy
usr/bin/busybox

It's part of the initramfs that's created by the kernel infrastructure.
Removing it would probably leave your future initrd.img* files without
a functioning shell.

Feel free to test this and report the results, but be aware of the
possibility of not being able to boot (keep an old kernel+initrd on hand
to revert to if needed).
Technical Details
Message-ID: <NLWm5-4h2c-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NLTHz-4fDR-9@gated-at.bofh.it> <NLU0V-4fL9-1@gated-at.bofh.it> <NLWm5-4h2c-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Greg Wooledge <greg@wooledge.org>
Newsgroups: linux.debian.user
Subject: Re: Reason for shipping busybox?
Date: Thu, 08 Oct 2026 15:30:01 +0200
Message-ID: <NLWm5-4h2c-7@gated-at.bofh.it>
References: <NLTHz-4fDR-9@gated-at.bofh.it> <NLU0V-4fL9-1@gated-at.bofh.it> <NLWm5-4h2c-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Thu Oct  8 13:26:20 2026
Old-Return-Path: <greg@wooledge.org>
X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832277
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261008132606.GB28356@wooledge.org
Approved: robomod@news.nic.it
Lines: 27
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 8 Oct 2026 09:26:06 -0400
X-Original-Message-ID: <20261008132606.GB28356@wooledge.org>
X-Original-References: <179145523043.7.6135217841815416674.1678042349@aleeas.com>
 <asd3DAnOBwXIO9cN@tuxteam.de>
 <179146533590.7.5493426222862239771.1678416244@aleeas.com>