[BusyBox] Re: inittab: askfirst vs. respawn problem

Rob Landley rob at landley.net
Sat Jul 30 00:20:12 UTC 2005


On Friday 29 July 2005 18:33, Mark Jessee wrote:
> Anyone have any thoughts on this?  Is this a bug or am I just doing
> something wrong in my init scripts (more likely).
>
> Thanks,
> Mark

It sounds like you've got two process groups or some such on /dev/tty1 and the 
wrong one is binding first.  (Where is "console" pointing to, and if you 
redirect it somewhere else does the problem go away?  Such as booting with 
CONSOLE=/dev/ttyS0 or some such?)

P.S.  This comment in init.c is just a hint that the code does not play well 
with others, and is running with scissors on top of that:

   /* Take full control of the log tty, and never close it.
     * It's mine, all mine!  Muhahahaha! */

(I remember untangling this mess a year ago in my lost init rewrite, but the 
details would have to be reconstructed...)

Rob



More information about the busybox mailing list