CTDB by default in Debina lenny? (was: [Pkg-samba-maint] Situation of various samba packages)

Mathieu PARENT math.parent at gmail.com
Thu Jul 10 07:04:29 GMT 2008


Thanks for your quick reply.

On Wed, Jul 9, 2008 at 11:39 PM, ronnie sahlberg
<ronniesahlberg at gmail.com> wrote:
> Hi,
> Can you please provide any patches you have for /etc/ctdb/functions

> and the scripts in /etc/ctdb/events.d
> I am not sure that the mainline version of ctdb has fully debianized scripts.

Sure: http://svn.debian.org/wsvn/pkg-samba/trunk/ctdb/debian/patches/06_services_names.diff?op=file&rev=0&sc=0
(this is a very trivial patch, because some part is already merged,
see https://bugzilla.samba.org/show_bug.cgi?id=5258).

I've only done samba and httpd.

ctdb and interface are working out of the box.

00.ctdb: no changes needed, tested -> OK
10.interface: no changes needed, tested -> OK
40.vsftpd:  not patched, not tested
41.httpd: patched and tested -> OK
50.samba: patched and tested -> OK
60.nfs:  not patched, not tested
61.nfstickle:  not patched, not tested
70.iscsi:  not patched, not tested (I don't have the hardware)
90.ipmux:  not patched, not tested
91.lvs:  not patched, not tested

> On Wed, Jul 9, 2008 at 11:40 PM, Mathieu PARENT <math.parent at gmail.com> wrote:
>> Hi,
>> On Wed, Jul 9, 2008 at 7:27 AM, Christian Perrier <bubulle at debian.org> wrote:
>>> (snip)
>>>      ctdb: good support by Mathieu (who just began the NM process)
>>>            Should we consider it for testing?
>> yes ! ctdb is even usefull without samba (it will replaces heartbeat
>> in our particular setup). And it it easy to compile samba with ctdb.
>> I will propose a new upload soon, probably the latest befor freeze.
>>>            Will we build samba 3.2.0 with it?
>> We first have to know the answer of this :
>> Does enabling ctdb at compilation time changes samba behavior when
>> "clustering = yes" is not set in smb.conf?
> No it does not.
> When clustering=yes is NOT set in smb.conf  you will have the exact
> same behaviour as if samba was compiled without ctdb.
> So, there is no need to provide both a "normal" and a "clustered"
> version of samba.

This is a good news. So we can enable clustering by default in debian
by adding "--with-ctdb --with-cluster-support" to configure options
(--enable-pie=no is already enabled)/

Mathieu Parent

More information about the samba-technical mailing list