Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 18:36:55 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Doug Barton <DougB@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: new rc system
Message-ID:  <20030911083655.GA6273@cirb503493.alcatel.com.au>
In-Reply-To: <20030910164901.T35663@12-234-22-23.pyvrag.nggov.pbz>
References:  <20030908105911.GA152151@CIS.FU-Berlin.DE> <20030908194528.GE43314@cirb503493.alcatel.com.au> <20030910164901.T35663@12-234-22-23.pyvrag.nggov.pbz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 10, 2003 at 05:00:49PM -0700, Doug Barton wrote:
[re-ordering rc.d scripts]
>> This is a known shortcoming in the new rc system.  Luke Mewburn
>> commented on it in a talk recently but does not yet have a
>> satisfactory solution.
>
>Can you describe in more detail what you mean by "this is a known
>shortcoming?"

The files in /etc/rc.d/ include dependency information in the form of
'BEFORE' and 'REQUIRE' entries.  The default entries are appropriate
for "normal" configurations but may require changes in some cases (eg
Philipp's situation).

The new rc system currently has no mechanism for over-riding these
defaults other then by editing the individual rc files.  These changes
need to be re-merged if the rc files are updated.

Luke is currently looking at options to allow administrators to alter
the dependency order without requiring the rc files to be edited.  Two
possibilities are:
1) An option to rcorder that allows dependency information to be
   included on the command line.
2) Add a hack to rcorder so that given a file /etc/rc.d/foo, it will
   check for dependency information in /etc/rc.cnf/foo.

Peter



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