Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 20:25:30 +0200
From:      "Ulrich 'Q' Spoerlein" <q@uni.de>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-STABLE <freebsd-stable@freebsd.org>
Subject:   Re: 4.7-PRERELEASE FAILING!!
Message-ID:  <g95kous8elrp0eiu5d3gdetbpebpl6gmke@4ax.com>
In-Reply-To: <20020919145932.GA44851@ns2.wananchi.com>
References:  <20020919115412.GB5415@ns2.wananchi.com> <5.1.0.14.0.20020919080934.0329de80@192.168.0.12> <20020919122039.GC5415@ns2.wananchi.com> <h0hjou8bqplojldskihgdfdvqjbje8n5ue@4ax.com> <20020919125842.GE5415@ns2.wananchi.com> <lcmjoucnaart3209vsj3ovij588qp1dba4@4ax.com> <20020919145932.GA44851@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Sep 2002 17:59:32 +0300, you wrote:

>* Ulrich 'Q' Spoerlein <q@uni.de> [20020919 17:12]: wrote:
>> AFAIR mysqld was started like this: safe_mysqld >/dev/null & && echo -n '
>> mysqld' which won't work anymore. instead use something like this:
>> safe_mysqld &
>> echo -n ' mysqld'
>
>That works. mysql sorted ;)

does it start at boot-up then?

>> since mergemaster doesn't change anything in /usr/local/etc/ i think you
>> made some mistakes at /etc/rc* please redo the merge with -s and update
>> all the rc scripts.
>
>When I ran mergemaster, I actually installed the newer versions of rc* except
>for /etc/rc.conf which I did not want touched, so the problem is somewhere else, no?
>I have re-run mergemaster -s and reinstalled those files again (without any mods).
>Doesn't change the situation.

mergemaster shouldn't touch /etc/rc.conf in anyway. what it _does_
install is /etc/defaults/rc.conf, you should always install the correct
version there and never alter that file in any way.

>At the expense of being seen as dump, I'd like to know which script does the
>initialization/running of the scripts in rc.d/ - I guess that is where the
>problem is, because it would appear rc.d/ is totally ignored!!

it is started from /etc/rc of course. search for 'local_startup'

/etc/rc
   for dir in ${local_startup}; do
      if [ -d "${dir}" ]; then
         for script in ${dir}/*.sh; do
            slist="${slist}${script_name_sep}${script}"
         done
      fi
   done

this puts all scripts in $slist

   for script in ${slist}; do
      if [ -x "${script}" ]; then
         (set -T
         trap 'exit 1' 2
         ${script} start)
      elif [ -f "${script}" -o -L "${script}" ]; then
         echo -n " (skipping ${script##*/}, not executable)"
      fi
   done

and starts them one by one...

did you set local_startup to "NO" in either /etc/rc.conf or
/etc/defaults/rc.conf? 
do you see the 'Local package initialization:' at startup?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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