--- Begin Message ---
- To: Frans Pop <aragorn@tiscali.nl>, 266057-done@bugs.debian.org
- Subject: Re: Bug#266057: busybox-cvs-udeb: 'help' does not show nc (netcat) as available command
- From: Michael Tokarev <mjt@tls.msk.ru>
- Date: Thu, 10 Mar 2011 13:11:40 +0300
- Message-id: <4D78A3DC.8060601@msgid.tls.msk.ru>
- In-reply-to: <200408161657.34442.aragorn@tiscali.nl>
- References: <200408161657.34442.aragorn@tiscali.nl>
16.08.2004 18:57, Frans Pop wrote:
> Package: busybox-cvs-udeb
> Version: 20040623-1
> Severity: wishlist
> Tags: d-i
>
> When I use the 'help' command in a Debian Installer shell, the nc command is
> missing from the list even though it is available.
> Possibly the same goes for other commands.
The built-in shell's "help" command is supposed to list
only shell primitives, such as cd, export, shift, and
built-in commands to the _shell_. Not all commands
available in busybox are built-in to its shell. So
there's no bug in there to start with.
Actually this is not whole story. busybox ash has an
option to be compiled as a "standalone shell", so that
all other busybox commands becomes its built-ins. This
is a hack that lets you to have just one binary without
installing links to it with appropriate names. When
this mode is enabled in busybox (compile-time option),
it shows all enabled commands in help output. But this
mode should not be used because you can't control which
commands are used for what - it may cost you lots of
debugging efforts to understand why some command works
fine when you invoke it directly and fails badly when
you run it from busybox, -- just because busybox version
has less features than you expect. -udeb version does
not currently enable this "standalone shell" mode.
Thanks!
/mjt
--- End Message ---