Two small patches for CTDB
Mathieu PARENT
math.parent at gmail.com
Tue Feb 12 20:30:09 GMT 2008
Hi Tridge, hi everybody,
I am currently packaging CTDB for debian, it works good.
I have some patches that I think can go on upstream git :
- a patch to make ''nice service'' works on systems without
/sbin/service (this is bug 5258)
- a patch to sanitize /etc/ctdb : config/events.d/README should not be
executable, and config/functions is a shell script (these are bugs
5216 and 5217)
Thanks
Mathieu Parent
PS : please reply to or cc me, i'm not on samba-technical
PPS : others debian specific patches can be seen here :
http://svn.debian.org/wsvn/pkg-samba/trunk/ctdb/debian/patches/?rev=0&sc=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nice_service.patch
Type: text/x-patch
Size: 1457 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080212/5d39dbdf/nice_service.bin
-------------- next part --------------
Index: ctdb-0~20080104223653/Makefile.in
===================================================================
--- ctdb-0~20080104223653.orig/Makefile.in 2008-01-20 22:40:03.000000000 +0100
+++ ctdb-0~20080104223653/Makefile.in 2008-01-20 22:40:35.000000000 +0100
@@ -173,7 +173,7 @@
${INSTALLCMD} -m 644 include/ctdb_private.h $(DESTDIR)$(includedir) # for samba3
${INSTALLCMD} -m 755 config/functions $(DESTDIR)$(etcdir)/ctdb
${INSTALLCMD} -m 755 config/statd-callout $(DESTDIR)$(etcdir)/ctdb
- ${INSTALLCMD} -m 755 config/events.d/README $(DESTDIR)$(etcdir)/ctdb/events.d
+ ${INSTALLCMD} -m 644 config/events.d/README $(DESTDIR)$(etcdir)/ctdb/events.d
${INSTALLCMD} -m 755 config/events.d/00.ctdb $(DESTDIR)$(etcdir)/ctdb/events.d
${INSTALLCMD} -m 755 config/events.d/10.interface $(DESTDIR)$(etcdir)/ctdb/events.d
${INSTALLCMD} -m 755 config/events.d/40.vsftpd $(DESTDIR)$(etcdir)/ctdb/events.d
Index: ctdb-0~20080104223653/config/functions
===================================================================
--- ctdb-0~20080104223653.orig/config/functions 2008-01-20 22:40:48.000000000 +0100
+++ ctdb-0~20080104223653/config/functions 2008-01-20 22:41:17.000000000 +0100
@@ -1,4 +1,5 @@
-# utility functions for ctdb event scripts
+#!/bin/sh
+## utility functions for ctdb event scripts
#######################################
# pull in a system config file, if any
More information about the samba-technical
mailing list