Hello community, here is the log from the commit of package corosync for openSUSE:Factory checked in at Wed Sep 21 16:58:45 CEST 2011.
-------- --- corosync/corosync.changes 2011-02-08 14:42:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/corosync/corosync.changes 2011-09-20 15:51:21.000000000 +0200 @@ -1,0 +2,57 @@ +Tue Sep 20 13:15:22 UTC 2011 - [email protected] + +- Changes since corosync 1.4.1 stable release: +* Resolve a deadlock between the timer and serialize locks. +* totemconfig: change minimum RRP threshold +* Ignore memb_join messages during flush operations +* rrp: Higher threshold in passive mode for mcast (bnc#712037) +* rrp: Handle endless loop if all ifaces are faulty (bnc#712037) +* A CPG client can sometimes lockup if the local node is in the downlist +* Handle errors from totem_mcast +* coroipcc: use malloc for path in service_connect +* Version cs: 23112099e1c2b620e6976ca099d2b9afc80721aa +- corosync 1.4.1 stable release: +* main: let poll really stop before totempg_finalize +* totemsrp: fix buffer overflows for large clusters (> 100 nodes) +* rrp: Handle rollower in passive rrp properly +* rrp: handle rollover in active rrp properly +* totemconfig: Change default FAIL_TO_RECV_CONST +* Fix problem where corosync will segfault if there are gaps in recovery + queue +* cpgtool/cfgtool: print list of IP with space between items +* RRP: redundant ring automatic recovery (fate#310284) +* fix typos in cpg_mcast_joined.3 and cpg_zcb_mcast_joined.3 +* Remove spinlocks +* confdb: Resolve dispatch deadlock +* RRP: Fix ring initialization issue for UDPU mode +* crypto: rng_make_prng prevent buf overflow +* cpg: do_proc_join change list_slice to list_add +* totemudp: memset of proper size +* coroipcs: init buf in coroipcs_handler_dispatch +* iazc: Reduce number of mem alloc and memcpy +* coroipcc: Fix unhandled BSD EOF in coroipcc_dispatch_get() +* cpg: fix sync master selection when one node paused +* totemsrp: Enhance mcast failure detection +* coroipcs: Deny connect to service without initfn +* Add ipc_refcnt to message_handler_req_{exec, lib}_cfg_ringreenable() +- corosync 1.3.1 release: +* corosync crashing when a network becomes disrupted and then restored + (bnc#685241) +* Align IPC on 8 byte boundaries for performance and avoid bus errors. +* Provide better checking of the message type. +* totemsrp: free messages originated in recovery rather then rely on + messages_free +* Resolve abort during simulatenous stopping of at least 4 nodes. +* Don't assert when ring id file is less then 8 bytes (possibly after + local fs problems). +* Handle delayed multicast packets that occur with switches. +* CPG: make sure coroipcc_service_disconnect() is always called. +* Fix abort when token is lost in RECOVERY state (bnc#677779) + +------------------------------------------------------------------- +Sat Sep 17 23:53:47 UTC 2011 - [email protected] + +- Remove redundant tags/sections from specfile +- Add baselibs configuration + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- corosync-1.3.0.tar.gz corosync-trunk-reset-pause-timestamp-on-events.patch New: ---- baselibs.conf corosync-1.4.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ corosync.spec ++++++ --- /var/tmp/diff_new_pack.eZARAO/_old 2011-09-21 16:58:39.000000000 +0200 +++ /var/tmp/diff_new_pack.eZARAO/_new 2011-09-21 16:58:39.000000000 +0200 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %if 0%{?sles_version} == 11 %ifnarch s390 s390x @@ -28,15 +27,15 @@ Name: corosync Summary: The Corosync Cluster Engine and Application Programming Interfaces -Version: 1.3.0 -Release: 1 +Version: 1.4.1 +Release: 0 License: BSD3c -Group: System Environment/Base -Url: http://www.openais.org -Source0: http://developer.osdl.org/dev/openais/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz +Group: Productivity/Clustering/HA +Url: http://www.corosync.org +Source0: http://developer.osdl.org/dev/openais/downloads/%{name}-%{version}/%{name}-%{version}.tar.bz2 +Source2: baselibs.conf Patch1: corosync-confexample-timestamp.patch Patch2: corosync-revert-cs2429.patch -Patch3: corosync-trunk-reset-pause-timestamp-on-events.patch Patch4: corosync.conf.example.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # Runtime bits @@ -45,9 +44,9 @@ Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Conflicts: openais <= 0.89, libopenais2 <= 0.89, libopenais-devel <= 0.89 -%define buildtrunk 0 +%define buildtrunk 1 %{?_with_buildtrunk: %define buildtrunk 1} -%if %{buildtrunk} +%if 0%{?buildtrunk} == 1 BuildRequires: autoconf automake %endif BuildRequires: mozilla-nss mozilla-nss-devel @@ -60,11 +59,10 @@ %setup -q -n %{name}-%{version} %patch1 -p1 %patch2 -p1 -%patch3 -p1 %patch4 -p1 %build -%if %{buildtrunk} +%if 0%{?buildtrunk} == 1 ./autogen.sh %endif %if 0%{?buildib} == 1 @@ -89,6 +87,9 @@ #ln -sf ../../etc/init.d/corosync %{buildroot}%{_sbindir}/rccorosync #%endif rm -f %{buildroot}%{_initrddir}/corosync +rm -f %{buildroot}%{_initrddir}/corosync-notifyd +rm -f %{buildroot}/usr/sbin/corosync-notifyd +rm -f %{buildroot}/usr/share/man/man8/corosync-notifyd.8 ## tree fixup # drop static libs rm -f %{buildroot}%{_libdir}/*.a @@ -97,9 +98,6 @@ # the docdir is /usr/share/doc/<pkg> in the configuration rm -rf %{buildroot}%{_datadir}/doc/* -%clean -rm -rf %{buildroot} - %description This package contains the Corosync Cluster Engine Executive, several default APIs and libraries, default configuration files, and an init @@ -153,7 +151,7 @@ %package -n libcorosync4 License: BSD3c Summary: The Corosync Cluster Engine Libraries -Group: System Environment/Libraries +Group: Productivity/Clustering/HA Conflicts: corosync < 0.92-7 Requires: %{name} = %{version}-%{release} @@ -185,7 +183,7 @@ %package -n libcorosync-devel License: BSD3c Summary: The Corosync Cluster Engine Development Kit -Group: Development/Libraries +Group: Productivity/Clustering/HA Requires: libcorosync4 = %{version}-%{release} Requires: pkgconfig ++++++ baselibs.conf ++++++ libcorosync4 corosync-devel requires -corosync-<targettype> requires "libcorosync4-<targettype> = <version>" ++++++ corosync-1.3.0.tar.gz -> corosync-1.4.1.tar.bz2 ++++++ ++++ 46942 lines of diff (skipped) ++++++ corosync-confexample-timestamp.patch ++++++ --- /var/tmp/diff_new_pack.eZARAO/_old 2011-09-21 16:58:40.000000000 +0200 +++ /var/tmp/diff_new_pack.eZARAO/_new 2011-09-21 16:58:40.000000000 +0200 @@ -1,8 +1,8 @@ -Index: corosync-1.2.6/conf/corosync.conf.example +Index: corosync-1.4.1/conf/corosync.conf.example =================================================================== ---- corosync-1.2.6.orig/conf/corosync.conf.example -+++ corosync-1.2.6/conf/corosync.conf.example -@@ -20,7 +20,7 @@ logging { +--- corosync-1.4.1.orig/conf/corosync.conf.example ++++ corosync-1.4.1/conf/corosync.conf.example +@@ -21,7 +21,7 @@ logging { to_syslog: yes logfile: /var/log/cluster/corosync.log debug: off ++++++ corosync-revert-cs2429.patch ++++++ --- /var/tmp/diff_new_pack.eZARAO/_old 2011-09-21 16:58:40.000000000 +0200 +++ /var/tmp/diff_new_pack.eZARAO/_new 2011-09-21 16:58:40.000000000 +0200 @@ -1,8 +1,9 @@ Only in corosync-1.2.0/exec: cscope.out -diff -ur corosync-1.2.0.orig//exec/totemip.c corosync-1.2.0/exec/totemip.c ---- corosync-1.2.0.orig//exec/totemip.c 2009-12-08 01:25:45.000000000 +0100 -+++ corosync-1.2.0/exec/totemip.c 2010-03-04 19:32:22.049615000 +0100 -@@ -376,9 +376,6 @@ +Index: corosync-1.4.1/exec/totemip.c +=================================================================== +--- corosync-1.4.1.orig/exec/totemip.c ++++ corosync-1.4.1/exec/totemip.c +@@ -396,9 +396,6 @@ int totemip_iface_check(struct totem_ip_ */ totemip_sockaddr_to_totemip_convert((struct sockaddr_storage *)sockaddr_in, boundto); boundto->nodeid = sockaddr_in->sin_addr.s_addr; @@ -12,7 +13,7 @@ if (ioctl(id_fd, SIOCGLIFFLAGS, &lifreq[i]) < 0) { printf ("couldn't do ioctl\n"); -@@ -609,9 +606,6 @@ +@@ -648,9 +645,6 @@ int totemip_iface_check(struct totem_ip_ if (ipaddr.family == AF_INET && ipaddr.nodeid == 0) { unsigned int nodeid = 0; memcpy (&nodeid, ipaddr.addr, sizeof (int)); @@ -22,11 +23,11 @@ if (mask_high_bit) { nodeid &= 0x7FFFFFFF; } -Only in corosync-1.2.0/exec: totemip.c.orig -diff -ur corosync-1.2.0.orig//test/testcpg.c corosync-1.2.0/test/testcpg.c ---- corosync-1.2.0.orig//test/testcpg.c 2009-09-20 08:04:02.000000000 +0200 -+++ corosync-1.2.0/test/testcpg.c 2010-03-04 19:30:03.590982000 +0100 -@@ -48,7 +48,6 @@ +Index: corosync-1.4.1/test/testcpg.c +=================================================================== +--- corosync-1.4.1.orig/test/testcpg.c ++++ corosync-1.4.1/test/testcpg.c +@@ -49,7 +49,6 @@ #include <corosync/corotypes.h> #include <corosync/cpg.h> @@ -34,7 +35,7 @@ static int quit = 0; static int show_ip = 0; -@@ -62,24 +61,6 @@ +@@ -63,24 +62,6 @@ static void print_cpgname (const struct } } @@ -59,7 +60,7 @@ static void DeliverCallback ( cpg_handle_t handle, const struct cpg_name *groupName, -@@ -88,9 +69,18 @@ +@@ -89,9 +70,18 @@ static void DeliverCallback ( void *msg, size_t msg_len) { @@ -80,7 +81,7 @@ } static void ConfchgCallback ( -@@ -101,27 +91,51 @@ +@@ -102,27 +92,51 @@ static void ConfchgCallback ( const struct cpg_address *joined_list, size_t joined_list_entries) { int i; ++++++ corosync.conf.example.patch ++++++ --- /var/tmp/diff_new_pack.eZARAO/_old 2011-09-21 16:58:40.000000000 +0200 +++ /var/tmp/diff_new_pack.eZARAO/_new 2011-09-21 16:58:40.000000000 +0200 @@ -1,8 +1,8 @@ -Index: corosync-1.2.1/conf/corosync.conf.example +Index: corosync-1.4.1/conf/corosync.conf.example =================================================================== ---- corosync-1.2.1.orig/conf/corosync.conf.example -+++ corosync-1.2.1/conf/corosync.conf.example -@@ -1,32 +1,78 @@ +--- corosync-1.4.1.orig/conf/corosync.conf.example ++++ corosync-1.4.1/conf/corosync.conf.example +@@ -1,10 +1,57 @@ # Please read the corosync.conf.5 manual page compatibility: whitetank @@ -61,41 +61,17 @@ + # nodeid: 1234 + interface { -- ringnumber: 0 -- bindnetaddr: 192.168.1.1 -- mcastaddr: 226.94.1.1 -- mcastport: 5405 -+ ringnumber: 0 -+ -+ # The following values need to be set based on your environment -+ bindnetaddr: 192.168.1.0 -+ mcastaddr: 226.94.1.1 -+ mcastport: 5405 - } - } - + ringnumber: 0 + bindnetaddr: 192.168.1.1 +@@ -17,9 +64,9 @@ totem { logging { -- fileline: off -- to_stderr: no + fileline: off + to_stderr: no - to_logfile: yes -- to_syslog: yes ++ to_logfile: no + to_syslog: yes - logfile: /var/log/cluster/corosync.log -- debug: off -- timestamp: off -- logger_subsys { -- subsys: AMF -- debug: off -- } -+ fileline: off -+ to_stderr: no -+ to_logfile: no -+ to_syslog: yes + syslog_facility: daemon -+ debug: off -+ timestamp: off - } - - amf { - mode: disabled - } -+ + debug: off + timestamp: off + logger_subsys { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
