[Samba] Migrating from 2.2.8a to 3.0.5 / Failed to setup RT_SIGNAL_LEASE handler

Mark Dixon ccaamad at ucl.ac.uk
Mon Aug 16 12:51:41 GMT 2004


On Mon, 16 Aug 2004, Gerald (Jerry) Carter wrote:

> Mark Dixon wrote:
>
> | I'm running Slackware 9.0 with a vanilla Linux kernel 2.4.25.
> | Due to the announced EOL for 2.2.x, I'm trying to migrate our
> | Samba hosts to version 3.0.5. These Samba hosts serve shares
> | mounted off a seperate NFS fileserver.
> |
> | All is going well, except I've started getting the
> | following messages in the smbd logs:
> |
> | ---- Start of snippet ----
> |   Failed to setup RT_SIGNAL_LEASE handler
> | ---- End of snippet ----
>
> Best guess is that smbd knows the kernel supports oplocks
> but the failure is caused by the failure to register the
> signal handler (perhaps due to the mounted nfs file system).
>
> Ther relevant code is :
>
> struct kernel_oplocks *linux_init_kernel_oplocks(void)
> {
> ~   ...
> ~   act.sa_handler = NULL;
> ~   act.sa_sigaction = signal_handler;
> ~   act.sa_flags = SA_SIGINFO;
> ~   sigemptyset( &act.sa_mask );
> ~   if (sigaction(RT_SIGNAL_LEASE, &act, NULL) != 0) {
> ~   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ~      DEBUG(0,("Failed to setup RT_SIGNAL_LEASE handler\n"));
> ~      return NULL;
> ~   }
> ~   ....
> }

Thanks for the pointer, Jerry, it's very much appreciated and very
helpful. I'll investigate further and report back if I find anything
interesting.

Regards,

Mark
-- 
------------------------------------------------------
Mark Dixon                Email    : m.dixon at ucl.ac.uk
Systems Integration       Tel (int): 34371
Information Systems       Tel (ext): 020 7679 4371
University College London, UK
------------------------------------------------------


More information about the samba mailing list