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

Re: Bug#292299: ITP: policyrcd -- policy-compliant interface from invoke-rc.d to local config files



On Thu, 27 Jan 2005, Marc Haber wrote:
> On Wed, 26 Jan 2005 08:12:36 -0200, Henrique de Moraes Holschuh
> <hmh@debian.org> wrote:
> >On Wed, 26 Jan 2005, David Pashley wrote:
> >> > The better fix IS to add an extra line to both incarnations of invoke-rc.d
> >> > (sysv-rc's and file-rc's) to look under /usr/local/sbin first.
> >
> >Make that "later".  I just noticed one has to run the system's
> >/usr/sbin/policy-rc.d in preference to all else.
> 
> Why?

Because if any package that is NOT a policy-rc.d package is providing a
policy-rc.d in /usr/sbin, it has a damn good reason to do so, and it should
take precendence.  Examples of damn good reasons are alternative initscript
managers such as runit.

If a package that is a policy-rc.d package is installed, then the local
admin is supposed to take care of things (he should uninstall that package,
if he wants to use his own policy-rc.d under /usr/local.  Or register his
policy-rc.d as an alternative and select that one, etc).

-- 
  "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: