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?
signature.asc
Description: Digital signature