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

Les Mikesell lesmikesell at gmail.com
Fri May 21 16:09:59 UTC 2010


On 5/21/2010 10:56 AM, Whit Blauvelt wrote:
> On Fri, May 21, 2010 at 10:24:00AM -0500, Les Mikesell wrote:
>
>> The only difference here 'should' be that explicitly running 'sh' will
>> invoke your own shell aliases and search PATH to execute sh, where if
>> you omit it you'll get the #!/bin/sh interpreter specified in the script
>> itself.  Is there anything in your aliases or anything before /bin in
>> PATH where the working shell might be found?
>
> No aliases. No modification of PATH from the stock install. All other init.d
> scripts are working without problem.

But /bin isn't first in PATH.  Does 'which sh' say /bin/sh? Also, sh and 
bash are really the same thing.  Does rpm -V bash show everything stock?

-- 
   Les Mikesell
     lesmikesell at gmail.com



More information about the CentOS mailing list