[Samba] Can't get samba to start.

Doug VanLeuven roamdad at sonic.net
Wed Nov 14 03:28:59 GMT 2007

Samuel Melrose wrote:
> Hey,
> I'm having problems with samba. It has never worked properly on my server
> since I've had it installed.. Its for a home server, running xbox-Linux
> Fedora Core 6.
> I've just uninstalled every trace of the old samba, and started a fresh.
> With the latest samba sources I found on the website.
> The nmbd starts fine, but smbd never starts, and in the kernel log, I get
> the following message....
> "<5>audit(1194957676.859:270): avc:  denied  { write } for  pid=14000
> comm="smbd"
>  name="secrets.tdb" dev=hda2 ino=2490462 scontext=root:system_r:smbd_t:s0
> tconte
> xt=root:object_r:etc_t:s0 tclass=file
Looks like you're running selinux in "enforcing" mode.

You'll need to develope your own tageted file overrides to allow samba 
to write to the necessary files.

In the meantime, you can change selinux to "permissive" mode which only 
logs the violation.

Regards, Doug

More information about the samba mailing list