Bug#375183: [Pkg-sysvinit-devel] Bug#375183: invoke-rc.d: Uses hardcoded path to policy-rc.d

Henrique de Moraes Holschuh hmh at debian.org
Sun Jun 25 13:33:34 UTC 2006


On Sat, 24 Jun 2006, Lars Wirzenius wrote:
> Package: sysv-rc
> Version: 2.86.ds1-14.1
> Severity: normal
> File: /usr/sbin/invoke-rc.d
> 
> invoke-rc.d hardcodes the path to policy-rc.d. This means that a sysadmin
> who wants to write a policy layer has to put it into /usr/sbin, instead
> of /usr/local/sbin. This seems suboptimal.
> 
> Would it be possible to just rely on searching the $PATH to find the
> policy-rc.d program?

If, and *only* if all other usage of invoke-rc.d with a path is also
forbidden, then yes.  I mean in all maintainer packages, which also means an
lintian check, 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




More information about the Pkg-sysvinit-devel mailing list