From 56af504eb601abe8c345b2dfc219c8acae55c4997d0703e6ccf9b02f9e719664 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 15 Dec 2018 20:49:30 +0000 Subject: [PATCH] - listen to localhost only by default to comply to the epmd.socket which also only listens to localhost (bsc#1087270) OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=103 --- rabbitmq-env.conf | 12 ++++++++++++ rabbitmq-server.changes | 6 ++++++ rabbitmq-server.service | 4 ++-- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/rabbitmq-env.conf b/rabbitmq-env.conf index da8357c..4594089 100644 --- a/rabbitmq-env.conf +++ b/rabbitmq-env.conf @@ -5,6 +5,18 @@ # combination. See the clustering on a single machine guide for details: # http://www.rabbitmq.com/clustering.html#single-machine #NODENAME=rabbit +# +# with the default SUSE epmd.socket we need to listen to localhost to +# properly activate the socket activation. In order to switch back to +# the clustering compatible listen to any address, run this prior removing +# this override: +# +# cat < /etc/systemd/system/epmd.socket.d/ports.conf +# [Socket] +# ListenStream= +# ListenStream=[::]:4369 +# EOF +NODENAME=rabbit@localhost # By default RabbitMQ will bind to all interfaces, on IPv4 and IPv6 if # available. Set this if you only want to bind to one network interface or# diff --git a/rabbitmq-server.changes b/rabbitmq-server.changes index c53a0e3..dd37788 100644 --- a/rabbitmq-server.changes +++ b/rabbitmq-server.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 15 20:48:46 UTC 2018 - Dirk Mueller + +- listen to localhost only by default to comply to the epmd.socket + which also only listens to localhost (bsc#1087270) + ------------------------------------------------------------------- Tue Dec 4 12:38:49 UTC 2018 - matwey.kornilov@gmail.com diff --git a/rabbitmq-server.service b/rabbitmq-server.service index 3b60465..fdda01a 100644 --- a/rabbitmq-server.service +++ b/rabbitmq-server.service @@ -1,7 +1,7 @@ [Unit] Description=RabbitMQ broker -After=syslog.target network.target -Requires=epmd.service +After=syslog.target network.target epmd.service +BindsTo=epmd.service [Service] Type=notify