BusyBox ash as subshell for mc (midnight commander)?

Alexander Kriegisch kriegaex at freetz.org
Thu Mar 1 16:25:11 UTC 2012


[re-send to list because reply-to header was wrong as usual]

I tried before even installing bash for the first time in my clean
system, that is not the problem.

Alexander Kriegisch

Am 01.03.2012 um 14:58 schrieb "ralda at gmx.de" <ralda at gmx.de>:

>> I tried the same thing with a real bash binary replacing the symlink
>> to busybox, and mc subshell support immediately works as expected -
>> same busybox and mc binaries.
>> 
>> Any ideas?
> 
> Another hint: If there is a real bash and that one is reachable and
> activated by any script or other command the mc subshell fails using
> ash. It only worked for me when bash got completely replaced with ash
> on the system. The reason for this seamed to be a shared library
> (probably readline but unverified). ... and don't use symlink for the
> shell. mc doesn't liked them (but that may have changed with versions).
> The problem was that mc used realpath to find out the real executables
> name and then checked against that name if it is bash or something else
> (same for Busybox and applet sym linking - use hard links or script).
> 
> --
> Harald



More information about the busybox mailing list