Your message dated Mon, 02 Jun 2025 17:36:00 +0000
with message-id <[email protected]>
and subject line unblock rabbitmq-server
has caused the Debian Bug report #1107150,
regarding unblock: rabbitmq-server/4.0.5-3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1107150: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107150
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:rabbitmq-server
Please unblock package rabbitmq-server
[ Reason ]
The updated -5 version contains 2 fixes:
1/ /var/log/rabbitmq is now owned by the adm group, following
the Debian standard.
2/ rabbitmq-plugins used to work by default in Bookworm, though
in Trixie, one had to manually set the PLUGINS_DIR env var. The
version -5 automatically sets PLUGINS_DIR to the relevant value
if it wasn't set by the user previously, keeping the expected
behavior that we had in Bookworm.
[ Impact ]
If we don't upgrade the package, the impact is:
- Broken /var/log/rabbitmq rights
- Broken rabbitmq-plugins
[ Tests ]
I manually tested things are repaired.
[ Risks ]
I cannot forsea any risks with these fixes.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock rabbitmq-server/4.0.5-3
diff --git a/debian/changelog b/debian/changelog
index 5713bc2f..60d218bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+rabbitmq-server (4.0.5-5) unstable; urgency=medium
+
+ * Fix rabbitmq-plugins script to automatically set PLUGINS_DIR.
+
+ -- Thomas Goirand <[email protected]> Tue, 27 May 2025 15:57:44 +0200
+
+rabbitmq-server (4.0.5-4) unstable; urgency=medium
+
+ * Fix /var/log/rabbitmq group ownership to adm.
+
+ -- Thomas Goirand <[email protected]> Tue, 13 May 2025 11:24:03 +0200
+
rabbitmq-server (4.0.5-3) unstable; urgency=medium
[ Antonio Terceiro ]
diff --git a/debian/rabbitmq-script-wrapper b/debian/rabbitmq-script-wrapper
index a622ae21..0ef900f0 100755
--- a/debian/rabbitmq-script-wrapper
+++ b/debian/rabbitmq-script-wrapper
@@ -29,6 +29,12 @@ cd /var/lib/rabbitmq
SCRIPT=`basename $0`
+if [ "${SCRIPT}" = "rabbitmq-plugins" ] ; then
+ if [ -z "${PLUGINS_DIR}" ] ; then
+ export
PLUGINS_DIR=/usr/lib/rabbitmq/lib/rabbitmq_server-4.0.5/plugins
+ fi
+fi
+
if [ `id -u` = `id -u rabbitmq` -a "$SCRIPT" = "rabbitmq-server" ] ; then
/usr/lib/rabbitmq/bin/rabbitmq-server "$@" >
"/var/log/rabbitmq/startup_log" 2> "/var/log/rabbitmq/startup_err"
elif [ `id -u` = `id -u rabbitmq` -o "$SCRIPT" = "rabbitmq-plugins" ] ; then
diff --git a/debian/rabbitmq-server.postinst b/debian/rabbitmq-server.postinst
index 53f82388..2b66b351 100644
--- a/debian/rabbitmq-server.postinst
+++ b/debian/rabbitmq-server.postinst
@@ -53,7 +53,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
chmod 0400 /var/lib/rabbitmq/.erlang.cookie
chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
- chown -R rabbitmq:rabbitmq /var/log/rabbitmq
+ chown -R rabbitmq:adm /var/log/rabbitmq
fi
#DEBHELPER#
--- End Message ---
--- Begin Message ---
Unblocked rabbitmq-server.
--- End Message ---