From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 17:38:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FFF216A4CF for ; Mon, 27 Sep 2004 17:38:32 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A94C43D1D for ; Mon, 27 Sep 2004 17:38:30 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CBzSY-0007Oa-00 Mon, 27 Sep 2004 19:38:46 +0200 Received: from [212.106.255.190] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CBzSX-0007OL-00 Mon, 27 Sep 2004 19:38:45 +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 i8RHcRku022711; Mon, 27 Sep 2004 19:38:27 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Date: Mon, 27 Sep 2004 19:38:26 +0200 To: "Giorgos Keramidas" References: <20040927171630.GB4684@orion.daedalusnetworks.priv> 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: <20040927171630.GB4684@orion.daedalusnetworks.priv> 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: current@freebsd.org Subject: Re: WIP: /etc/rc.d/xdm RCORDER problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 27 Sep 2004 17:38:32 -0000 On Mon, 27 Sep 2004 20:16:30 +0300, Giorgos Keramidas wrote: > On 2004-09-27 14:50, Jose M Rodriguez wrote: >> I have now a working /etc/rc.d/xdm script for booting >> Xorg(XDMCP)/gdm/kdm/xdm. >> But I have reached a problem. >> ... > Sure, you can always send-pr something that bothers you. In this case > though, IMHO, you should wait a bit. > > Some of the rc.d scripts you listed above have a `REQUIRE: LOGIN' line. > This will create a dependency problem if combined with a line that > contains `BEFORE: LOGIN', since a script cannot depend on LOGIN to start > but start before LOGIN. > I don't think this may be a REQUIRE issue, but a BEFORE: one as an explample, if inetd must launch a NETWORK, it must be launch BEFORE LOGIN. I can't send-pr this. I doesn't know even how to begin. I rather puzzle that, ading a simple script (xdm) I can't manage to put it at the very end of rcorder (I have race problems between gettys from /etc/ttys and xdm). To get a working patch, I've to rename xdm to 0xdm. It, at a minimum, annoying. I can sure what is. But rcorder seems to be very sensitive to 'string order'. Take note is other problems arise ... Just putting another script more !! > The scripts that depend on LOGIN and are listed above are: > > /etc/rc.d/syscons:# REQUIRE: LOGIN usbd > /etc/rc.d/sshd:# REQUIRE: LOGIN > /etc/rc.d/sendmail:# REQUIRE: LOGIN > /etc/rc.d/archdep:# REQUIRE: LOGIN > /etc/rc.d/abi:# REQUIRE: LOGIN > /etc/rc.d/cron:# REQUIRE: LOGIN > /etc/rc.d/devfs:# REQUIRE: LOGIN > /etc/rc.d/jail:# REQUIRE: LOGIN > /etc/rc.d/pcvt:# REQUIRE: LOGIN > /etc/rc.d/othermta:# REQUIRE: LOGIN > /etc/rc.d/msgs:# REQUIRE: LOGIN > /etc/rc.d/mixer:# REQUIRE: LOGIN usbd > /etc/rc.d/inetd:# REQUIRE: DAEMON LOGIN > And ... why? sshd, sendmail, inetd, othermta ... It's no sense. All this are network servers that must be on NETWORK, REQUIRE NETWORKING and be run BEFORE LOGIN ¿no?. > - Giorgos > -- josemi > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/