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

Re: Bug#225465: debian-policy: packages must give choice to notstart at boot, via debconf



This one time, at band camp, Stephen Gran said:
> This one time, at band camp, Anthony DeRobertis said:
> > Fix the package to use invoke-rc.d in its maintainer scripts, then do 
> > your don't-run-at-upgrade policy from invoke-rc.d
> > 
> > Look in the invoke-rc.d manpage, under 'INIT SCRIPT POLICY'. Is that 
> > what you're looking for?
> 
> That's what I had hoped for, but:

Replying to myself, both for the archives and to save others the
trouble.  I finally beat it through my skull about invoke-rc.d.  I had
only put an S link in /etc/rcS.d, and no other links.  Apparently that
is sufficient for invoke-rc.d to think it should run start on the
script, however.  Explicitly adding a K link to every other run level
gives the desired behavior, and still lets the admin call it as
/etc/init.d/..

*sigh*  Thanks all,
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpXk177eeECP.pgp
Description: PGP signature


Reply to: