Re: Odd failure of smbd to start from init.d - CentOS 5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 05/20/2010 04:46 PM, 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.
>    
I would start by comparing the values of all the environment variables 
between running as /bin/sh and /bin/bash:

env > bash_env.txt
/bin/sh
env > sh_env.txt
exit
diff bash_env.txt sh_env.txt

-- 
Benjamin Franz

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux