- 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:
parent
95975ef2c3
commit
e093c87b94
@ -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
|
||||
|
||||
|
@ -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
13
sysexists-in-ocf.patch
Normal 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
|
||||
;;
|
Loading…
Reference in New Issue
Block a user