[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Daemon init scripts and apt-get [was: Re: red worm amusement]



On Wed, 25 Jul 2001, Mike Fedyk wrote:
> Yes, make the default configurable if you have your debconf setting to
> "medium" or "low" and default to "Don't start" otherwise.

THAT is actually a good idea.

> > > Personally, I think there should either be a /etc/do-not-start/<package> dir that
> > > packages' init scripts check for non-existance before starting, or a
> > > commented entry in the config file that the init script checks for
> > > non-existance before starting...
> > 
> > Well, now we're getting into heavy policy stuff....  I think it would be hard
> > enough to get all the daemon postinst scripts to work in run and no-run mode.
> 
> Actually, if we could get them all to source an sh script that
> contains that logic, all changes to policy would be self-contained.

Please you two, do your homework. Search for invoke-rc.d in debian-policy;
Since the sysvinit maintainer is MIA, you probably got a few weeks to
give suggestions.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: