[Pkg-erlang-devel] Bug#911927: Bug#911927: Please remove the bad directive

Philipp Huebner debalance at debian.org
Sat Dec 29 15:32:02 GMT 2018


Am 29.12.18 um 06:54 schrieb Thomas Goirand:
> 
> On Dec 29, 2018 08:15, Philipp Huebner <debalance at debian.org> wrote:
>> 
>> Hello Thomas,
>> 
>> ejabberd maintainer here!
>> 
>> Am 26.10.18 um 13:04 schrieb Thomas Goirand:
>>> After further investigation, removing:
>>> 
>>> BindToDevice=lo
>>> 
>>> and rebooting fixes the problem. Could you please remove it from
>>> the empd.socket file, so that users don't have to override it in
>>>  /etc/systemd please?
>> [...] We could agree on priorities as done in other .d directories,
>>  so ejabberd would make it lo only, and if rabbitmq-server is
>> installed as well it would change it back to undefined (all
>> interfaces).
> 
> This looks like a very good idea. There is though one case I wonder
> how to handle. What if one installs both rabbitmq and ejabberd on the
> same server? Hopefully documentation will be enough, so please make
> sure it is well documented on the ejabber package.
> 
> IMO the default behavior must be the one from Stretch so that
> upgrading a rabbitmq cluster to Buster doesn't break the world.

That's why I suggested above to give rabbitmq's config snippet a higher
priority. According to `man systemd.unit`, "Multiple drop-in files with
different names are applied in lexicographic order".

For ejabberd BindToDevice=lo is a sane choice, but the old default
doesn't really hurt either.

E.g. ejabberd could ship "BindToDevice=lo" in
/etc/systemd/system/epmd.socket.d/10ejabberd.conf
and rabbitmq-server could ship "BindToDevice=" in
/etc/systemd/system/epmd.socket.d/50rabbitmq.conf


@Sergei, what do you think?


Best wishes,
-- 
 .''`.   Philipp Huebner <debalance at debian.org>
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-erlang-devel/attachments/20181229/180bffb0/attachment.sig>


More information about the Pkg-erlang-devel mailing list