MIR for ctdb

Bug #497035 reported by Chuck Short
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ctdb (Ubuntu)
Invalid
Undecided
Ubuntu Security Team

Bug Description

Binary package hint: ctdb

Hi,

I would like to include ctdb in main. It is apart of the server-lucid-seeds specification. The MIR can be found at:

https://wiki.ubuntu.com/MIRctdb

If you have any questions let me know.

Regards
chuck

Martin Pitt (pitti)
Changed in ctdb (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
assignee: Martin Pitt (pitti) → Alexander Sack (asac)
Revision history for this message
Loïc Minier (lool) wrote :

Took a quick first look; maintenance was indeed solid in Debian; will the server team subscribe to the bugs in Ubuntu?

I was a bit surprized to find:
configure: WARNING: the provided readdir() is broken
in the build log and *many*:
server/ctdb_lockwait.c:140: warning: ignoring return value of 'write', declared with attribute warn_unused_result
server/eventscript.c:53: warning: ignoring return value of 'system', declared with attribute warn_unused_result
etc.
(surprizing because I imagine this software is meant to improve reliability, yet it would not have solid error handling?)

Didn't actually look at the source code to check whether these are actual issues; could you check and/or bring this up with upstrean?

You will need to MIR tdb first or drop the ctdb depends on tdb-tools.

Revision history for this message
Chuck Short (zulcss) wrote :

The gcc warnings should be addressed as well.

chuck

Revision history for this message
Loïc Minier (lool) wrote :

NB: tdb is already in main, just tdb-tools isn't, but that's just a binary package from tdb.

Revision history for this message
Loïc Minier (lool) wrote :

Will you move to upstart? In any case, please change the init script to call bash explicitly instead of using /bin/sh:
% checkbashisms debian/ctdb.init
possible bashism in debian/ctdb.init line 215 (should be 'b = a'):
    if [ yes == "$CTDB_SUPPRESS_COREFILE" ]; then
possible bashism in debian/ctdb.init line 216 (ulimit):
        ulimit -c 0
possible bashism in debian/ctdb.init line 218 (ulimit):
        ulimit -c unlimited

Revision history for this message
Loïc Minier (lool) wrote :

Suggestion: /var/log/log.ctdb sounds kind of a stupid logname, how about ctdb.log instead?

Revision history for this message
Loïc Minier (lool) wrote :

FYI, the rules aren't -j safe:
clean: clean-patched unpatch

The testsuite isn't run during build; that would definitely be welcome; I could run it with ./configure && make && cd tests && scripts/run_tests simple/*.sh here.

There's a new upstream available.

So overall, I don't mind too much if there's a commitment from the Ubuntu Server team to take care of it, but the fact that this is a custom C daemon running *as root* and processing its own packet types from the network do ring the alarm bells.

Is there any plan to limit traffic to the local network at least?

In any case, I think I'll have to ask Ubuntu Security to take a look here.

Loïc Minier (lool)
Changed in ctdb (Ubuntu):
assignee: Alexander Sack (asac) → Kees Cook (kees)
assignee: Kees Cook (kees) → Ubuntu Security Team (ubuntu-security)
Revision history for this message
Loïc Minier (lool) wrote :

There are 3 failing tests for me:
TEST FAILED: simple/11_ctdb_ip.sh (status 1) (duration: 2s)
TEST FAILED: simple/16_ctdb_config_add_ip.sh (status 1) (duration: 42s)
TEST FAILED: simple/52_ctdb_fetch.sh (status 1) (duration: 31s)

Revision history for this message
Chuck Short (zulcss) wrote :

After some discussion we arent going to include this in main.

Changed in ctdb (Ubuntu):
status: New → Invalid
Chuck Short (zulcss)
Changed in ctdb (Ubuntu):
status: Invalid → In Progress
Martin Pitt (pitti)
Changed in ctdb (Ubuntu):
status: In Progress → Invalid
Revision history for this message
urusha (urusha) wrote :

Hi. My suggestion is to discuss moving ctdb to main again. Clustered samba with ctdb is really nice and easy HA solution that should be available for installation. Just want to know what is the reason for not including it at the moment? Thanks.

Revision history for this message
Nec (nicolas-ecarnot) wrote :

Hi.
Let's suppose ctdb move to main again.
Would that be a way to lead Samba maintainers to re-activate clustering and ctdb configure options at build time?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.