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 Tue, 2010-05-25 at 17:24 -0500, Les Mikesell wrote:
> On 5/25/2010 5:09 PM, Whit Blauvelt wrote:
> > On Tue, May 25, 2010 at 06:05:34PM -0400, Whit Blauvelt wrote:
> >
> >> where "smb" is RH's version and /etc/init.d/smb is Cent's. I can't quite
> >> imagine that a difference between overwriting or appending path.txt is at
> >> the root of what I'm seeing though.
> >
> > Correction: that wasn't a virgin version of Cent's. More in a moment.
> 
> Try changing:
> daemon smbd $SMBDOPTIONS
> to
>   strace -f smbd $SMBDOPTIONS
> and run it in the way that fails.  If there's not enough left on the 
> screen to see why it died, try
>   strace -f smbd $SMBOPTION 2>/tmp/smblog
> and look at the file reading backwards to find a fatal error.
> 
> I'm still very curious about why it would work when run with 'sh'.
> 
Maybe try an ls -alZ fopr both sh and bash. There may be a suble
difference there. If selinux gets in the way for one but not the other
there may be something fishy with the selinux settings of the shell (or
the /etc/init.d/samba file)
Louis 


_______________________________________________
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