From owner-freebsd-rc@FreeBSD.ORG Tue Sep 28 09:35:05 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A20116A4CE for ; Tue, 28 Sep 2004 09:35:05 +0000 (GMT) Received: from smtp2.jazztel.es (smtp2.jazztel.es [62.14.3.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0703E43D54 for ; Tue, 28 Sep 2004 09:35:05 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp2.jazztel.es with antivirus id 1CCENt-0005aR-00 Tue, 28 Sep 2004 11:34:57 +0200 Received: from [212.106.236.118] (helo=rguez.homeunix.net) by smtp2.jazztel.es with esmtp id 1CCENs-0005Z5-00 Tue, 28 Sep 2004 11:34:56 +0200 Received: from localhost.redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i8S9EBuY017014; Tue, 28 Sep 2004 11:14:15 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Date: Tue, 28 Sep 2004 11:14:10 +0200 To: "Mike Makonnen" References: <20040928081416.GA1372@rogue.acs.lan> From: "Jose M Rodriguez" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040928081416.GA1372@rogue.acs.lan> User-Agent: Opera M2/7.54 (FreeBSD, build 751) X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.11; VDF 6.27.0.70 (host: antares.redesjm.local) X-Virus-Scanned: by antivirus cc: freebsd-rc@freebsd.org Subject: Re: rcNG problems on RELENG_5 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 09:35:05 -0000 On Tue, 28 Sep 2004 11:14:16 +0300, Mike Makonnen wrote: > On Mon, Sep 27, 2004 at 07:13:53PM +0200, Jose M Rodriguez wrote: >> >> Hi, >> >> I'm in the way of make /etc/rc.d/xdm operative to lanunch >> Xorg/gdm/kdm/xdm >> from rc. >> >> I now have a working patch, but I have to change the name of the script >> from xdm to 0xdm. >> >> The reason seems to be a lot of BEFORE: tags missing. At last, several >> IMHO important 'BEFORE: LOGIN' ones. >> >> This is a known issue? > > What's the issue? The LOGIN script is there so that user logins and other > initiated actions do not occur untill the system is almost fully started. > What's the problem and how is this related to the xdm/getty issue? > > Cheers. There is a last process in the rc boot: init that launch gettys via /etc/ttys. xdm really needs gettys running when it comes up, this is a race condiction between xdm an init. I've got problems with this since /usr/X11R6/etc/rc.d/gdm.sh hit the tree. With /etc/rc.d/xdm is even worse. rcGN really lacks BEFORE tags that isolates a 'near last' stage where just that things with gettys race problems lives. ¿Why to Solve? - By a new 'syncpoint' before LOGIN and moving to this all those things that are run at LOGIN and _not_ related to gettys or similar. - By a a new 'syncpoint' after login (LAST?) that make possible put things for run really as the very last of rcorder. After renaming xdm to 0xdm, my race problems gone away, but I thing this must be take in account for rcNG developpment. -- josemi -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/