wrt inotify problem

simo idra at samba.org
Tue Apr 10 15:56:27 GMT 2007


On Tue, 2007-04-10 at 17:45 +0200, Volker Lendecke wrote:
> On Tue, Apr 10, 2007 at 11:42:37AM -0400, simo wrote:
> > 
> > It is an SELinux problem so don't worry, I will make DAn fix the policy
> > for FC7.
> > 
> > But you may still want to think if we need to add a better exit
> > condition code in case of errors.
> > smbd was looping forever and filling the logs on SELinux denying smbd
> > access to inotifyfs.
> 
> What error message do we get from which syscall?

The ioctl in notify_inotify.c line 232 fails.

ioctl(in->fd, FIONREAD, &bufsize) return -1 in this case.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list