Bug#544942: /etc/init.d/nscd should set PATH to /sbin:...
Lubomir Host wrote:
> On Fri, Sep 04, 2009 at 02:25:30PM +0000, Clint Adams wrote:
>> On Thu, Sep 03, 2009 at 10:21:01PM +0200, Lubomir Host wrote:
>>> 22:19 root@Apollo [~] ##: crontab -l | grep nscd
>>> * * * * * if [ -z "`pidof nscd`" ]; then /etc/init.d/nscd restart; fi
>> How and why have you removed /sbin from root's PATH?
> It is fresh Debian installation, not heavy used or customized yet. Other
> scripts does not have problem, only this one.
What you propose seems to be a workaround about an other bug (missing /sbin
in root PATH). Before Debian decides to keep or not the workaround you
suggest, we need to understand the underlining bug (missing /sbin in root PATH).
Can you tell us exactly how to reproduce this bug ? On my systems, I've
no problem to restart nscd (because I have /sbin in my root PATH)
Vincent Danjean GPG key ID 0x9D025E87 firstname.lastname@example.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main