Your message dated Tue, 22 Aug 2023 16:20:16 +0200
with message-id <e609903a-b051-74d9-e81c-709b7fdd2...@debian.org>
and subject line Not needed
has caused the Debian Bug report #1042945,
regarding rabbitmq-server: Please support conf.d drop-in directory
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 ow...@bugs.debian.org
immediately.)
--
1042945: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042945
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rabbitmq-server
Version: 3.10.8-1.1
Severity: wishlist
Tags: patch
Hi,
it would be nice to have a /etc/rabbitmq/conf.d directory. This is
supported by upstream [1].
I haven't tried this, but postinst looks simple enough, and the attached
patch should accomplish this.
Best,
Christian
[1] https://www.rabbitmq.com/configure.html#config-confd-directory
diff -Nru rabbitmq-server-3.10.8-current/debian/rabbitmq-server.postinst rabbitmq-server-3.10.8/debian/rabbitmq-server.postinst
--- rabbitmq-server-3.10.8-current/debian/rabbitmq-server.postinst 2022-09-28 15:40:58.000000000 +0200
+++ rabbitmq-server-3.10.8/debian/rabbitmq-server.postinst 2023-08-03 09:57:43.719988265 +0200
@@ -18,8 +18,8 @@
--disabled-login rabbitmq
fi
- mkdir -p /etc/rabbitmq
- chown rabbitmq:rabbitmq /etc/rabbitmq
+ mkdir -p /etc/rabbitmq/conf.d
+ chown rabbitmq:rabbitmq /etc/rabbitmq /etc/rabbitmq/conf.d
if [ -r /usr/share/rabbitmq/rabbitmq-env.conf ] && ! [ -e /etc/rabbitmq/rabbitmq-env.conf ] ; then
install -m 0644 -o rabbitmq -g rabbitmq /usr/share/rabbitmq/rabbitmq-env.conf /etc/rabbitmq/rabbitmq-env.conf
fi
--- End Message ---
--- Begin Message ---
Hi,
Well, if the only thing to do is to create the folder, then the Debian
package already supports it, you only .... need to create the folder! :)
Therefore, I don't think there's anything I need to do at the packaging
level. Don't you think?
Cheers,
Thomas Goirand (zigo)
--- End Message ---