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

Lars Wirzenius liw at iki.fi
Sun Jun 25 15:08:19 UTC 2006


su, 2006-06-25 kello 10:33 -0300, Henrique de Moraes Holschuh kirjoitti:
> On Sat, 24 Jun 2006, Lars Wirzenius wrote:
> > 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.

I'm not sure I understand, sorry. Why would use of explicit path to run
invoke-rc.d be interesting at all? If you meant that use of path to run
policy-rc.d, then I'm also not sure it's a problem, since only
invoke-rc.d is supposed to be running policy-rc.d at all.

However, I'm probably only missing something since this is not an area I
have spent a lot of time thinking about.

-- 
Crappy tools are not worth it. Find or make better ones.





More information about the Pkg-sysvinit-devel mailing list