From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 17:16:42 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 2E15516A4CE for ; Mon, 27 Sep 2004 17:16:42 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67CFD43D39 for ; Mon, 27 Sep 2004 17:16:40 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from orion.daedalusnetworks.priv (host5.bedc.ondsl.gr [62.103.39.229])i8RHGT3E010717; Mon, 27 Sep 2004 20:16:29 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i8RHGU0n004887; Mon, 27 Sep 2004 20:16:30 +0300 (EEST) (envelope-from keramida@linux.gr) Received: (from keramida@localhost)i8RHGU0R004886; Mon, 27 Sep 2004 20:16:30 +0300 (EEST) (envelope-from keramida@linux.gr) Date: Mon, 27 Sep 2004 20:16:30 +0300 From: Giorgos Keramidas To: Jose M Rodriguez Message-ID: <20040927171630.GB4684@orion.daedalusnetworks.priv> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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:16:42 -0000 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. > > The xdm script requires LOGIN syscons and moused. > But xdm is take very early by rcorder and gets running before init launch > the gettys. > For a safe solution, I think that /etc/rc.d/xdm must tagged 'nostart' and > launch from /etc/ttys. > No. In this case must become a real wrapper. > > But I recall that gnome users do this from /usr/X11R6/etc/rc.d/gdm.sh > without too much problems > > So, I think that must be a real /etc/rc.d/ problem > > After a first look, IMHO, seems that a lot of BEFORE tags are missing. At > last several BEFORE: LOGIN. > > rcorder -k FreeBSD -s nostart /etc/rc.d/* > ... > /etc/rc.d/LOGIN > /etc/rc.d/syscons > /etc/rc.d/xdm > /etc/rc.d/watchdogd > /etc/rc.d/sshd > /etc/rc.d/sendmail > /etc/rc.d/archdep > /etc/rc.d/abi > /etc/rc.d/cron > /etc/rc.d/devfs > /etc/rc.d/jail > /etc/rc.d/localpkg > /etc/rc.d/netoptions > /etc/rc.d/securelevel > /etc/rc.d/resolv > /etc/rc.d/pcvt > /etc/rc.d/othermta > /etc/rc.d/nsswitch > /etc/rc.d/msgs > /etc/rc.d/mixer > /etc/rc.d/inetd > /etc/rc.d/bgfsck > > This is FreeBSD-5BETA5 > May I send-pr this? 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. 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 - Giorgos