samba error: Failed to setup RT_SIGNAL_LEASE handler

Rody rody at xs4all.nl
Fri Feb 20 21:16:39 UTC 2004


Op vrijdag 20 februari 2004 21:29, schreef Jim Hayward:
> On Fri, 2004-02-20 at 07:58, Rody wrote:
> > In my logwatch i find the following error returning daily:
> >
> > **Unmatched Entries**
> > smbd/oplock_linux.c:linux_init_kernel_oplocks(287)  Failed to setup
> > RT_SIGNAL_LEASE handler : 35 Time(s)
>
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88716
>
>
> Regards,
> 	Jim H

Ok, found the following solution / workaround, but where does it go?


I was seeing sigaction fail in redhat 9 with 'invalid argument'... I did
the following and oplocks succeeded:

--- samba-2.2.7a/source/smbd/oplock_linux.c.orig 2003-06-05 14:40:49.000000000 
-0400
+++ samba-2.2.7a/source/smbd/oplock_linux.c 2003-06-06 13:34:29.000000000 
-0400
@@ -40,7 +40,7 @@
 #endif
 
 #ifndef RT_SIGNAL_LEASE
-#define RT_SIGNAL_LEASE 33
+#define RT_SIGNAL_LEASE SIGRTMIN
 #endif
 
 #ifndef F_SETSIG
--- samba-2.2.7a/source/smbd/notify_kernel.c.orig 2003-06-06 
13:33:56.000000000 -0400
+++ samba-2.2.7a/source/smbd/notify_kernel.c 2003-06-06 13:37:44.000000000 
-0400
@@ -39,7 +39,7 @@
 
 
 #ifndef RT_SIGNAL_NOTIFY
-#define RT_SIGNAL_NOTIFY 34
+#define RT_SIGNAL_NOTIFY SIGRTMIN+1
 #endif
 
 #ifndef F_SETSIG





More information about the Redhat-install-list mailing list