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

Tue May 25 22:17:50 UTC 2010
Whit Blauvelt <whit at transpect.com>

On Tue, May 25, 2010 at 06:09:40PM -0400, Whit Blauvelt wrote:

> Correction: that wasn't a virgin version of Cent's. More in a moment.

This gets more bizarre. To a virgin version of Cent's /etc/init.d/smb - it's
a perfect match:

 # diff ./smb /etc/init.d/smb
 # 

That's right, no diff!

Yet if I run ./smb - the Redhat version, identical but for where it sits, it
starts smbd with no problem. But /etc/init.d/smb of course still fails. Both
are rwxr-xr-x 1 root root. So: same file contents, same file permissions and
ownership, same invocation, and the one in /etc/init.d fails.

On two different CentOS systems.

WTF?

Whit