Proposed guideline for init script files
Ralf Corsepius
rc040203 at freenet.de
Tue Mar 6 03:33:28 UTC 2007
On Mon, 2007-03-05 at 13:18 -0600, Callum Lerwick wrote:
> On Wed, 2007-02-28 at 14:38 +0100, Ralf Corsepius wrote:
> > On Wed, 2007-02-28 at 07:59 -0500, Christopher Blizzard wrote:
> > > +1. In general if you have to edit an init startup file, it's a bug.
> >
> > Exactly ... and what can users do about it? Edit them.
> >
> > With them not being marked %config users can only hope that RH/upstream
> > fixes it before the next update blows away their edits :(
> >
> > > Configuration should be in /etc/sysconfig/foo.
> > But real bugs and missing features init scripts suffer from can't.
> >
> > As I've said many times before, I consider not marking init scripts
> > %config a regression, Fedora will regret.
>
> cp -a /etc/init.d/foo /etc/init.d/foo-custom
> chkconfig foo off
> chkconfig foo-custom on
This is exactly the same, %config(noreplace) would do automatically.
Ralf
More information about the Fedora-maintainers
mailing list