Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 12:27:38 -0500
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Axel Scheepers <axel@axel.truedestiny.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: 4.4-STABLE /usr/local/etc/rc.d doesn't start at boot time ?
Message-ID:  <20011224122738.A133@gohan.cjclark.org>
In-Reply-To: <20011222143831.A1512@mars.thuis>; from axel@axel.truedestiny.net on Sat, Dec 22, 2001 at 02:38:31PM %2B0100
References:  <20011206173325.A59605@mars.thuis> <20011206170908.L8975@blossom.cjclark.org> <20011208145954.B97115@mars.thuis> <20011208121138.A22383@blossom.cjclark.org> <20011222143831.A1512@mars.thuis>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 22, 2001 at 02:38:31PM +0100, Axel Scheepers wrote:
> On Sat, Dec 08, 2001 at 12:11:38PM -0800, Crist J . Clark wrote:
> > > > 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'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.
> 
> Hi Crist,
> 
> I ran mergemaster and did an update of almost all scripts I hadn't changed,
> including /etc/defaults/rc.conf and /etc/rc 
> I rebooted the server a minute ago, but the few scripts in /usr/local/etc/rc.d
> are still not being started.
> I'm going to look for the "$script_name_sep" which you pointed out before
> to see what's the problem. Do you have any clues about why they still won't
> start ? (I did let mergemaster copy the updated ones over the old ones; i 
> didn't merge them so that should be ok)

It's hard to say with the information we have what might be wrong. The
best advice I can come up with is double-check everything one more
time, and if you don't see the problem, try some more debugging:

Try the following,

  $ awk '/awk '/^case \${local_startup/ { go = 1 } go == 1 { print } /^esac/ { go = 0 }' /etc/rc > /tmp/rc.startup
  $ sh -x
  $ . /etc/defaults/rc.conf
  $ . /etc/rc.conf
  $ . /tmp/rc.startup

And see what is going on. These commands are going to be a bit spammy,
and watch out if you actually try them as root.
-- 
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224122738.A133>