Re: not starting packages at boot
On 23-Jan-05, 14:05 (CST), Mark Brown <broonie@sirena.org.uk> wrote:
> On Sun, Jan 23, 2005 at 10:53:48AM -0600, Steve Greenland wrote:
>
> > /etc/default/foo. I could tolerate it if packaged defaulted *on*, but it
> > seems the habit is to default off. And more importangly, as others have
> > said (every single time this comes up), there is an *existing* mechanism
> > to accomplish this that doesn't require modifying every daemon package:
> > invoke-rc.d and policy-rc.d.
>
> The main case where this sort of thing is useful is the case where the
> package can't be shipped with a sane default configuration for some
> reason and the init script can't detect this situation.
But it seems to be used far more often than in that case.
Besides, IMO, '/etc/init.d/foo start' should *always* attempt
to start the daemon if foo isn't running.
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
Reply to: