Re: Changes to sbin/init/init.c (r233944) makes x11/xdm impossible to start from /etc/ttys

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Wed, 11 Apr 2012 08:08:42 +0300
On Tue, Apr 10, 2012 at 10:36:45PM +0200, Ed Schouten wrote:
> Hi Oliver,
> 
> * O. Hartmann <ohartman_at_mail.zedat.fu-berlin.de>, 20120410 11:37:
> > Reverting init.c back to its previous state seems to make the error go away.
> 
> Sorry about that. I added the O_NONBLOCK to prevent init(8) from
> possibly getting stuck if the TTY used by /dev/console were to misbehave
> by not setting CLOCAL.
> 
> It seems we can't do this reliably at all, so I guess I'd better just
> revert the code like so:
> 
> 	http://80386.nl/pub/init.txt
> 
> I'll commit the patch to SVN after I have discussed it wtih kib_at_. Thanks
> for reporting!

Ok, lets discuss. I do not understand why this patch makes any change at all.
Esp. for xdm that is supposedly run on some vty and not on console.

Received on Wed Apr 11 2012 - 03:08:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC