[Pkg-erlang-devel] Bug#911927: epmd doesn't bind on anything bug lo

Thomas Goirand zigo at debian.org
Fri Oct 26 10:02:51 BST 2018


Package: erlang-base
Version: 1:21.1.1+dfsg-2
Severity: important

Dear Maintainer,

Finally, I succeeded in updating rabbitmq-server, howerver, there's a weird
behavior of epmd that makes rabbitmq not useable. When I have hostname set to
resolve to localhost in /etc/hosts, with something like this:

127.0.0.1	localhost
127.0.1.1	<hostname>

then rabbitmq-server starts. If I "fix" my /etc/hosts file like this:

127.0.0.1        localhost
192.168.101.3    <hostname>

then rabbitmq-server cannot connect to epmd, which looks like binding only on
localhost. This is a change of behavior compared to previous versions of the
erlang-base package. I don't think that's what we want by default.

Having a look into /lib/systemd/system/epmd.socket I could see that there's an
added directive:

BindToDevice=lo

which looks like it's a maintainer's choice to have epmd only bind to localhost.
Can this be fixed? rabbitmq-server isn't useable in cluster anymore due to this.
If you know how to fix it on the rabbitmq-server side, I'd be happy to do the
necessary changes, but it doesn't look like obvious to me.

Cheers,

Thomas Goirand (zigo)



More information about the Pkg-erlang-devel mailing list