[BusyBox] msh as login shell
Vladimir N. Oleynik
dzo at simtreas.ru
Mon Sep 24 10:07:41 UTC 2001
Brian,
> > On Wed Sep 19, 2001 at 08:06:43AM -0700, Brian Wilson wrote:
> > >
> > > I am trying to use msh as the login shell with tinylogin + busybox.
> > > The exact same set up works with ash compiled into busybox.
> > > With msh, it looks like the shell is just dying after login runs.
> > >
> > > Is there something special to set this up or is it just nonfunctional?
> >
> > I've certainly used it as a login shell before and it worked
> > for me. Are you running any scripts that do things like
> > for i in `ls *.c` ; do echo $i ; done
> > ?
> >
> > -Erik
>
> Msh works as a login shell on a rh 7.1 development system, but not on
> the i386 target system which is a PC with tinylogin and busybox. It's
> supposed to be statically linked with uclibc but the behaviour is the
> same when I link it with glibc.
>
> I put printf's in until I found that it is getting into the main
> command loop. It does not print a prompt or wait for input; instead it
> loops 8 times and then seg faults. Same thing happens either at login
> or using su.
>
> Everything is statically linked.
>
> To build busybox I change only the two lines selecting ash versus
> msh. Ash works. I have tried using the latest CVS of busybox, normally
> we are working with 0.53pre. I have tried the latest tinylogin.
>
> Suggestions?
Please test it:
ftp://ftp.simtreas.ru/pub/my/bb/new/msh.c.gz
I do not understand, why Erik ignores this offer.
--w
vodz
More information about the busybox
mailing list