[Pkg-puppet-devel] Bug#701079: mcollective: activemq configuration example includes broken queue setting
Michael Prokop
mika at debian.org
Thu Feb 21 11:16:17 UTC 2013
Package: mcollective
Version: 2.0.0+dfsg-2
Severity: important
The provided examples/mcollective/activemq.xml file includes
dublicated topic authorizationEntry settings for mcollective, the
attached patch fixes that.
regards,
-mika-
-------------- next part --------------
>From 594e212f3fea722d334ca8a20da1dd291f54e748 Mon Sep 17 00:00:00 2001
From: Michael Prokop <mika at grml.org>
Date: Thu, 21 Feb 2013 12:09:33 +0100
Subject: [PATCH] mcollective activemq.xml example: fix queue permissions for
mcollective user
Otherwise fails with:
| null: java.lang.SecurityException: User mcollective is not authorized to read from: queue://mcollective.reply.mcollective_18522 | org.apache.activemq.transport.stomp.ProtocolConverter | ActiveMQ Transport: tcp:///127.0.0.1:48409
---
debian/examples/mcollective/activemq.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/examples/mcollective/activemq.xml b/debian/examples/mcollective/activemq.xml
index 8b3c253..138035e 100644
--- a/debian/examples/mcollective/activemq.xml
+++ b/debian/examples/mcollective/activemq.xml
@@ -33,7 +33,7 @@
<authorizationEntry queue=">" write="admins" read="admins" admin="admins" />
<authorizationEntry topic=">" write="admins" read="admins" admin="admins" />
<authorizationEntry topic="mcollective.>" write="mcollective" read="mcollective" admin="mcollective" />
- <authorizationEntry topic="mcollective.>" write="mcollective" read="mcollective" admin="mcollective" />
+ <authorizationEntry queue="mcollective.>" write="mcollective" read="mcollective" admin="mcollective" />
<authorizationEntry topic="ActiveMQ.Advisory.>" read="everyone" write="everyone" admin="everyone"/>
</authorizationEntries>
</authorizationMap>
--
1.7.10.4
More information about the Pkg-puppet-devel
mailing list