[PATCH] fix ctdb autotest when recent socket-wrapper is installed in the system

Amitay Isaacs amitay at gmail.com
Fri Jul 8 13:42:10 UTC 2016


Hi Michael,

On Fri, Jul 8, 2016 at 9:53 PM, Michael Adam <obnox at samba.org> wrote:

> Hi all,
>
> With current code, when a recent version of socket-wrapper is
> installed in the syste, ctdb autotest fails, because the
> ctdb/wscript has a hardcoded location to the socket-wrapper
> lib for preloading, irrespective of whether socket-wrapper is
> built or used from the system.
>
> Attached patch fixes this.  Please review!
>
>
How about constructing socket_wrapper library path relative to blddir
instead of srcdir?
That way we don't need any special case for ctdb build.

I have added a socket_wrapper patch and modified your patch to remove
special case.

Amitay,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches
Type: application/octet-stream
Size: 2296 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160708/8e04b9da/patches.obj>


More information about the samba-technical mailing list