[zookeeper] 06/15: set JMXLOCALONLY=true in /etc/default/zookeeper
tony mancill
tmancill at debian.org
Sat Jan 20 22:13:28 UTC 2018
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository zookeeper.
commit 1644c043e2d7cef4e92d80f1b82d6323d5aedc3f
Author: tony mancill <tmancill at debian.org>
Date: Sun Jan 14 09:40:21 2018 -0800
set JMXLOCALONLY=true in /etc/default/zookeeper
See: Debian bug #869921
Drop the NEWS file regarding changing the default setting for
JMXLOCALONLY. The fact is that without setting a JMXPORT (or
-Dcom.sun.management.jmxremote.port=xxxx), there isn't much exposure.
Furthermore, according to Oracle's documentation, the option is
broken (at least in JDK 7):
See:
- https://support.oracle.com/knowledge/Middleware/1641501_1.html
- http://www.oracle.com/technetwork/java/javase/compatibility-417013.html#jdk7
---
debian/NEWS | 8 --------
debian/zookeeperd.zookeeper.default | 2 +-
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/debian/NEWS b/debian/NEWS
deleted file mode 100644
index fdbb2d5..0000000
--- a/debian/NEWS
+++ /dev/null
@@ -1,8 +0,0 @@
-zookeeper (3.4.10-3) unstable; urgency=medium
-
- zookeeper no longer ships with a default configuration of
- JMXLOCALONLY=false. If you require remote JMX, change this
- setting in /etc/default/zookeeper in addition
- to configuring
-
- -- tony mancill <tmancill at debian.org> Fri, 28 Jul 2017 17:08:52 -0700
diff --git a/debian/zookeeperd.zookeeper.default b/debian/zookeeperd.zookeeper.default
index 4843899..495fde6 100644
--- a/debian/zookeeperd.zookeeper.default
+++ b/debian/zookeeperd.zookeeper.default
@@ -2,6 +2,6 @@
# up the JVM to accept JMX remote management:
# http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
# by default we allow local JMX connections
-#JMXLOCALONLY=false
+#JMXLOCALONLY=true
#JAVA_OPTS=""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/zookeeper.git
More information about the pkg-java-commits
mailing list