Accepting request 125084 from network:ha-clustering:Factory
Update to 1.4.3 stable release (fixes a bunch of bugs) OBS-URL: https://build.opensuse.org/request/show/125084 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/corosync?expand=0&rev=13
This commit is contained in:
commit
57b0c7736f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1938d2ee839444191a83470bf54192ab0d2d63d2f74356055cb5c19249485aec
|
|
||||||
size 311823
|
|
3
corosync-1.4.3.tar.bz2
Normal file
3
corosync-1.4.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:13cfbf1c88f53c1ed0dd70b1fc438d10c46714d8146248aa4fe21bedc865b457
|
||||||
|
size 565718
|
@ -1,11 +1,11 @@
|
|||||||
Index: corosync-1.4.1/conf/corosync.conf.example
|
Index: corosync-1.4.3/conf/corosync.conf.example
|
||||||
===================================================================
|
===================================================================
|
||||||
--- corosync-1.4.1.orig/conf/corosync.conf.example
|
--- corosync-1.4.3.orig/conf/corosync.conf.example
|
||||||
+++ corosync-1.4.1/conf/corosync.conf.example
|
+++ corosync-1.4.3/conf/corosync.conf.example
|
||||||
@@ -21,7 +21,7 @@ logging {
|
@@ -69,7 +69,7 @@ logging {
|
||||||
to_syslog: yes
|
# Log messages with time stamps. When in doubt, set to on
|
||||||
logfile: /var/log/cluster/corosync.log
|
# (unless you are only logging to syslog, where double
|
||||||
debug: off
|
# timestamps can be annoying).
|
||||||
- timestamp: on
|
- timestamp: on
|
||||||
+ timestamp: off
|
+ timestamp: off
|
||||||
logger_subsys {
|
logger_subsys {
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 8 07:46:10 UTC 2012 - tserong@suse.com
|
||||||
|
|
||||||
|
- Update to corosync 1.4.3 stable release.
|
||||||
|
- Add calls to missing object_find_destroy() to fix mem leaks
|
||||||
|
- Free mem allocated by getaddrinfo
|
||||||
|
- corosync.conf.example: change bindnetaddr, mcastaddr, add comments
|
||||||
|
- Store error str if can't open logfile
|
||||||
|
- Wait for corosync-notifyd exit in init script
|
||||||
|
- iba: Use configured node id
|
||||||
|
- Unlink shm buffers if init fails
|
||||||
|
- Fix memory leaks when nss fails
|
||||||
|
- Madvise NOSYNC flag only if available
|
||||||
|
- Include net/if_var.h header only when needed
|
||||||
|
- Include stdint.h because funcs uses int16_t
|
||||||
|
- Use install instead of cp
|
||||||
|
- Don't unlock mutex in different threads
|
||||||
|
- Revert "Use install instead of cp"
|
||||||
|
- Add support for per OS CP flags
|
||||||
|
- Remove cloned lines in main of main.c
|
||||||
|
- Fixed bug when corosync receive JoinMSG in OPERATIONAL state
|
||||||
|
- Correct nodeid of token when we retransmit it
|
||||||
|
- Correct nodeid in memb_state_commit_token_send function
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 5 11:44:40 UTC 2012 - jjzhang@suse.com
|
Sun Feb 5 11:44:40 UTC 2012 - jjzhang@suse.com
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: corosync-1.4.1/conf/corosync.conf.example
|
Index: corosync-1.4.3/conf/corosync.conf.example
|
||||||
===================================================================
|
===================================================================
|
||||||
--- corosync-1.4.1.orig/conf/corosync.conf.example
|
--- corosync-1.4.3.orig/conf/corosync.conf.example
|
||||||
+++ corosync-1.4.1/conf/corosync.conf.example
|
+++ corosync-1.4.3/conf/corosync.conf.example
|
||||||
@@ -1,10 +1,57 @@
|
@@ -1,16 +1,59 @@
|
||||||
# Please read the corosync.conf.5 manual page
|
# Please read the corosync.conf.5 manual page
|
||||||
compatibility: whitetank
|
compatibility: whitetank
|
||||||
|
|
||||||
@ -22,12 +22,9 @@ Index: corosync-1.4.1/conf/corosync.conf.example
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
totem {
|
totem {
|
||||||
- version: 2
|
|
||||||
- secauth: off
|
|
||||||
- threads: 0
|
|
||||||
+ # The only valid version is 2
|
+ # The only valid version is 2
|
||||||
+ version: 2
|
version: 2
|
||||||
+
|
|
||||||
+ # How long before declaring a token lost (ms)
|
+ # How long before declaring a token lost (ms)
|
||||||
+ token: 5000
|
+ token: 5000
|
||||||
+
|
+
|
||||||
@ -51,27 +48,31 @@ Index: corosync-1.4.1/conf/corosync.conf.example
|
|||||||
+ # Limit generated nodeids to 31-bits (positive signed integers)
|
+ # Limit generated nodeids to 31-bits (positive signed integers)
|
||||||
+ clear_node_high_bit: yes
|
+ clear_node_high_bit: yes
|
||||||
+
|
+
|
||||||
+ # Disable encryption
|
# secauth: Enable mutual node authentication. If you choose to
|
||||||
+ secauth: off
|
# enable this ("on"), then do remember to create a shared
|
||||||
+
|
# secret with "corosync-keygen".
|
||||||
|
secauth: off
|
||||||
|
|
||||||
+ # How many threads to use for encryption/decryption
|
+ # How many threads to use for encryption/decryption
|
||||||
+ threads: 0
|
threads: 0
|
||||||
+
|
|
||||||
+ # Optionally assign a fixed node id (integer)
|
+ # Optionally assign a fixed node id (integer)
|
||||||
+ # nodeid: 1234
|
+ # nodeid: 124
|
||||||
+
|
+
|
||||||
interface {
|
# interface: define at least one interface to communicate
|
||||||
ringnumber: 0
|
# over. If you define more than one interface stanza, you must
|
||||||
bindnetaddr: 192.168.1.1
|
# also set rrp_mode.
|
||||||
@@ -17,9 +64,9 @@ totem {
|
@@ -60,10 +103,11 @@ logging {
|
||||||
logging {
|
|
||||||
fileline: off
|
|
||||||
to_stderr: no
|
to_stderr: no
|
||||||
|
# Log to a log file. When set to "no", the "logfile" option
|
||||||
|
# must not be set.
|
||||||
- to_logfile: yes
|
- to_logfile: yes
|
||||||
+ to_logfile: no
|
|
||||||
to_syslog: yes
|
|
||||||
- logfile: /var/log/cluster/corosync.log
|
- logfile: /var/log/cluster/corosync.log
|
||||||
|
+ to_logfile: no
|
||||||
|
+ #logfile: /var/log/cluster/corosync.log
|
||||||
|
# Log to the system log daemon. When in doubt, set to yes.
|
||||||
|
to_syslog: yes
|
||||||
+ syslog_facility: daemon
|
+ syslog_facility: daemon
|
||||||
|
# Log debug messages (very verbose). When in doubt, leave off.
|
||||||
debug: off
|
debug: off
|
||||||
timestamp: off
|
# Log messages with time stamps. When in doubt, set to on
|
||||||
logger_subsys {
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?sles_version} == 11
|
%if 0%{?sles_version} == 11
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
%define buildib 1
|
%define buildib 1
|
||||||
@ -28,10 +29,12 @@ Name: corosync
|
|||||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Clustering/HA
|
Group: Productivity/Clustering/HA
|
||||||
Version: 1.4.1
|
Version: 1.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.corosync.org
|
Url: http://www.corosync.org
|
||||||
Source0: http://developer.osdl.org/dev/openais/downloads/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
# Source from tar.gz, recompressed to bz2.
|
||||||
|
# ftp://ftp:downloads@ftp.corosync.org/downloads/corosync-1.4.3/corosync-1.4.3.tar.gz
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch1: corosync-confexample-timestamp.patch
|
Patch1: corosync-confexample-timestamp.patch
|
||||||
Patch2: corosync-revert-cs2429.patch
|
Patch2: corosync-revert-cs2429.patch
|
||||||
@ -102,6 +105,9 @@ rm -rf %{buildroot}%{_docdir}/*
|
|||||||
# the docdir is /usr/share/doc/<pkg> in the configuration
|
# the docdir is /usr/share/doc/<pkg> in the configuration
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/*
|
rm -rf %{buildroot}%{_datadir}/doc/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the Corosync Cluster Engine Executive, several
|
This package contains the Corosync Cluster Engine Executive, several
|
||||||
default APIs and libraries, default configuration files, and an init
|
default APIs and libraries, default configuration files, and an init
|
||||||
@ -112,6 +118,7 @@ script.
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE SECURITY
|
%doc LICENSE SECURITY
|
||||||
|
%{_bindir}/corosync-blackbox
|
||||||
%{_sbindir}/corosync
|
%{_sbindir}/corosync
|
||||||
%{_sbindir}/corosync-keygen
|
%{_sbindir}/corosync-keygen
|
||||||
%{_sbindir}/corosync-objctl
|
%{_sbindir}/corosync-objctl
|
||||||
@ -120,10 +127,9 @@ script.
|
|||||||
%{_sbindir}/corosync-pload
|
%{_sbindir}/corosync-pload
|
||||||
%{_sbindir}/corosync-cpgtool
|
%{_sbindir}/corosync-cpgtool
|
||||||
%{_sbindir}/corosync-quorumtool
|
%{_sbindir}/corosync-quorumtool
|
||||||
%{_bindir}/corosync-blackbox
|
|
||||||
%dir %{_sysconfdir}/corosync
|
%dir %{_sysconfdir}/corosync
|
||||||
%dir %{_sysconfdir}/corosync/uidgid.d
|
|
||||||
%dir %{_sysconfdir}/corosync/service.d
|
%dir %{_sysconfdir}/corosync/service.d
|
||||||
|
%dir %{_sysconfdir}/corosync/uidgid.d
|
||||||
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
|
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
|
||||||
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example.udpu
|
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example.udpu
|
||||||
%dir %{_libexecdir}/lcrso
|
%dir %{_libexecdir}/lcrso
|
||||||
|
Loading…
Reference in New Issue
Block a user