[SCM] CTDB repository - branch master updated - ctdb-1.0.102-13-gc1d8496

Ronnie Sahlberg sahlberg at samba.org
Fri Oct 30 04:41:43 MDT 2009


The branch, master has been updated
       via  c1d8496f9fd5e8046f3d990264258dfb054f3b32 (commit)
      from  9ffd54b73c0d64b67e8e736d7cb54490e77ffa78 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c1d8496f9fd5e8046f3d990264258dfb054f3b32
Author: Michael Adam <obnox at samba.org>
Date:   Tue Oct 20 17:02:16 2009 +0200

    packaging(RPM): don't touch the run levels in ctdb install/udpate.
    
    We should really leave it up to the administrator to decide
    whether ctdb should be started automatically at boot-time.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 packaging/RPM/ctdb.spec |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/RPM/ctdb.spec b/packaging/RPM/ctdb.spec
index 85c916f..a64b4b8 100644
--- a/packaging/RPM/ctdb.spec
+++ b/packaging/RPM/ctdb.spec
@@ -13,7 +13,7 @@ URL: http://ctdb.samba.org/
 
 Source: ctdb-%{version}.tar.gz
 
-Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
+Prereq: /bin/mktemp /usr/bin/killall
 Prereq: fileutils sed /etc/init.d
 
 Provides: ctdb = %{version}
@@ -74,15 +74,6 @@ find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ -x /sbin/chkconfig ] && /sbin/chkconfig --add ctdb
-
-%preun
-if [ $1 = 0 ] ; then
-    [ -x /sbin/chkconfig ] && /sbin/chkconfig --del ctdb
-fi
-exit 0
-
 
 #######################################################################
 ## Files section                                                     ##


-- 
CTDB repository


More information about the samba-cvs mailing list