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

Whit Blauvelt whit at transpect.com
Fri May 21 18:36:30 UTC 2010


On Thu, May 20, 2010 at 08:52:31PM -0500, Les Mikesell wrote:

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

Here's from the console:

# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/home/OpenBase/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

# which sh
/bin/sh

Here's the path seen within the init.d/smb script (from an inserted echo $PATH > file):

/sbin:/usr/sbin:/bin:/usr/bin

Whit



More information about the CentOS mailing list