[Samba] smbd write failure, kernel

Филипп Филиппов ibmhuman at gmail.com
Fri May 25 05:51:47 GMT 2007

I have samba 3.0.23c-2 installed on Fedora Core 7. Smbd and nmbd daemons 
start automotically with computer via commands in rc.local:
smbd -D
nmbd -D

But there is one problem. When smbd starts via rc.local, it can't write 
files to the disk.
And when I start it myself, everything is fine.

[2007/05/21 09:49:06, 0] lib/util_sock.c:write_data(562)   write_data: 
write failure in writing to client Error Connection reset 
by peer

May 22 16:57:37 server kernel: audit(1179827857.498:149): avc:  denied  
{ write } for  pid=10734 comm="smbd" name="log" dev=tmpfs ino=24665 
scontext=system_u:system_r:smbd_t:s0 tcontext=root:object_r:device_t:s0 

Please, help.


More information about the samba mailing list