Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
1
.corosync.metadata
Normal file
1
.corosync.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
29bea300734f649b5ed42dd9f87ed75209da72d1 SOURCES/corosync-3.1.8.tar.gz
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/corosync-3.1.8.tar.gz
|
SOURCES/corosync-3.1.8.tar.gz
|
||||||
SOURCES/spausedd-20201112.tar.gz
|
|
||||||
|
@ -0,0 +1,246 @@
|
|||||||
|
From ce03c68394517ea8782a03968e2507a1096e9efe Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christine Caulfield <ccaulfie@redhat.com>
|
||||||
|
Date: Wed, 31 Jan 2024 10:29:05 +0000
|
||||||
|
Subject: [PATCH 1/3] Report crypto errors back to cfg reload
|
||||||
|
|
||||||
|
Because crypto changing happens in the 'commit' phase
|
||||||
|
of the reload and we can't get sure that knet will
|
||||||
|
allow the new parameters, the result gets ignored.
|
||||||
|
This can happen in FIPS mode if a non-FIPS cipher
|
||||||
|
is requested.
|
||||||
|
|
||||||
|
This patch reports the errors back in a cmap key
|
||||||
|
so that the command-line can spot those errors
|
||||||
|
and report them back to the user.
|
||||||
|
|
||||||
|
It also restores the internal values for crypto
|
||||||
|
so that subsequent attempts to change things have
|
||||||
|
predictable results. Otherwise further attempts can
|
||||||
|
do nothing but not report any errors back.
|
||||||
|
|
||||||
|
I've also added some error reporting back for the
|
||||||
|
knet ping counters using this mechanism.
|
||||||
|
|
||||||
|
The alternative to all of this would be to check for FIPS
|
||||||
|
in totemconfig.c and then exclude certain options, but this
|
||||||
|
would be duplicating code that could easily get out of sync.
|
||||||
|
|
||||||
|
This system could also be a useful mechanism for reporting
|
||||||
|
back other 'impossible' errors.
|
||||||
|
|
||||||
|
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
|
||||||
|
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
|
||||||
|
---
|
||||||
|
exec/cfg.c | 3 +++
|
||||||
|
exec/totemconfig.c | 8 ++++++-
|
||||||
|
exec/totemknet.c | 48 +++++++++++++++++++++++++++++++++++-----
|
||||||
|
tools/corosync-cfgtool.c | 31 ++++++++++++++++++++++++++
|
||||||
|
4 files changed, 83 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/exec/cfg.c b/exec/cfg.c
|
||||||
|
index fe5f551d..4a3834b0 100644
|
||||||
|
--- a/exec/cfg.c
|
||||||
|
+++ b/exec/cfg.c
|
||||||
|
@@ -722,6 +722,9 @@ static void message_handler_req_exec_cfg_reload_config (
|
||||||
|
|
||||||
|
log_printf(LOGSYS_LEVEL_NOTICE, "Config reload requested by node " CS_PRI_NODE_ID, nodeid);
|
||||||
|
|
||||||
|
+ // Clear this out in case it all goes well
|
||||||
|
+ icmap_delete("config.reload_error_message");
|
||||||
|
+
|
||||||
|
icmap_set_uint8("config.totemconfig_reload_in_progress", 1);
|
||||||
|
|
||||||
|
/* Make sure there is no rubbish in this that might be checked, even on error */
|
||||||
|
diff --git a/exec/totemconfig.c b/exec/totemconfig.c
|
||||||
|
index a6394a2f..505424e3 100644
|
||||||
|
--- a/exec/totemconfig.c
|
||||||
|
+++ b/exec/totemconfig.c
|
||||||
|
@@ -2439,7 +2439,13 @@ int totemconfig_commit_new_params(
|
||||||
|
totempg_reconfigure();
|
||||||
|
|
||||||
|
free(new_interfaces);
|
||||||
|
- return res; /* On a reload this is ignored */
|
||||||
|
+
|
||||||
|
+ /*
|
||||||
|
+ * On a reload this return is ignored because it's too late to do anything about it,
|
||||||
|
+ * but errors are reported back via cmap.
|
||||||
|
+ */
|
||||||
|
+ return res;
|
||||||
|
+
|
||||||
|
}
|
||||||
|
|
||||||
|
static void add_totem_config_notification(struct totem_config *totem_config)
|
||||||
|
diff --git a/exec/totemknet.c b/exec/totemknet.c
|
||||||
|
index f280a094..916f4f8b 100644
|
||||||
|
--- a/exec/totemknet.c
|
||||||
|
+++ b/exec/totemknet.c
|
||||||
|
@@ -93,6 +93,8 @@ static int setup_nozzle(void *knet_context);
|
||||||
|
struct totemknet_instance {
|
||||||
|
struct crypto_instance *crypto_inst;
|
||||||
|
|
||||||
|
+ struct knet_handle_crypto_cfg last_good_crypto_cfg;
|
||||||
|
+
|
||||||
|
qb_loop_t *poll_handle;
|
||||||
|
|
||||||
|
knet_handle_t knet_handle;
|
||||||
|
@@ -995,6 +997,7 @@ static void totemknet_refresh_config(
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=0; i<num_nodes; i++) {
|
||||||
|
+ int linkerr = 0;
|
||||||
|
for (link_no = 0; link_no < INTERFACE_MAX; link_no++) {
|
||||||
|
if (host_ids[i] == instance->our_nodeid || !instance->totem_config->interfaces[link_no].configured) {
|
||||||
|
continue;
|
||||||
|
@@ -1006,19 +1009,25 @@ static void totemknet_refresh_config(
|
||||||
|
instance->totem_config->interfaces[link_no].knet_ping_precision);
|
||||||
|
if (err) {
|
||||||
|
KNET_LOGSYS_PERROR(errno, LOGSYS_LEVEL_ERROR, "knet_link_set_ping_timers for node " CS_PRI_NODE_ID " link %d failed", host_ids[i], link_no);
|
||||||
|
+ linkerr = err;
|
||||||
|
}
|
||||||
|
err = knet_link_set_pong_count(instance->knet_handle, host_ids[i], link_no,
|
||||||
|
instance->totem_config->interfaces[link_no].knet_pong_count);
|
||||||
|
if (err) {
|
||||||
|
KNET_LOGSYS_PERROR(errno, LOGSYS_LEVEL_ERROR, "knet_link_set_pong_count for node " CS_PRI_NODE_ID " link %d failed",host_ids[i], link_no);
|
||||||
|
+ linkerr = err;
|
||||||
|
}
|
||||||
|
err = knet_link_set_priority(instance->knet_handle, host_ids[i], link_no,
|
||||||
|
instance->totem_config->interfaces[link_no].knet_link_priority);
|
||||||
|
if (err) {
|
||||||
|
KNET_LOGSYS_PERROR(errno, LOGSYS_LEVEL_ERROR, "knet_link_set_priority for node " CS_PRI_NODE_ID " link %d failed", host_ids[i], link_no);
|
||||||
|
+ linkerr = err;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
+ if (linkerr) {
|
||||||
|
+ icmap_set_string("config.reload_error_message", "Failed to set knet ping timers(2)");
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Log levels get reconfigured from logconfig.c as that happens last in the reload */
|
||||||
|
@@ -1086,6 +1095,10 @@ static int totemknet_set_knet_crypto(struct totemknet_instance *instance)
|
||||||
|
|
||||||
|
/* use_config will be called later when all nodes are synced */
|
||||||
|
res = knet_handle_crypto_set_config(instance->knet_handle, &crypto_cfg, instance->totem_config->crypto_index);
|
||||||
|
+ if (res == 0) {
|
||||||
|
+ /* Keep a copy in case it fails in future */
|
||||||
|
+ memcpy(&instance->last_good_crypto_cfg, &crypto_cfg, sizeof(crypto_cfg));
|
||||||
|
+ }
|
||||||
|
if (res == -1) {
|
||||||
|
knet_log_printf(LOGSYS_LEVEL_ERROR, "knet_handle_crypto_set_config (index %d) failed: %s", instance->totem_config->crypto_index, strerror(errno));
|
||||||
|
goto exit_error;
|
||||||
|
@@ -1112,8 +1125,24 @@ static int totemknet_set_knet_crypto(struct totemknet_instance *instance)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-
|
||||||
|
exit_error:
|
||||||
|
+#ifdef HAVE_KNET_CRYPTO_RECONF
|
||||||
|
+ if (res) {
|
||||||
|
+ icmap_set_string("config.reload_error_message", "Failed to set crypto parameters");
|
||||||
|
+
|
||||||
|
+ /* Restore the old values in cmap & totem_config */
|
||||||
|
+ icmap_set_string("totem.crypto_cipher", instance->last_good_crypto_cfg.crypto_cipher_type);
|
||||||
|
+ icmap_set_string("totem.crypto_hash", instance->last_good_crypto_cfg.crypto_hash_type);
|
||||||
|
+ icmap_set_string("totem.crypto_model", instance->last_good_crypto_cfg.crypto_model);
|
||||||
|
+
|
||||||
|
+ memcpy(instance->totem_config->crypto_hash_type, instance->last_good_crypto_cfg.crypto_hash_type,
|
||||||
|
+ sizeof(instance->last_good_crypto_cfg.crypto_hash_type));
|
||||||
|
+ memcpy(instance->totem_config->crypto_cipher_type, instance->last_good_crypto_cfg.crypto_cipher_type,
|
||||||
|
+ sizeof(instance->last_good_crypto_cfg.crypto_cipher_type));
|
||||||
|
+ memcpy(instance->totem_config->crypto_model, instance->last_good_crypto_cfg.crypto_model,
|
||||||
|
+ sizeof(instance->last_good_crypto_cfg.crypto_model));
|
||||||
|
+ }
|
||||||
|
+#endif
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -1656,6 +1685,9 @@ int totemknet_member_add (
|
||||||
|
log_flush_messages(instance);
|
||||||
|
errno = saved_errno;
|
||||||
|
KNET_LOGSYS_PERROR(errno, LOGSYS_LEVEL_ERROR, "knet_link_set_ping_timers for nodeid " CS_PRI_NODE_ID ", link %d failed", member->nodeid, link_no);
|
||||||
|
+
|
||||||
|
+ icmap_set_string("config.reload_error_message", "Failed to set knet ping timers");
|
||||||
|
+
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
err = knet_link_set_pong_count(instance->knet_handle, member->nodeid, link_no,
|
||||||
|
@@ -1666,6 +1698,7 @@ int totemknet_member_add (
|
||||||
|
log_flush_messages(instance);
|
||||||
|
errno = saved_errno;
|
||||||
|
KNET_LOGSYS_PERROR(errno, LOGSYS_LEVEL_ERROR, "knet_link_set_pong_count for nodeid " CS_PRI_NODE_ID ", link %d failed", member->nodeid, link_no);
|
||||||
|
+ icmap_set_string("config.reload_error_message", "Failed to set knet pong count");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -1774,11 +1807,14 @@ int totemknet_reconfigure (
|
||||||
|
/* Flip crypto_index */
|
||||||
|
totem_config->crypto_index = 3-totem_config->crypto_index;
|
||||||
|
res = totemknet_set_knet_crypto(instance);
|
||||||
|
-
|
||||||
|
- knet_log_printf(LOG_INFO, "kronosnet crypto reconfigured on index %d: %s/%s/%s", totem_config->crypto_index,
|
||||||
|
- totem_config->crypto_model,
|
||||||
|
- totem_config->crypto_cipher_type,
|
||||||
|
- totem_config->crypto_hash_type);
|
||||||
|
+ if (res == 0) {
|
||||||
|
+ knet_log_printf(LOG_INFO, "kronosnet crypto reconfigured on index %d: %s/%s/%s", totem_config->crypto_index,
|
||||||
|
+ totem_config->crypto_model,
|
||||||
|
+ totem_config->crypto_cipher_type,
|
||||||
|
+ totem_config->crypto_hash_type);
|
||||||
|
+ } else {
|
||||||
|
+ icmap_set_string("config.reload_error_message", "Failed to set knet crypto");
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
return (res);
|
||||||
|
}
|
||||||
|
diff --git a/tools/corosync-cfgtool.c b/tools/corosync-cfgtool.c
|
||||||
|
index d04d5bea..d35f6d90 100644
|
||||||
|
--- a/tools/corosync-cfgtool.c
|
||||||
|
+++ b/tools/corosync-cfgtool.c
|
||||||
|
@@ -332,6 +332,33 @@ nodestatusget_do (enum user_action action, int brief)
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
|
+
|
||||||
|
+static int check_for_reload_errors(void)
|
||||||
|
+{
|
||||||
|
+ cmap_handle_t cmap_handle;
|
||||||
|
+ cs_error_t result;
|
||||||
|
+ char *str;
|
||||||
|
+ int res;
|
||||||
|
+
|
||||||
|
+ result = cmap_initialize (&cmap_handle);
|
||||||
|
+ if (result != CS_OK) {
|
||||||
|
+ fprintf (stderr, "Could not initialize corosync cmap API error %d\n", result);
|
||||||
|
+ exit (EXIT_FAILURE);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ result = cmap_get_string(cmap_handle, "config.reload_error_message", &str);
|
||||||
|
+ if (result == CS_OK) {
|
||||||
|
+ printf("ERROR from reload: %s - see syslog for more information\n", str);
|
||||||
|
+ free(str);
|
||||||
|
+ res = 1;
|
||||||
|
+ }
|
||||||
|
+ else {
|
||||||
|
+ res = 0;
|
||||||
|
+ }
|
||||||
|
+ cmap_finalize(cmap_handle);
|
||||||
|
+ return res;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static int reload_config_do (void)
|
||||||
|
{
|
||||||
|
cs_error_t result;
|
||||||
|
@@ -358,6 +385,10 @@ static int reload_config_do (void)
|
||||||
|
|
||||||
|
(void)corosync_cfg_finalize (handle);
|
||||||
|
|
||||||
|
+ if ((rc = check_for_reload_errors())) {
|
||||||
|
+ fprintf(stderr, "Errors in appying config, corosync.conf might not match the running system\n");
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
return (rc);
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
@ -11,30 +11,19 @@
|
|||||||
%bcond_without vqsim
|
%bcond_without vqsim
|
||||||
%bcond_without runautogen
|
%bcond_without runautogen
|
||||||
%bcond_without userflags
|
%bcond_without userflags
|
||||||
%bcond_without spausedd
|
|
||||||
|
|
||||||
%global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}
|
%global gitver %{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}
|
||||||
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
%global gittarver %{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
||||||
|
|
||||||
%if %{with spausedd}
|
|
||||||
%global spausedd_version 20201112
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: corosync
|
Name: corosync
|
||||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||||
Version: 3.1.8
|
Version: 3.1.8
|
||||||
Release: 1%{?gitver}%{?dist}
|
Release: 2%{?gitver}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://corosync.github.io/corosync/
|
URL: http://corosync.github.io/corosync/
|
||||||
Source0: http://build.clusterlabs.org/corosync/releases/%{name}-%{version}%{?gittarver}.tar.gz
|
Source0: http://build.clusterlabs.org/corosync/releases/%{name}-%{version}%{?gittarver}.tar.gz
|
||||||
|
|
||||||
%if %{with spausedd}
|
Patch0: RHEL-24163-1-Report-crypto-errors-back-to-cfg-reload.patch
|
||||||
Source1: https://github.com/jfriesse/spausedd/releases/download/%{spausedd_version}/spausedd-%{spausedd_version}.tar.gz
|
|
||||||
# VMGuestLib exists only for x86_64 architecture
|
|
||||||
%ifarch x86_64
|
|
||||||
%global use_vmguestlib 1
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Runtime bits
|
# Runtime bits
|
||||||
# The automatic dependency overridden in favor of explicit version lock
|
# The automatic dependency overridden in favor of explicit version lock
|
||||||
@ -80,16 +69,12 @@ Requires: libxslt
|
|||||||
%if %{with vqsim}
|
%if %{with vqsim}
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{defined use_vmguestlib}
|
BuildRequires: make
|
||||||
BuildRequires: pkgconfig(vmguestlib)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if %{with spausedd}
|
|
||||||
%setup -q -a 1 -n %{name}-%{version}%{?gittarver}
|
|
||||||
%else
|
|
||||||
%setup -q -n %{name}-%{version}%{?gittarver}
|
%setup -q -n %{name}-%{version}%{?gittarver}
|
||||||
%endif
|
|
||||||
|
%patch0 -p1 -b .RHEL-24163-1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with runautogen}
|
%if %{with runautogen}
|
||||||
@ -128,22 +113,10 @@ BuildRequires: pkgconfig(vmguestlib)
|
|||||||
--with-systemddir=%{_unitdir} \
|
--with-systemddir=%{_unitdir} \
|
||||||
--docdir=%{_docdir}
|
--docdir=%{_docdir}
|
||||||
|
|
||||||
make %{_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%if %{with spausedd}
|
|
||||||
cd spausedd-%{spausedd_version}
|
|
||||||
CFLAGS="${CFLAGS:-%{optflags}}" ; export CFLAGS
|
|
||||||
make \
|
|
||||||
%if %{defined use_vmguestlib}
|
|
||||||
WITH_VMGUESTLIB=1 \
|
|
||||||
%else
|
|
||||||
WITH_VMGUESTLIB=0 \
|
|
||||||
%endif
|
|
||||||
%{?_smp_mflags}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
|
|
||||||
%if %{with dbus}
|
%if %{with dbus}
|
||||||
mkdir -p -m 0700 %{buildroot}/%{_sysconfdir}/dbus-1/system.d
|
mkdir -p -m 0700 %{buildroot}/%{_sysconfdir}/dbus-1/system.d
|
||||||
@ -164,21 +137,6 @@ install -m 644 tools/corosync-notifyd.sysconfig.example \
|
|||||||
install -m 644 init/corosync.sysconfig.example \
|
install -m 644 init/corosync.sysconfig.example \
|
||||||
%{buildroot}%{_sysconfdir}/sysconfig/corosync
|
%{buildroot}%{_sysconfdir}/sysconfig/corosync
|
||||||
|
|
||||||
%if %{with spausedd}
|
|
||||||
cd spausedd-%{spausedd_version}
|
|
||||||
make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install
|
|
||||||
|
|
||||||
%if %{with systemd}
|
|
||||||
mkdir -p %{buildroot}/%{_unitdir}
|
|
||||||
install -m 644 -p init/spausedd.service %{buildroot}/%{_unitdir}
|
|
||||||
%else
|
|
||||||
mkdir -p %{buildroot}/%{_initrddir}
|
|
||||||
install -m 755 -p init/spausedd %{buildroot}/%{_initrddir}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the Corosync Cluster Engine Executive, several default
|
This package contains the Corosync Cluster Engine Executive, several default
|
||||||
APIs and libraries, default configuration files, and an init script.
|
APIs and libraries, default configuration files, and an init script.
|
||||||
@ -276,15 +234,14 @@ This package contains corosync libraries.
|
|||||||
%{_libdir}/libsam.so.*
|
%{_libdir}/libsam.so.*
|
||||||
%{_libdir}/libcorosync_common.so.*
|
%{_libdir}/libcorosync_common.so.*
|
||||||
|
|
||||||
%post -n corosynclib -p /sbin/ldconfig
|
%ldconfig_scriptlets -n corosynclib
|
||||||
|
|
||||||
%postun -n corosynclib -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%package -n corosynclib-devel
|
%package -n corosynclib-devel
|
||||||
Summary: The Corosync Cluster Engine Development Kit
|
Summary: The Corosync Cluster Engine Development Kit
|
||||||
Requires: corosynclib%{?_isa} = %{version}-%{release}
|
Requires: corosynclib%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Provides: corosync-devel = %{version}
|
Provides: corosync-devel = %{version}-%{release}
|
||||||
|
Provides: corosync-devel%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n corosynclib-devel
|
%description -n corosynclib-devel
|
||||||
This package contains include files and man pages used to develop using
|
This package contains include files and man pages used to develop using
|
||||||
@ -335,266 +292,158 @@ network splits)
|
|||||||
%{_mandir}/man8/corosync-vqsim.8*
|
%{_mandir}/man8/corosync-vqsim.8*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# optional spausedd
|
|
||||||
%if %{with spausedd}
|
|
||||||
|
|
||||||
%package -n spausedd
|
|
||||||
Summary: Utility to detect and log scheduler pause
|
|
||||||
URL: https://github.com/jfriesse/spausedd
|
|
||||||
|
|
||||||
%if %{with systemd}
|
|
||||||
%{?systemd_requires}
|
|
||||||
%else
|
|
||||||
Requires(post): /sbin/chkconfig
|
|
||||||
Requires(preun): /sbin/chkconfig
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n spausedd
|
|
||||||
Utility to detect and log scheduler pause
|
|
||||||
|
|
||||||
%files -n spausedd
|
|
||||||
%doc spausedd-%{spausedd_version}/AUTHORS spausedd-%{spausedd_version}/COPYING
|
|
||||||
%{_bindir}/spausedd
|
|
||||||
%{_mandir}/man8/spausedd*
|
|
||||||
%if %{with systemd}
|
|
||||||
%{_unitdir}/spausedd.service
|
|
||||||
%else
|
|
||||||
%{_initrddir}/spausedd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post -n spausedd
|
|
||||||
%if %{with systemd} && 0%{?systemd_post:1}
|
|
||||||
%systemd_post spausedd.service
|
|
||||||
%else
|
|
||||||
if [ $1 -eq 1 ]; then
|
|
||||||
/sbin/chkconfig --add spausedd || :
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%preun -n spausedd
|
|
||||||
%if %{with systemd} && 0%{?systemd_preun:1}
|
|
||||||
%systemd_preun spausedd.service
|
|
||||||
%else
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
/sbin/service spausedd stop &>/dev/null || :
|
|
||||||
/sbin/chkconfig --del spausedd || :
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%postun -n spausedd
|
|
||||||
%if %{with systemd} && 0%{?systemd_postun:1}
|
|
||||||
%systemd_postun spausedd.service
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 21 2024 Jan Friesse <jfriesse@redhat.com> - 3.1.8-2
|
||||||
|
- Resolves: RHEL-24163
|
||||||
|
|
||||||
|
- Report crypto errors back to cfg reload (RHEL-24163)
|
||||||
|
|
||||||
* Wed Nov 15 2023 Jan Friesse <jfriesse@redhat.com> - 3.1.8-1
|
* Wed Nov 15 2023 Jan Friesse <jfriesse@redhat.com> - 3.1.8-1
|
||||||
- Resolves: RHEL-15263
|
- Resolves: RHEL-15264
|
||||||
|
|
||||||
- New upstream release (RHEL-15263)
|
- New upstream release (RHEL-15264)
|
||||||
|
|
||||||
* Tue Nov 15 2022 Jan Friesse <jfriesse@redhat.com> 3.1.7-1
|
* Tue Nov 15 2022 Jan Friesse <jfriesse@redhat.com> - 3.1.7-1
|
||||||
- Resolves: rhbz#2135860
|
- Resolves: rhbz#2135861
|
||||||
|
|
||||||
- New upstream release (rhbz#2135860)
|
- New upstream release (rhbz#2135861)
|
||||||
|
|
||||||
* Wed Nov 24 2021 Jan Friesse <jfriesse@redhat.com> 3.1.5-2
|
* Thu Mar 31 2022 Jan Friesse <jfriesse@redhat.com> - 3.1.5-4
|
||||||
- Resolves: rhbz#2002115
|
- Resolves: rhbz#2070623
|
||||||
- Resolves: rhbz#2024658
|
|
||||||
|
|
||||||
- totem: Add cancel_hold_on_retransmit config option (rhbz#2002115)
|
- logrotate: Use copytruncate method by default (rhbz#2070623)
|
||||||
- merge upstream commit cdf72925db5a81e546ca8e8d7d8291ee1fc77be4 (rhbz#2002115)
|
- merge upstream commit 04362046c4a9d7307feb5b68341d567b7d0b94d6 (rhbz#2070623)
|
||||||
- totemsrp: Switch totempg buffers at the right time (rhbz#2024658)
|
|
||||||
- merge upstream commit e7a82370a7b5d3ca342d5e42e25763fa2c938739 (rhbz#2024658)
|
|
||||||
|
|
||||||
* Wed Aug 04 2021 Jan Friesse <jfriesse@redhat.com> 3.1.5-1
|
* Thu Nov 25 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.5-3
|
||||||
- Related: rhbz#1948973
|
- Resolves: rhbz#2024652
|
||||||
|
- Resolves: rhbz#2024657
|
||||||
|
|
||||||
- New upstream release (rhbz#1948973)
|
- totem: Add cancel_hold_on_retransmit config option (rhbz#2024652)
|
||||||
|
- merge upstream commit cdf72925db5a81e546ca8e8d7d8291ee1fc77be4 (rhbz#2024652)
|
||||||
|
- totemsrp: Switch totempg buffers at the right time (rhbz#2024657)
|
||||||
|
- merge upstream commit e7a82370a7b5d3ca342d5e42e25763fa2c938739 (rhbz#2024657)
|
||||||
|
|
||||||
* Thu Jun 03 2021 Jan Friesse <jfriesse@redhat.com> 3.1.4-1
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.5-2
|
||||||
- Related: rhbz#1948973
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
- Resolves: rhbz#1962139
|
Related: rhbz#1991688
|
||||||
|
|
||||||
- New upstream release (rhbz#1948973)
|
* Wed Aug 04 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.5-1
|
||||||
- stats: fix crash when iterating over deleted keys (rhbz#1962139)
|
- Related: rhbz#1948974
|
||||||
|
|
||||||
* Fri May 21 2021 Jan Friesse <jfriesse@redhat.com> 3.1.3-1
|
- New upstream release (rhbz#1948974)
|
||||||
- Resolves: rhbz#1948973
|
|
||||||
|
|
||||||
- New upstream release (rhbz#1948973)
|
* Fri Jul 23 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.4-3
|
||||||
|
- Related: rhbz#1948974
|
||||||
|
|
||||||
* Fri Apr 30 2021 Jan Friesse <jfriesse@redhat.com> 3.1.0-5
|
- Add support for cgroup v2 and auto mode (rhbz#1948974)
|
||||||
- Resolves: rhbz#1954432
|
|
||||||
|
|
||||||
* Tue Apr 06 2021 Jan Friesse <jfriesse@redhat.com> 3.1.0-4
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.4-2
|
||||||
- Resolves: rhbz#1946623
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
||||||
|
Related: rhbz#1971065
|
||||||
|
|
||||||
- knet: pass correct handle to knet_handle_compress (rhbz#1946623)
|
* Thu Jun 03 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.4-1
|
||||||
|
- Related: rhbz#1948974
|
||||||
|
- Resolves: rhbz#1967485
|
||||||
|
|
||||||
* Thu Nov 12 2020 Jan Friesse <jfriesse@redhat.com> 3.1.0-3
|
- New upstream release (rhbz#1948974)
|
||||||
- Resolves: rhbz#1897085
|
- stats: fix crash when iterating over deleted keys (rhbz#1967485)
|
||||||
- Resolves: rhbz#1896493
|
|
||||||
|
|
||||||
- spausedd: Add ability to move process into root cgroup (rhbz#1897085)
|
* Fri May 21 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.3-1
|
||||||
- totemknet: Check both cipher and hash for crypto (rhbz#1896493)
|
- Resolves: rhbz#1948974
|
||||||
|
|
||||||
* Tue Nov 10 2020 Jan Friesse <jfriesse@redhat.com> 3.1.0-2
|
- New upstream release
|
||||||
- Resolves: rhbz#1896309
|
|
||||||
|
|
||||||
- Fix log_perror (rhbz#1896309)
|
* Wed Apr 21 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.2-1
|
||||||
|
- Related: rhbz#1948974
|
||||||
|
|
||||||
* Tue Oct 20 2020 Jan Friesse <jfriesse@redhat.com> 3.1.0-1
|
- New upstream release
|
||||||
- Resolves: rhbz#1855293
|
|
||||||
- Resolves: rhbz#1855303
|
|
||||||
- Resolves: rhbz#1870449
|
|
||||||
- Resolves: rhbz#1887400
|
|
||||||
|
|
||||||
- New upstream release (rhbz#1855293)
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.1-2
|
||||||
- Support for reload of crypto configuration (rhbz#1855303)
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
- Increase default token timeout to 3000ms (rhbz#1870449)
|
|
||||||
- Add support for nodelist callback into quorum service (rhbz#1887400)
|
|
||||||
|
|
||||||
* Tue May 26 2020 Jan Friesse <jfriesse@redhat.com> 3.0.3-4
|
* Wed Mar 31 2021 Jan Friesse <jfriesse@redhat.com> - 3.1.1-1
|
||||||
- Resolves: rhbz#1780137
|
- New upstream release
|
||||||
- Resolves: rhbz#1791792
|
|
||||||
- Resolves: rhbz#1809864
|
|
||||||
- Resolves: rhbz#1816653
|
|
||||||
|
|
||||||
- votequorum: Ignore the icmap_get_* return value (rhbz#1780137)
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
|
||||||
- merge upstream commit cddd62f972bca276c934e58f08da84071cec1ddb (rhbz#1780137)
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
- man: move cmap_keys man page from section 8 to 7 (rhbz#1791792)
|
|
||||||
- merge upstream commit f1d36307e524f9440733f0b01a9fc627a0e1cac7 (rhbz#1791792)
|
|
||||||
- votequorum: Reflect runtime change of 2Node to WFA (rhbz#1780137)
|
|
||||||
- merge upstream commit 8ce65bf951bc1e5b2d64b60ea027fbdc551d4fc8 (rhbz#1780137)
|
|
||||||
- stats: Add stats for scheduler misses (rhbz#1791792)
|
|
||||||
- merge upstream commit 48b6894ef41e9a06ccbb696d062d86ef60dc2c4b (rhbz#1791792)
|
|
||||||
- stats: Use nanoseconds from epoch for schedmiss (rhbz#1791792)
|
|
||||||
- merge upstream commit ebd05fa00826c366922e619b012a0684c6856539 (rhbz#1791792)
|
|
||||||
- main: Add schedmiss timestamp into message (rhbz#1791792)
|
|
||||||
- merge upstream commit 35662dd0ec53f456445c30c0ef92892f47b25aa2 (rhbz#1791792)
|
|
||||||
- votequorum: Change check of expected_votes (rhbz#1809864)
|
|
||||||
- merge upstream commit 0c16442f2d93f32a229b87d2672e2dc8025ec704 (rhbz#1809864)
|
|
||||||
- quorumtool: exit on invalid expected votes (rhbz#1809864)
|
|
||||||
- merge upstream commit 5f543465bb3506b7f4929a426f1c22a9c854cecd (rhbz#1809864)
|
|
||||||
- votequorum: set wfa status only on startup (rhbz#1816653)
|
|
||||||
- merge upstream commit ca320beac25f82c0c555799e647a47975a333c28 (rhbz#1816653)
|
|
||||||
|
|
||||||
* Tue Apr 28 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.3-3
|
* Mon Nov 02 2020 Jan Friesse <jfriesse@redhat.com> - 3.1.0-2
|
||||||
- Resolves: rhbz#1828295
|
- Add isa version of corosync-devel
|
||||||
|
- Add release to corosync-devel version to match autogenerated
|
||||||
|
corosynclib-devel provides
|
||||||
|
|
||||||
- Add explicit spausedd dependency for revdeps CI test
|
* Tue Oct 20 2020 Jan Friesse <jfriesse@redhat.com> - 3.1.0-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
* Mon Nov 25 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.3-2
|
* Thu Aug 27 2020 Josef Řídký <jridky@redhat.com> - 3.0.4-6
|
||||||
- Related: rhbz#1745623
|
- Rebuilt for new net-snmp release
|
||||||
|
|
||||||
- New upstream release of spausedd
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 3.0.4-4
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
|
* Wed May 13 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.4-3
|
||||||
|
- Fix typo in the changelog
|
||||||
|
|
||||||
|
* Wed May 13 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.4-2
|
||||||
|
- Rebuild for new libqb
|
||||||
|
|
||||||
|
* Thu Apr 23 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.4-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
|
* Fri Mar 27 2020 Jan Friesse <jfriesse@redhat.com> - 3.0.3-3
|
||||||
|
- Add CI tests
|
||||||
|
- Enable gating
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Nov 25 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.3-1
|
* Mon Nov 25 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.3-1
|
||||||
- Resolves: rhbz#1745623
|
|
||||||
|
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
* Wed Oct 30 2019 Jan Friesse <jfriesse@redhat.com> 3.0.2-4
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
||||||
- Resolves: rhbz#1745624
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
- Resolves: rhbz#1745642
|
|
||||||
- Resolves: rhbz#1749263
|
|
||||||
- Resolves: rhbz#1765025
|
|
||||||
|
|
||||||
- totem: fix check if all nodes have same number of links (rhbz#1749263)
|
* Wed Jun 12 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.2-1
|
||||||
- merge upstream commit 816324c94cfb917b11f43954b8757424db28b390 (rhbz#1749263)
|
- New upstream release
|
||||||
- totem: Increase ring_id seq after load (rhbz#1745624)
|
|
||||||
- merge upstream commit 3675daceeeeb72af043f5c051daed463fdd2d2a1 (rhbz#1745624)
|
|
||||||
- man: Fix link_mode priority description (rhbz#1745642)
|
|
||||||
- merge upstream commit 0a323ff2ed0f2aff9cb691072906e69cb96ed662 (rhbz#1745642)
|
|
||||||
- totemsrp: Reduce MTU to left room second mcast (rhbz#1765025)
|
|
||||||
- merge upstream commit ee8b8993d98b3f6af9c058194228fc534fcd0796 (rhbz#1765025)
|
|
||||||
|
|
||||||
* Tue Aug 06 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.2-3
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
|
||||||
- Resolves: rhbz#1738218
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
- Do not set exec permission for service file
|
* Tue Jan 15 2019 Jan Friesse <jfriesse@redhat.com> - 3.0.1-1
|
||||||
- Fix CFLAGS definition
|
- New upstream release
|
||||||
|
|
||||||
* Thu Jun 13 2019 Jan Friesse <jfriesse@redhat.com> 3.0.2-2
|
|
||||||
- Related: rhbz#1679656
|
|
||||||
|
|
||||||
- Improve spausedd test
|
|
||||||
|
|
||||||
* Wed Jun 12 2019 Jan Friesse <jfriesse@redhat.com> 3.0.2-1
|
|
||||||
- Resolves: rhbz#1705591
|
|
||||||
- Resolves: rhbz#1688889
|
|
||||||
|
|
||||||
* Mon May 13 2019 Jan Friesse <jfriesse@redhat.com> 3.0.0-4
|
|
||||||
- Related: rhbz#1679656
|
|
||||||
|
|
||||||
- Really add gating
|
|
||||||
|
|
||||||
* Mon May 13 2019 Jan Friesse <jfriesse@redhat.com> 3.0.0-3
|
|
||||||
- Resolves: rhbz#1691401
|
|
||||||
- Related: rhbz#1679656
|
|
||||||
|
|
||||||
- Add spausedd subpackage
|
|
||||||
- Add gating tests
|
|
||||||
|
|
||||||
* Fri Jan 11 2019 Jan Friesse <jfriesse@redhat.com> 3.0.0-2
|
|
||||||
- Resolves: rhbz#1665211
|
|
||||||
|
|
||||||
- totemip: Use AF_UNSPEC for ipv4-6 and ipv6-4 (rhbz#1665211)
|
|
||||||
- merge upstream commit 2ab4d4188670356dcb82a80f2fc4598f5145c77d (rhbz#1665211)
|
|
||||||
|
|
||||||
* Fri Dec 14 2018 Jan Friesse <jfriesse@redhat.com> - 3.0.0-1
|
* Fri Dec 14 2018 Jan Friesse <jfriesse@redhat.com> - 3.0.0-1
|
||||||
- Resolves: rhbz#1600915
|
|
||||||
|
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
* Tue Dec 11 2018 Jan Friesse <jfriesse@redhat.com> 2.99.5-2
|
|
||||||
- Resolves: rhbz#1654630
|
|
||||||
|
|
||||||
- man: Add some information about address resolution (rhbz#1654630)
|
|
||||||
- merge upstream commit 8d50bd946dd7e01da75f06da3f885e7dc82f4f12 (rhbz#1654630)
|
|
||||||
- config: Look up hostnames in a defined order (rhbz#1654630)
|
|
||||||
- merge upstream commit 3d7f136f86a56dd9d9caa9060f7a01e8b681eb7f (rhbz#1654630)
|
|
||||||
|
|
||||||
* Fri Dec 7 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.5-1
|
* Fri Dec 7 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.5-1
|
||||||
- Related: rhbz#1600915
|
|
||||||
|
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
* Tue Dec 4 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.4-2
|
* Tue Dec 4 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.4-2
|
||||||
- Resolves: rhbz#1655179
|
|
||||||
|
|
||||||
- Add libknet1-crypto-nss-plugin dependency
|
- Add libknet1-crypto-nss-plugin dependency
|
||||||
|
|
||||||
* Tue Nov 20 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.4-1
|
* Tue Nov 20 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.4-1
|
||||||
- Related: rhbz#1600915
|
|
||||||
|
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
* Mon Oct 15 2018 Jan Friesse <jfriesse@redhat.com> 2.99.3-5
|
* Thu Aug 16 2018 Jan Pokorný <jpokorny+rpm-corosync@redhat.com> - 2.99.3-3
|
||||||
- Resolves: rhbz#1639211
|
- Rebuild again, since the previous one was so unfortunate it got affected
|
||||||
|
with binutils (2.31.1-3.fc29) producing non-monotonically increasing
|
||||||
|
section offsets causing unprepared eu-strip to damage the binary
|
||||||
|
(related: rhbz#1609577)
|
||||||
|
- Apply patch to prevent redundancy in systemd journal
|
||||||
|
|
||||||
- config: Fix crash in reload if new interfaces are added (rhbz#1639211)
|
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 2.99.3-2
|
||||||
- merge upstream commit 9f2d5a3a3faa8bd1021b505bcf3c5428b3435e39 (rhbz#1639211)
|
- Rebuild for new net-snmp
|
||||||
|
|
||||||
* Tue Sep 18 2018 Jan Friesse <jfriesse@redhat.com> 2.99.3-4
|
|
||||||
- Related: rhbz#1615945
|
|
||||||
|
|
||||||
- Rebuild for new LibQB
|
|
||||||
|
|
||||||
* Mon Aug 20 2018 Jan Friesse <jfriesse@redhat.com> 2.99.3-3
|
|
||||||
- Resolves: rhbz#1602409
|
|
||||||
|
|
||||||
- Remove libcgroup (rhbz#1602409)
|
|
||||||
- merge upstream commit c9e5d6db13fa965d83e27a3b664477e9b5b26edf (rhbz#1602409)
|
|
||||||
|
|
||||||
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 2.99.3-2
|
|
||||||
- Rebuild with fixed binutils
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.3-1
|
* Fri Jul 13 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.3-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Apr 30 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.2-1
|
* Mon Apr 30 2018 Jan Friesse <jfriesse@redhat.com> - 2.99.2-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user