From owner-freebsd-current@FreeBSD.ORG Tue Apr 10 20:36:53 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 3CB44106564A for ; Tue, 10 Apr 2012 20:36:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id C58358FC14 for ; Tue, 10 Apr 2012 20:36:52 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 639402A28CC9; Tue, 10 Apr 2012 22:36:45 +0200 (CEST) Date: Tue, 10 Apr 2012 22:36:45 +0200 From: Ed Schouten To: "O. Hartmann" Message-ID: <20120410203645.GI62756@hoeg.nl> References: <4F83FF50.1010404@mail.zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IbVRjBtIbJdbeK1C" Content-Disposition: inline In-Reply-To: <4F83FF50.1010404@mail.zedat.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Tue, 10 Apr 2012 20:36:53 -0000 --IbVRjBtIbJdbeK1C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Oliver, * O. Hartmann , 20120410 11:37: > Reverting init.c back to its previous state seems to make the error go aw= ay. 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@. Thanks for reporting! --=20 Ed Schouten WWW: http://80386.nl/ --IbVRjBtIbJdbeK1C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQIcBAEBAgAGBQJPhJndAAoJEG5e2P40kaK7n88P/0E2LVVvJpzn0YfOxxlWW7/N 1+Fyee3vIroxu0R33UBuDCWbFy2u0tn4BvraQqjkPTrAC4m3OSx7288o6fA+9WFg 4JrATV/17luATKucv06Bqo5fShy+jADH6O85FIgKsodWoVt15itI0LqXz6PsiJHv q/gS7c8uns6Ey5zAiLSGASPjidWcxLebWCUmxwKvs/+HfFDr7pfPmWYPYnCZ4rk4 mOASStofv41ED/wlRMugjDHbT6obVLGWB8zk5KyEedSdhVIcCBGs0HQBMIDu+dP5 4VOIt1gPoks42WJ2KFbUsDuudrrPmJ4r5hKulEMcNc8I3vvgHf5nnXasZuwQWoly RP/i9hsMzGWSXkbI9+ORQVlRntto7iBhwDkhN9EarXx4ym5EVoVZGJJHj5p9XXAP D4NYgwOjV1AmgcZZkiESViqv47AvlVUv/UjgVShellGjP6K55mmnQdMBsox27UhA uNfMEoWnNdLr/jRqJtn0TZZdTlS3SuOlJbRXZtDI1M66ENAjPo8eOEZRZkPTi4eP VzSojmCu8SiY8/KUG5aYOQniQdg+HNLt2Mpek3x4X5yPqsQ4NT73tnJtS4u8Vhf0 tKOLkFCHX4Fu5EwKZ/6HRirNWkcQQiLEb7YVN4Rjq5iLAyKQSg4XKtUQKdUk1gnG yb52g3nou20Ie0hntfW5 =tbhK -----END PGP SIGNATURE----- --IbVRjBtIbJdbeK1C--