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