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

Konstantin Belousov kostikbel at gmail.com
Wed Apr 11 05:08:48 UTC 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120411/38ea6187/attachment.pgp


More information about the freebsd-current mailing list