new rc system
    Peter Jeremy 
    PeterJeremy at optushome.com.au
       
    Thu Sep 11 01:37:03 PDT 2003
    
    
  
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
    
    
More information about the freebsd-current
mailing list