Hi, This is a followup on Debian bug <http://bugs.debian.org/259277>.
On mar, jui 13, 2004, Laura en Erik Peters / Postma wrote: > > /etc/init.d/watchdog does not set the path and does > not tell sh where to find start-stop-daemon Thanks for your report and your patch. There's no clear statement in the Debian policy whether or not to set a sane PATH in init scripts, or whether to call binaries with their full pathname in init scripts. However, the policy has general statements on shell scripts, and some discussions in the Debian mailing-lists indicate that: - root should use a sane environment, this is clearly not your case, please fix your environment, - scripts should avoid calling binaries with their full pathnames as it renders it difficult to change the behavior to use a different binary by prepending an item to the PATH, - for the same reason, the PATH should not be hardcoded in shell scripts. The discussion and links to other discussions is at <http://bugs.debian.org/276160>. Please note that init scripts are configuration files, so you're free to change them if your setup requires it. Also, Debian recommends using "invoke-rc.d" to call init scripts, ie "invoke-rc.d watchdog start", but that won't set a sane PATH neither. Michael, from my point of view you can close this bug, I've read you're looking into this issue, maybe you should make your own mind while reading the debian-policy bug I pointed to. Regards, -- Loïc Minier <[EMAIL PROTECTED]> "Neutral President: I have no strong feelings one way or the other."