From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 3 16:20:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A149716A41F for ; Sat, 3 Sep 2005 16:20:52 +0000 (GMT) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C6C543D45 for ; Sat, 3 Sep 2005 16:20:51 +0000 (GMT) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c511d8.dyn.optonline.net [68.197.17.216]) (authenticated bits=128) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id j83GKk8p001878 for ; Sat, 3 Sep 2005 12:20:46 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.3/8.12.10) with ESMTP id j83GKfmp047529 for ; Sat, 3 Sep 2005 12:20:41 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.3/8.13.1/Submit) id j83GKfR9047528 for freebsd-hackers@freebsd.org; Sat, 3 Sep 2005 12:20:41 -0400 (EDT) (envelope-from tbohml) From: Tuc at T-B-O-H Message-Id: <200509031620.j83GKfR9047528@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-hackers@freebsd.org Date: Sat, 3 Sep 2005 12:20:41 -0400 (EDT) X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: rc sequencing issue / mountcritremote X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2005 16:20:52 -0000 Hi, I'm having a bit of a problem with the sequencing of the rc when it relates to "mountcritremote". Right now, the /etc/rc script performs : files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` to determine in what order to start all the services. As it stands now, the sequence looks like : [...] /etc/rc.d/route6d /etc/rc.d/mrouted /etc/rc.d/routed /etc/rc.d/NETWORKING /etc/rc.d/devd /etc/rc.d/mountcritremote /etc/rc.d/syslogd /etc/rc.d/savecore /etc/rc.d/SERVERS /etc/rc.d/named /etc/rc.d/ntpdate /etc/rc.d/rpcbind [...] The problem I'm having is that when it attempts to remotely mount the NFS filesystem I need, there are no support programs running, namely (I THINK) : /etc/rc.d/rpcbind /etc/rc.d/nfsclient /etc/rc.d/mountd /etc/rc.d/nfsd /etc/rc.d/nfslocking It looks like nfsd could force some of this, but it probably would be better that it ran properly. If I override the /etc/rc line to be something like files=`cat /etc/localrcorder.conf` And run the "rcorder -s nostart /etc/rc.d/* > /etc/localrcorder.conf" and put those 5 items before the "/etc/rc.d/mountcritremote", I get 95% of the way there. At this point, "/etc/rc.d/named" isn't running, so using a FQDN on the /etc/fstab doesn't work. If I change it to an IP, then everything is perfect. My question is if somehow I'm not configuring my system correctly, that it shouldn't be mounting the filesystem I need at that time. The problem is, though, is I need my filesystem mounted for "/etc/rc.d/syslogd", so seems like a good enough time as any. If I am configuring it to do it at the proper time, is there a reason the dependencies don't currently have rpc/statd/lockd/etc running first? Thanks, Tuc