bump
On 12/30/22 21:04, Volker Schlecht wrote:
Updates net/rabbitmq to the most recent 3.10.x release.
* Reinstates patch-deps_rabbit_scripts_rabbitmq-defaults that shouldn't
have been dropped
* Drops patch-deps_rabbitmq_cli_mix_exs that is now upstreamed
* Substitutes versions of bundled dependencies to avoid PLIST churn
further down the line (adding lots of PLIST churn now...)
* Prevents epmd from being started as root, albeit in a very ugly way:
While rabbitmq.rc always started the rabbitmq launch script as
_rabbitmq, it contained a call to rabbitmqctl in rc_check(). rabbitmqctl
always starts an instance of epmd if none is running, and since the
first call to rc_check() is run by root, it always launches epmd as root.
Besides having a server running with root privileges now, this leads to
the problem that the first startup might fail because
/var/rabbitmq/.erlang.cookie is now owned by root and not accessible by
_rabbitmq anymore.
What I'm proposing now is to use a pexp in rabbitmq.rc for rc_check().
Given rabbitmq's giant invocation of erl25, the pattern I'm looking for
might be a little flaky, but it's the best working idea I could come up
with so far - better solutions are highly welcome, as is of course any
other feedback.