[BusyBox] ash (busybox) problem:"job control turned off" -- getty (tinylogin) problem: errno25: Not a typewriter (printed as "Inappropriate ioctl for device")

Erik Andersen andersen at codepoet.org
Wed Jul 3 05:12:05 UTC 2002


On Wed Jun 26, 2002 at 04:33:46PM +0400, Vladimir N. Oleynik wrote:
> Erik,
> 
> > On Sat Jun 08, 2002 at 07:43:03PM +0400, Vladimir N. Oleynik wrote:
> > > Last path to loginutils/login.c and init.c in attach.
> > 
> > Hi vodz.  Your login patch looks fine to me.  I don't
> > see any patch to init.c though.  Forgotten?
> 
> Ok. I ready for publicate this path.
> 
> Comment special for others patcher`s:
> 
> 1) PLEASE. Do not change strlen("strings") to sizeof("string"). 
> This not equivalent! (align effect). 
> I very long time finding this strange error... :(
> 
> 2) Function console_setup() closed descriptor! (Very old bug).
> 
> 3) Please not put setsid() in mixed places. This do different effect!

Thanks again vodz, very nice work.  Applied!

> 4) I think, ASK_FIRST set emergency shell mode. This not have
> by default "job control". 

I think it is best for the askfirst init actions to get a
controlling tty.  So I made a minor change to let that happen.
I've spent some time testing this and it seems to be working
nicely now.  Maybe slackware can now drop their noisereduction
patch.  ;-)

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list