From owner-freebsd-stable@FreeBSD.ORG Tue Jun 14 18:34:55 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3CC316A41C for ; Tue, 14 Jun 2005 18:34:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F9043D58 for ; Tue, 14 Jun 2005 18:34:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j5EIYsUY006220; Tue, 14 Jun 2005 11:34:54 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j5EIYsN6006219; Tue, 14 Jun 2005 11:34:54 -0700 Date: Tue, 14 Jun 2005 11:34:54 -0700 From: Brooks Davis To: "Michael W. Lucas" Message-ID: <20050614183454.GI20371@odin.ac.hmc.edu> References: <20050614150240.GA62949@bewilderbeast.blackhelicopters.org> <42AEF361.2010405@t-hosting.hu> <590EEFC5-8D42-40F3-B723-F62F478D09D0@khera.org> <20050614155836.GA63382@bewilderbeast.blackhelicopters.org> <20050614164355.GA34603@falcon.midgard.homeip.net> <20050614181904.GG20371@odin.ac.hmc.edu> <20050614182513.GA64845@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nEsDIrWrg+hrB7l1" Content-Disposition: inline In-Reply-To: <20050614182513.GA64845@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: Vivek Khera , stable@freebsd.org Subject: Re: /usr/local/etc/rc.d/*.sh not working? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 18:34:55 -0000 --nEsDIrWrg+hrB7l1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2005 at 02:25:13PM -0400, Michael W. Lucas wrote: > On Tue, Jun 14, 2005 at 11:19:04AM -0700, Brooks Davis wrote: > > It's b) and this guess is wrong because we don't do any detection of > > rcorder compatable scripts yet. See /etc/rc.d/localpkg for exactly how > > the scripts in /usr/local/etc/rc.d get run. > >=20 > > My suggestion would be to write up a single rc.d script that handles > > everything using some combination of ifconfig_ style variables or a > > config file. Then you have only one script and you'll be ready to go > > when we move to full rcordering (hopefully in 7.0). >=20 > Thanks, a definite answer is appreciated. >=20 > I'm going to take your advice, but also dig in to find out why these > don't start. I intensely dislike unexplained behavior, and wonder > what else is broken on these boxes... Yah, it's odd that the scripts aren't running. I don't think it's a maximum command length issue since 1000 files with names like: /usr/local/etc/four/test-script-975 aren't a problem for "echo `find /usr/local/etc/four/`" -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --nEsDIrWrg+hrB7l1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCryNLXY6L6fI4GtQRAnMOAJ0bqPKozOAOuj+XvCi0U+fuNfMQhQCcCkrm +Q+/XOHGQB0orTKt9X0BJ7g= =emhM -----END PGP SIGNATURE----- --nEsDIrWrg+hrB7l1--