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

/etc/init.d scripts WAS: Re: start-stop-daemon on Debian (fwd)



An additional note that somebody else posted to debian-devel (I believe)
-- this shows that there ARE scripts in /etc/init.d that set the PATH
line, and to the best of knowledge, do not even append, but just
overwrite.

So we DO have to deal with an existing issue, because scripts are being
written however the maintainer wants them to be written. I think the time
for a policy has come, and that is should be (I'm biased) "append your
necessary PATH to the currently set path".

Below is the list of scripts that already overwrite PATH.

-- 
Brock Rozen                                              brozen@torah.org
Director of Technical Services                              (410)358-9800
Project Genesis                                     http://www.torah.org/ 


---------- Forwarded message ----------
Date: Thu, 15 Apr 1999 16:53:24 -0400
From: Stephen J. Carpenter <sjc@delphi.com>

bash-2.02$ grep PATH *
apache:PATH=/bin:/usr/bin:/sbin:/usr/sbin
atd:PATH=/bin:/usr/bin:/sbin:/usr/sbin
atd.dpkg-old:PATH=/bin:/usr/bin:/sbin:/usr/sbin
dhcpc-orig:PATH=/bin:/usr/bin:/sbin:/usr/sbin
halt:PATH=/sbin:/bin:/usr/sbin:/usr/bin
modutils:PATH="/sbin:/bin:/usr/sbin:/usr/bin"
grep: nohup.out: Permission denied
rcS:PATH=/sbin:/bin:/usr/sbin:/usr/bin
rcS:export PATH runlevel prevlevel
reboot:PATH=/sbin:/bin:/usr/sbin:/usr/bin
well ok
bash-2.02$ grep PATH *
apache:PATH=/bin:/usr/bin:/sbin:/usr/sbin
atd:PATH=/bin:/usr/bin:/sbin:/usr/sbin
atd.dpkg-old:PATH=/bin:/usr/bin:/sbin:/usr/sbin
dhcpc-orig:PATH=/bin:/usr/bin:/sbin:/usr/sbin
halt:PATH=/sbin:/bin:/usr/sbin:/usr/bin
modutils:PATH="/sbin:/bin:/usr/sbin:/usr/bin"
grep: nohup.out: Permission denied
rcS:PATH=/sbin:/bin:/usr/sbin:/usr/bin
rcS:export PATH runlevel prevlevel
reboot:PATH=/sbin:/bin:/usr/sbin:/usr/bin
samba:PATH=/sbin:/bin:/usr/sbin:/usr/bin
sendsigs:PATH=/sbin:/bin:/usr/sbin:/usr/bin
single:PATH="/sbin:/bin:/usr/sbin:/usr/bin"
skeleton:PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
squid:PATH=/bin:/usr/bin:/sbin:/usr/sbin
umountfs:PATH=/sbin:/bin:/usr/sbin:/usr/bin
xdm:PATH=/bin:/usr/bin:/sbin:/usr/sbin
xfs:PATH=/bin:/usr/bin:/sbin:/usr/sbin
xfstt:PATH=/bin:/usr/bin:/sbin:/usr/sbin

I count 16 unique scripts that have it. I also count about 45 scripts 
in my init.d directory. Sound slike your right.




Reply to: