New ZeroConf Spec

Christofer C. Bell christofer.c.bell at gmail.com
Mon Jul 17 14:30:52 BST 2006


On 7/5/06, Matthew Palmer <mpalmer at hezmatt.org> wrote:
>
> The maintainer script is the only place that this is recorded.  RedHat
> (maybe it's LSB, but I don't think so) has specially-formatted crud in the
> script header to tell tools where to put init scripts in the order, but the
> problem there is that it doesn't take into account any local tuning of the
> order to accomodate local scripts or otherwise -- chkconfig (hack, spit!)
> will blat all over your local modifications, while update-rc.d won't touch
> it (because there's already symlinks in place) and sysv-rc-conf, whilst not
> optimal (in that it doesn't reverse the numbering on K), will at least
> preserve your numbering instead of eating it.

While I feel the discussion here is productive and useful, I take
exception to this statement here.  Can you please elaborate on your
problem with chkconfig?  Once the "specially-formatted crud" is in
place in your init script, chkconfig simply sets the S and K symlinks
appropriately in the correct runlevels's rc#.d directories.  It's not
aware of any difference between "system installed" and "locally
installed" init scripts, treating them both with equal priority.

I don't know what you mean by "blat all over your local modifications"
because chkconfig doesn't modify any files when it runs.  It simply
creates and deletes the S and K symlinks intelligently based on the
"specially-formatted crud" in the file header.  It does not modify,
delete, overwrite, or create any init scripts itself.

Perhaps the pros and cons of chkconfig vs. manual management of the
sysv init symlinks is a topic for another conversation, but I do feel
it's important to either dispell misinformation on which decisions are
being based, explore where misconstrued opinions come from, or to get
actual issues out in the open for discussion (read: I could very well
be mistaken about the benefits of chkconfig, but my initial reading of
this message doesn't contain what I consider correct information based
on my years of experience with Red Hat and Fedora systems).

-- 
Chris

"I trust the Democrats to take away my money, which I can afford.  I
trust the Republicans to take away my freedom, which I cannot."



More information about the ubuntu-devel mailing list