From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 21:29:30 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7732B106566B for ; Tue, 27 Jan 2009 21:29:30 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 3393D8FC1E for ; Tue, 27 Jan 2009 21:29:30 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (vpn-cl-164-234.rz.uni-karlsruhe.de [141.3.164.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 1D1128A000A; Tue, 27 Jan 2009 22:29:09 +0100 (CET) Message-ID: <497F7C9A.3070800@bsdforen.de> Date: Tue, 27 Jan 2009 22:28:58 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.19 (X11/20090110) MIME-Version: 1.0 To: Oliver Lehmann References: <20090127190217.de1802b5.lehmann@ans-netz.de> <497F5F68.3090308@bsdforen.de> <20090127205337.1d39734d.lehmann@ans-netz.de> In-Reply-To: <20090127205337.1d39734d.lehmann@ans-netz.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: xorg upgrade and /etc/ttys regression X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 21:29:30 -0000 Oliver Lehmann wrote: > Dominic Fandrey wrote: > >> /etc/ttys is the very last thing in the boot process. > > Right. But init is the utility which starts up the rc(8) boot process as > this is what the init man page tells. > Reading init.c it seems like /etc/rc is started before read_ttys is called > but I'm not sure that everything is up and running when read_ttys is > reached. > >> It's much more likely that hald isn't working properly. Even if hald >> started late, as soon as it started, your mouse and keyboard would >> start working as soon as hald detects them (that's the whole point >> of using hald, runtime detection). > > But killing my xorg and having it restarted from /sbin/init automatically > gives me back my keyboard and mouse. Nothing else done. > Following Nolans mail hald forks before it can be reached through dbus. The order in which things get started is right, but your assumption that things aren't really set up when hald and dbus fork appear to be correct. As a really dirty workaround I'd change the tty line: ttyv8 "/bin/sleep 3;/usr/local/bin/xdm -nodaemon" xterm on secure Of course insert your login manager of choice, here.