On Tue, 3 Jun 2003 [EMAIL PROTECTED] wrote: > No, he's not thinking we're a scsi driver, the RT_SIGNAL_LEASE handler > is samba trying to set up an kernel oplock (lease). Can you do an strace > and let us know what error message it gets back ?
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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba