On Tue, May 02, 2006 at 08:30:41AM +0200, Christian Perrier wrote: > Quoting Bastian Blank ([EMAIL PROTECTED]): > > Package: samba > > Version: 3.0.22-1 > > Severity: important
> > The samba init script uses ps but don't depend on the procps package, > > which is not essential. > > | # /etc/init.d/samba stop > > | Stopping Samba daemons: nmbd/etc/init.d/samba: line 49: ps: command not > > found > > | smbd/etc/init.d/samba: line 61: ps: command not found > > | . > We currently use ps to check whether smbd or nmbd are running when a > PID file is found, ie get rid of stale PID files instead of trying to > shutdown a non existing daemon. > I'm not completely sure this is the best way to go (however it works, > so breaking this in order to avoid adding a dependency would be > risky). > Other advices? It should be smbd/nmbd's responsibility to remove these pid files on shutdown, but there's always the possibility of crashes anyway. I'd say go ahead with adding the dependency. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature

