[BusyBox] BB0.45: features and fixes for lash

Erik Andersen andersen at lineo.com
Tue Jul 4 19:34:35 UTC 2000


On Tue Jul 04, 2000 at 07:36:07PM +0100, Stuart Menefy wrote:
> Folks
> 
> Bizarre coincidence time. I was just writing my first message to this
> list regarding problems I was having with tcsetpgrp(), and another
> message appears with a fix to a similar problem.
> 
[------snip-------]
>
> Now, normally when a terminal is first opened by a process group leader,
> the terminal automatically becomes the controlling terminal for that
> process group. However this behaviour is suppressed for /dev/console, and
> as a result when BusyBox later tries to call tcsetpgrp(), it fails, because
> the tty is not the controlling terminal.
> 
> So the simple fix I made was to always set the controlling terminal
> before init runs any programs, this has removed the error messages.
> The change is attached.
> 
> Could this be the same problem you're seeing when BusyBox is executed from
> /linuxrc? Possibly /dev is not fully populated at that point?
> 
> Stuart

I think this sounds very reasonable.  I have applied this patch to
the CVS tree.  

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list