From owner-freebsd-current@FreeBSD.ORG Wed Apr 11 05:08:48 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7049A106568C for ; Wed, 11 Apr 2012 05:08:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id C598B8FC0C for ; Wed, 11 Apr 2012 05:08:47 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q3B58g3j072156; Wed, 11 Apr 2012 08:08:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q3B58gOw000472; Wed, 11 Apr 2012 08:08:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q3B58gKl000471; Wed, 11 Apr 2012 08:08:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 11 Apr 2012 08:08:42 +0300 From: Konstantin Belousov To: Ed Schouten Message-ID: <20120411050842.GE2358@deviant.kiev.zoral.com.ua> References: <4F83FF50.1010404@mail.zedat.fu-berlin.de> <20120410203645.GI62756@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pCkiZZNKSjytm5Qt" Content-Disposition: inline In-Reply-To: <20120410203645.GI62756@hoeg.nl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: "O. Hartmann" , Current FreeBSD Subject: Re: Changes to sbin/init/init.c (r233944) makes x11/xdm impossible to start from /etc/ttys X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 05:08:48 -0000 --pCkiZZNKSjytm5Qt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2012 at 10:36:45PM +0200, Ed Schouten wrote: > Hi Oliver, >=20 > * O. Hartmann , 20120410 11:37: > > Reverting init.c back to its previous state seems to make the error go = away. >=20 > 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. >=20 > It seems we can't do this reliably at all, so I guess I'd better just > revert the code like so: >=20 > http://80386.nl/pub/init.txt >=20 > I'll commit the patch to SVN after I have discussed it wtih kib@. Thanks > for reporting! Ok, lets discuss. I do not understand why this patch makes any change at al= l. Esp. for xdm that is supposedly run on some vty and not on console. --pCkiZZNKSjytm5Qt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk+FEdoACgkQC3+MBN1Mb4ggJwCcCU2GgpdxCIASiRHsGbp1ESOV O/YAoKn5rvN3e0Nx1gZyQ7aQCLs5tuCa =qv49 -----END PGP SIGNATURE----- --pCkiZZNKSjytm5Qt--