Re: new rc system

From: Peter Jeremy <PeterJeremy_at_optushome.com.au>
Date: Thu, 11 Sep 2003 18:36:55 +1000
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
Received on Wed Sep 10 2003 - 23:37:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC