Hello community, here is the log from the commit of package ctdb for openSUSE:Factory checked in at 2013-12-09 07:05:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ctdb (Old) and /work/SRC/openSUSE:Factory/.ctdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ctdb" Changes: -------- --- /work/SRC/openSUSE:Factory/ctdb/ctdb.changes 2013-11-23 08:13:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ctdb.new/ctdb.changes 2013-12-09 07:05:13.000000000 +0100 @@ -1,0 +2,97 @@ +Thu Dec 5 22:00:24 UTC 2013 - lmue...@suse.com + +- Fix build for SUSE Linux Enterprise 10 and non SUSE systems. + +------------------------------------------------------------------- +Thu Dec 5 15:52:06 UTC 2013 - lmue...@suse.com + +- Update to version 2.5.1 + Important bug fixes + * The locking code now correctly implements a per-database active + locks limit. Whole database lock requests can no longer be denied + because there are too many active locks - this is particularly + important for freezing databases during recovery. + * The debug_locks.sh script locks against itself. If it is already + running then subsequent invocations will exit immediately. + * ctdb tool commands that operate on databases now work correctly when + a database ID is given. + * Various code fixes for issues found by Coverity. + Important internal changes + * statd-callout has been updated so that statd client information is + always up-to-date across the cluster. This is implemented by + storing the client information in a persistent database using a new + "ctdb ptrans" command. + * The transaction code for persistent databases now retries until it + is able to take the transaction lock. This makes the transation + semantics compatible with Samba's implementation. + * Locking helpers are created with vfork(2) instead of fork(2), + providing a performance improvement. + * config.guess has been updated to the latest upstream version so CTDB + should build on more platforms. +- Update to version 2.5 + User-visible changes + * Use of CTDB_OPTIONS to set ctdbd command-line options is no longer + supported. Please use individual configuration variables instead. + * Obsolete tunables VacuumDefaultInterval, VacuumMinInterval and + VacuumMaxInterval have been removed. Setting them had no effect but + if you now try to set them in a configuration files via CTDB_SET_X=Y + then CTDB will not start. + * Much improved manual pages. Added new manpages ctdb(7), + ctdbd.conf(5), ctdb-tunables(7). Still some work to do. + * Most CTDB-specific configuration can now be set in + /etc/ctdb/ctdbd.conf. + This avoids cluttering distribution-specific configuration files, + such as /etc/sysconfig/ctdb. It also means that we can say: see + ctdbd.conf(5) for more details. :-) + * Configuration variable NFS_SERVER_MODE is deprecated and has been + replaced by CTDB_NFS_SERVER_MODE. See ctdbd.conf(5) for more + details. + * "ctdb reloadips" is much improved and should be used for reloading + the public IP configuration. + This commands attempts to yield much more predictable IP allocations + than using sequences of delip and addip commands. See ctdb(1) for + details. + * Ability to pass comma-separated string to ctdb(1) tool commands via + the -n option is now documented and works for most commands. See + ctdb(1) for details. + * "ctdb rebalancenode" is now a debugging command and should not be + used in normal operation. See ctdb(1) for details. + * "ctdb ban 0" is now invalid. + This was documented as causing a permanent ban. However, this was + not implemented and caused an "unban" instead. To avoid confusion, + 0 is now an invalid ban duration. To administratively "ban" a node + use "ctdb stop" instead. + * The systemd configuration now puts the PID file in /run/ctdb (rather + than /run/ctdbd) for consistency with the initscript and other uses + of /var/run/ctdb. + Important bug fixes + * Traverse regression fixed. + * The default recovery method for persistent databases has been + changed to use database sequence numbers instead of doing + record-by-record recovery (using record sequence numbers). This + fixes issues including registry corruption. + * Banned nodes are no longer told to run the "ipreallocated" event + during a takeover run, when in fallback mode with nodes that don't + support the IPREALLOCATED control. + Important internal changes + * Persistent transactions are now compatible with Samba and work + reliably. + * The recovery master role has been made more stable by resetting the + priority time each time a node becomes inactive. This means that + nodes that are active for a long time are more likely to retain the + recovery master role. + * The incomplete libctdb library has been removed. + * Test suite now starts ctdbd with the --sloppy-start option to speed + up startup. However, this should not be done in production. +- Set logdir and socketpath while configure. +- Use autogen.sh and no longer autoreconf. +- BuildRequire libtalloc-devel, libtdb-devel, and libtevent-devel. +- BuildRequire docbook-xsl-stylesheets and libxslt-tools. +- Add some plaintext and HTML documentation. + +------------------------------------------------------------------- +Thu Dec 5 15:13:24 UTC 2013 - lmue...@suse.com + +- Call systemd macros from pre and preun for post-12.2 systems. + +------------------------------------------------------------------- @@ -13 +109,0 @@ - @@ -15 +110,0 @@ - @@ -18 +112,0 @@ - @@ -21 +114,0 @@ - @@ -25 +117,0 @@ - @@ -28 +119,0 @@ - @@ -31 +121,0 @@ - @@ -37 +126,0 @@ - @@ -41 +129,0 @@ - @@ -46 +133,0 @@ - @@ -50 +136,0 @@ - @@ -54 +139,0 @@ - @@ -56 +140,0 @@ - @@ -60 +143,0 @@ - @@ -63 +145,0 @@ - @@ -68 +149,0 @@ - @@ -70 +150,0 @@ - @@ -72 +151,0 @@ - Old: ---- ctdb-2.4.tar.gz New: ---- ctdb-2.5.1.tar.gz ctdb-xsltproc-catalogs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctdb.spec ++++++ --- /var/tmp/diff_new_pack.VZ9PcN/_old 2013-12-09 07:05:14.000000000 +0100 +++ /var/tmp/diff_new_pack.VZ9PcN/_new 2013-12-09 07:05:14.000000000 +0100 @@ -19,17 +19,22 @@ %define build_pmda 1 %endif +%define libtalloc_version 2.0.8 +%define libtdb_version 1.2.12 +%define libtevent_version 0.9.18 + Summary: Clustered TDB License: GPL-3.0+ Group: System/Daemons Name: ctdb -Version: 2.4 +Version: 2.5.1 Release: 0 Url: http://ctdb.samba.org/ Source: https://ftp.samba.org/pub/ctdb/ctdb-%{version}.tar.gz Source1: ctdb-sysconfig-suse.template Patch1: ctdb-socket-path.patch +Patch100: ctdb-xsltproc-catalogs.patch %if 0%{?suse_version} Requires(pre): %{?fillup_prereq} %if 0%{?suse_version} > 1220 @@ -58,6 +63,23 @@ %if 0%{?build_pmda} BuildRequires: libpcp-devel %endif +BuildRequires: libtalloc-devel >= %{libtalloc_version} +BuildRequires: libtdb-devel >= %{libtdb_version} +BuildRequires: libtevent-devel >= %{libtevent_version} +# to generate the man pages +BuildRequires: docbook-xsl-stylesheets +%if 0%{?centos_version} > 499 || 0%{?rhel_version} > 499 || 0%{?suse_version} > 0 && 0%{?suse_version} < 1141 +BuildRequires: libxslt +%endif +%if 0%{?suse_version} > 1140 && 0%{?suse_version} < 1211 +BuildRequires: libxslt1 +%endif +%if 0%{?suse_version} > 1210 +BuildRequires: libxslt-tools +%endif +%if 0%{?fedora_version} > 11 +BuildRequires: xslt +%endif %description ctdb is the clustered database used by Samba @@ -84,24 +106,25 @@ %prep %setup -q %patch1 -p1 +%if 0%{?suse_version} == 1010 +%patch100 -p1 +%endif %build %if 0%{?suse_version} && 0%{?suse_version} < 1141 %{?suse_update_config:%{suse_update_config -f}} %endif -autoreconf --force --install \ - -I. \ - -Ilib/replace \ - -Ilib/popt \ - -Ilib/talloc \ - -Ilib/tdb \ - -Ilib/tevent +%if 0%{?suse_version} > 1140 || 0%{?centos_version} > 599 || 0%{?rhel_version} > 599 +./autogen.sh +%endif export CFLAGS="$RPM_OPT_FLAGS $EXTRA -O0 -D_GNU_SOURCE -DCTDB_VERS=\"%{version}-%{release}\"" +%{configure} \ %if 0%{?build_pmda} -%{configure} --enable-pmda -%else -%{configure} + --enable-pmda \ %endif + --with-logdir=%{_localstatedir}/log/ctdb/ \ + --with-socketpath=%{_localstatedir}/lib/ctdb/ctdbd.socket + %{__make} %{?_smp_mflags} docdir=%{_docdir} %install @@ -114,6 +137,11 @@ %endif ${RPM_BUILD_ROOT}/%{_localstatedir}/lib/ctdb/persistent \ ${RPM_BUILD_ROOT}/%{_localstatedir}/log/ctdb + +%if 0%{?suse_version} == 1010 +export SGML_CATALOG_FILES=/usr/share/xml/docbook/stylesheet/nwalsh/1.69.1/catalog.xml +%endif + %{__make} install \ DESTDIR=${RPM_BUILD_ROOT} \ docdir=%{_docdir} @@ -128,10 +156,20 @@ %else %{__install} -m 0755 config/ctdb.init ${RPM_BUILD_ROOT}/%{initdir}/ctdb %endif +install -m 0644 -p config/events.d/README README.eventscripts +install -m 0644 -p config/notify.d.README README.notify.d # sudo can be used by statd-callout, but is not needed rm ${RPM_BUILD_ROOT}/%{_sysconfdir}/sudoers.d/ctdb +%pre +%if 0%{?suse_version} > 1220 +%service_add_pre ctdb.service +%endif + %preun +%if 0%{?suse_version} > 1220 +%service_del_preun ctdb.service +%endif %if 0%{?suse_version} == 0 if [ $1 = 0 ] ; then test -x /sbin/chkconfig && /sbin/chkconfig --del ctdb @@ -174,12 +212,15 @@ %config(noreplace) %{_sysconfdir}/sysconfig/ctdb %endif %config(noreplace) %{_sysconfdir}/ctdb/notify.sh -%config(noreplace) %{_sysconfdir}/ctdb/functions +%config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh +%config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh +%config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh %if 0%{?suse_version} > 1220 %attr(755,root,root) %{_unitdir}/ctdb.service %else %attr(755,root,root) %{initdir}/ctdb %endif +%{_sysconfdir}/ctdb/functions %attr(775,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/00.ctdb %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/01.reclock %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/10.interface @@ -198,16 +239,14 @@ %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/91.lvs %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/40.fs_use %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/49.winbind +%attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/events.d/99.timeout %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/10.statd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/20.nfsd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/30.lockd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check %attr(644,root,root) %verify(not mode) %{_sysconfdir}/ctdb/debug_locks.sh -%{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh -%{_sysconfdir}/ctdb/gcore_trace.sh %{_sysconfdir}/ctdb/statd-callout -%{_sysconfdir}/ctdb/debug-hung-script.sh %{_sbindir}/ctdbd %{_sbindir}/ctdbd_wrapper %{_bindir}/ctdb @@ -221,6 +260,11 @@ %dir %{_localstatedir}/lib/ctdb/persistent %dir %{_localstatedir}/log/ctdb %{_mandir}/man1/* +%doc README COPYING NEWS +%doc README.eventscripts README.notify.d +%doc doc/recovery-process.txt +%doc doc/*.html +%doc doc/examples %files devel %defattr(-,root,root) @@ -229,7 +273,6 @@ %{_includedir}/ctdb_private.h %{_includedir}/ctdb_protocol.h %{_includedir}/ctdb_typesafe_cb.h -%attr(644,root,root) %{_libdir}/libctdb.a %{_libdir}/pkgconfig/ctdb.pc %if 0%{?build_pmda} ++++++ ctdb-2.4.tar.gz -> ctdb-2.5.1.tar.gz ++++++ ++++ 39896 lines of diff (skipped) ++++++ ctdb-socket-path.patch ++++++ --- /var/tmp/diff_new_pack.VZ9PcN/_old 2013-12-09 07:05:15.000000000 +0100 +++ /var/tmp/diff_new_pack.VZ9PcN/_new 2013-12-09 07:05:15.000000000 +0100 @@ -4,68 +4,55 @@ Use correct socket path -Index: ctdb-2.3/doc/ctdb.1.html +Index: ctdb-2.5.1/doc/ctdb.1.html =================================================================== ---- ctdb-2.3.orig/doc/ctdb.1.html -+++ ctdb-2.3/doc/ctdb.1.html -@@ -23,7 +23,7 @@ - Change the debug level for the command. Default is 0. - </p></dd><dt><span class="term">--socket=<filename></span></dt><dd><p> - Specify the socketname to use when connecting to the local ctdb -- daemon. The default is /tmp/ctdb.socket . -+ daemon. The default is /var/lib/ctdb/ctdb.socket . - </p><p> - You only need to specify this parameter if you run multiple ctdb - daemons on the same physical host and thus can not use the default -Index: ctdb-2.3/doc/ctdb.1.xml +--- ctdb-2.5.1.orig/doc/ctdb.1.html ++++ ctdb-2.5.1/doc/ctdb.1.html +@@ -42,7 +42,7 @@ + Specify that FILENAME is the name of the Unix domain + socket to use when connecting to the local CTDB + daemon. The default is +- <code class="filename">/tmp/ctdb.socket</code>. ++ <code class="filename">/var/lib/ctdb/ctdb.socket</code>. + </p></dd></dl></div></div><div class="refsect1"><a name="idm270794826416"></a><h2>ADMINISTRATIVE COMMANDS</h2><p> + These are commands used to monitor and administer a CTDB cluster. + </p><div class="refsect2"><a name="idm270794825360"></a><h3>pnn</h3><p> +Index: ctdb-2.5.1/doc/ctdb.1.xml =================================================================== ---- ctdb-2.3.orig/doc/ctdb.1.xml -+++ ctdb-2.3/doc/ctdb.1.xml -@@ -118,7 +118,7 @@ - <listitem> - <para> - Specify the socketname to use when connecting to the local ctdb -- daemon. The default is /tmp/ctdb.socket . -+ daemon. The default is /var/lib/ctdb/ctdb.socket . - </para> - <para> - You only need to specify this parameter if you run multiple ctdb -Index: ctdb-2.3/doc/ctdbd.1.html -=================================================================== ---- ctdb-2.3.orig/doc/ctdbd.1.html -+++ ctdb-2.3/doc/ctdbd.1.html -@@ -100,7 +100,7 @@ - </p></dd><dt><span class="term">--socket=<filename></span></dt><dd><p> - This specifies the name of the domain socket that ctdbd will create. This socket is used for local clients to attach to and communicate with the ctdbd daemon. - </p><p> -- The default is /tmp/ctdb.socket . You only need to use this option if you plan to run multiple ctdbd daemons on the same physical host. -+ The default is /var/lib/ctdb/ctdb.socket . You only need to use this option if you plan to run multiple ctdbd daemons on the same physical host. - </p></dd><dt><span class="term">--start-as-disabled</span></dt><dd><p> - This makes the ctdb daemon to be DISABLED when it starts up. - </p><p> -Index: ctdb-2.3/doc/ctdbd.1.xml -=================================================================== ---- ctdb-2.3.orig/doc/ctdbd.1.xml -+++ ctdb-2.3/doc/ctdbd.1.xml -@@ -287,7 +287,7 @@ - This specifies the name of the domain socket that ctdbd will create. This socket is used for local clients to attach to and communicate with the ctdbd daemon. - </para> - <para> -- The default is /tmp/ctdb.socket . You only need to use this option if you plan to run multiple ctdbd daemons on the same physical host. -+ The default is /var/lib/ctdb/ctdb.socket . You only need to use this option if you plan to run multiple ctdbd daemons on the same physical host. - </para> - </listitem> +--- ctdb-2.5.1.orig/doc/ctdb.1.xml ++++ ctdb-2.5.1/doc/ctdb.1.xml +@@ -175,7 +175,7 @@ + Specify that FILENAME is the name of the Unix domain + socket to use when connecting to the local CTDB + daemon. The default is +- <filename>/tmp/ctdb.socket</filename>. ++ <filename>/var/lib/ctdb/ctdb.socket</filename>. + </para> + </listitem> </varlistentry> -Index: ctdb-2.3/include/ctdb_protocol.h +Index: ctdb-2.5.1/doc/ctdbd.1.html +=================================================================== +--- ctdb-2.5.1.orig/doc/ctdbd.1.html ++++ ctdb-2.5.1/doc/ctdbd.1.html +@@ -217,7 +217,7 @@ + ctdbd will create. This socket is used by local clients to + communicate with ctdbd. + </p><p> +- The default is <code class="filename">/tmp/ctdb.socket</code> . You ++ The default is <code class="filename">/var/lib/ctdb/ctdb.socket</code> . You + only need to use this option if you plan to run multiple + ctdbd daemons on the same physical host, usually for + testing. +Index: ctdb-2.5.1/doc/ctdbd.1.xml =================================================================== ---- ctdb-2.3.orig/include/ctdb_protocol.h -+++ ctdb-2.3/include/ctdb_protocol.h -@@ -24,7 +24,7 @@ - #ifdef SOCKPATH - #define CTDB_PATH SOCKPATH - #else --#define CTDB_PATH "/tmp/ctdb.socket" -+#define CTDB_PATH "/var/lib/ctdb/ctdb.socket" - #endif - - /* default ctdb port number */ +--- ctdb-2.5.1.orig/doc/ctdbd.1.xml ++++ ctdb-2.5.1/doc/ctdbd.1.xml +@@ -496,7 +496,7 @@ + communicate with ctdbd. + </para> + <para> +- The default is <filename>/tmp/ctdb.socket</filename> . You ++ The default is <filename>/var/lib/ctdb/ctdb.socket</filename> . You + only need to use this option if you plan to run multiple + ctdbd daemons on the same physical host, usually for + testing. ++++++ ctdb-xsltproc-catalogs.patch ++++++ Author: Lars Mueller <lmue...@suse.com> Subject: On SUSE Linux Enterprise 10 xsltproc need some extra care xsltproc requires the --catalogs arg and the SGML_CATALOG_FILES environment variable must point to the catalog. Index: ctdb-2.5.1/doc/Makefile =================================================================== --- ctdb-2.5.1.orig/doc/Makefile +++ ctdb-2.5.1/doc/Makefile @@ -11,10 +11,10 @@ DOCS = ctdb.1 ctdb.1.html \ all: $(DOCS) %: %.xml - xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + xsltproc --catalogs -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< %.html: %.xml - xsltproc -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< + xsltproc --catalogs -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $< distclean: rm -f $(DOCS) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org