From owner-freebsd-questions Sat Dec 8 14: 7: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id 5B50137B417 for ; Sat, 8 Dec 2001 14:06:56 -0800 (PST) Received: from dialup-209.247.137.66.dial1.sanjose1.level3.net ([209.247.137.66] helo=blossom.cjclark.org) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16CpcU-00067G-00; Sat, 08 Dec 2001 14:06:55 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fB8KBdC22952; Sat, 8 Dec 2001 12:11:39 -0800 (PST) (envelope-from cjc) Date: Sat, 8 Dec 2001 12:11:38 -0800 From: "Crist J . Clark" To: Axel Scheepers Cc: questions@FreeBSD.ORG Subject: Re: 4.4-STABLE /usr/local/etc/rc.d doesn't start at boot time ? Message-ID: <20011208121138.A22383@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011206173325.A59605@mars.thuis> <20011206170908.L8975@blossom.cjclark.org> <20011208145954.B97115@mars.thuis> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011208145954.B97115@mars.thuis>; from axel@axel.truedestiny.net on Sat, Dec 08, 2001 at 02:59:54PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Dec 08, 2001 at 02:59:54PM +0100, Axel Scheepers wrote: > On Thu, Dec 06, 2001 at 05:09:08PM -0800, Crist J . Clark wrote: > > First the standard: > > > > "Do your startup scripts end in '.sh'? Are they set executable?" > > Hi Crist, > > I didn't change anything, here's the directory: > (14:52) mars:~ >ls -la /usr/local/etc/rc.d/ > total 7 > drwxr-xr-x 2 root wheel 512 Dec 2 15:42 . > drwxr-xr-x 11 root wheel 1024 Oct 22 21:37 .. > -r-xr-xr-x 1 root wheel 50 Oct 7 19:52 000.compat3x.sh > -rwxr-x--x 1 root wheel 434 Jul 30 16:49 apache.sh > -rwxr-x--- 1 root wheel 332 Jul 8 17:26 mysql-server.sh > -r-xr-xr-x 1 root wheel 392 Jul 25 22:58 samba.sh.sample > -rwxr-x--x 1 root wheel 349 Jul 8 18:25 snmpd.sh > > All ok > > > > But the more likely cause, did you run mergemaster(8) or update /etc > > manually? If you updated /etc/rc without updating > > /etc/defaults/rc.conf, your script startup will be broken. > I didn't run mergemaster, I like to perform these steps by hand if possible. > I did put the line local_startup="/usr/local/etc/rc.d" to /etc/rc.conf > This one probably changed, do you know what's best to do next ? # cp /usr/src/etc/defaults/rc.conf /etc/defaults/rc.conf > When I run mergemaster I encounter a lot of diffs, is it safe to let it > change just the /etc/rc.conf mergemaster(8) never touches /etc/rc.conf. > or is it just a one-liner I can add to it ? I'm guessing the problem is with "$script_name_sep," but I would advise updating /etc/defaults/rc.conf as a whole rather than a band-aid fix in /etc/rc.conf. > I'm feeling a bit nervous about running mergemaster since I only have a > limited amount of time and don't want to mess up the box ;-) I would say running mergemaster(8) is the best way _not_ to mess up the box. As this whole problem shows, updating bits and pieces can be very hazardous. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message