- Add sysexits-in-ocf.patch to handle new rabbitmqctl exit codes

(bsc#1093046)

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=96
This commit is contained in:
Dirk Mueller 2018-09-11 14:00:46 +00:00 committed by Git OBS Bridge
parent 95975ef2c3
commit e093c87b94
3 changed files with 23 additions and 0 deletions

View File

@ -18,6 +18,12 @@ shuts down or is otherwise considered to be unavailable by peers
+ Default max number of channels allowed on a connection (a.k.a. channel_max) has been lowered from 65535 to 2047.
The new default is much safer and will reduce the effect application channel leaks have on node resource consumption. This is a potentially breaking change.
-------------------------------------------------------------------
Tue Jun 12 09:56:10 UTC 2018 - jtomasiak@suse.com
- Add sysexits-in-ocf.patch to handle new rabbitmqctl exit codes
(bsc#1093046)
-------------------------------------------------------------------
Mon May 28 13:08:15 UTC 2018 - bwiedemann@suse.com

View File

@ -50,6 +50,9 @@ Source6: rabbitmq-server.service
Source7: rabbitmq-server.tmpfiles.d.conf
Source8: README.SUSE
Source9: rabbitmq.config.example
# PATCH-FIX-UPSTREAM sysexists-in-ocf bsc#1093046
# https://github.com/rabbitmq/rabbitmq-server-release/pull/80
Patch0: sysexists-in-ocf.patch
BuildRequires: erlang
BuildRequires: erlang-src
BuildRequires: fdupes
@ -115,6 +118,7 @@ This package includes the RabbitMQ AMQP language bindings for Erlang.
%prep
%setup -q
cp %{SOURCE8} .
%patch0 -p1
%build
make all %{_make_args} %{?_smp_mflags}

13
sysexists-in-ocf.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/scripts/rabbitmq-server.ocf b/scripts/rabbitmq-server.ocf
index cf832fe..176d2a7 100755
--- a/scripts/rabbitmq-server.ocf
+++ b/scripts/rabbitmq-server.ocf
@@ -275,7 +275,7 @@ rabbitmqctl_action() {
ocf_log debug "RabbitMQ server is running normally"
return $OCF_SUCCESS
;;
- 1|2)
+ 1|2|69)
ocf_log debug "RabbitMQ server is not running"
return $OCF_NOT_RUNNING
;;