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

Thu May 20 22:21:19 UTC 2010
JohnS <jses27 at gmail.com>

On Thu, 2010-05-20 at 17:41 -0400, Whit Blauvelt wrote:
> More data:
> 
> "service smb restart" - does NOT get smbd running (although shows "OK")
> 
> "sh /etc/init.d/smb restart" - DOES get smbd running
> 
> The "service" man page claims the only environment variables it passes are
> LANG and TERM. But that can't be the key, since 
> 
> "/etc/init.d/smb restart" - does NOT get smbd running (although shows "OK")
> 
> For that matter
> 
> "bash /etc/init.d/smb restart" - DOES get smbd running
> 
> Changing the first line of init.d/smb to /bin/bash from /bin/sh changes all
> this not at all.
> 
> What the heck can this be?
---
Maybe try "rpm -V samba" to verify all the samba files.  You get any
output then you have problems.

JOhn