[CentOS] Odd failure of smbd to start from init.d - CentOS 5.4

Fri May 21 01:52:31 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Whit Blauvelt wrote:
> 
> Also, since "sh /etc/init.d/smb (re)start" works but "/etc/init.d/smb
> (re)start" doesn't, I can't see how the difference between those two
> invocations would change the handling of the lock files. It's still the same
> script being run. Just some change in the environment whose subtlety escapes
> me.

What shell does the script specify at the top and what is found following $PATH?

-- 
   Les Mikesell
    lesmikesell at gmail.com