Don't let ubuntu try to install its crazy jayatana agent.#13813
Merged
rmuir merged 1 commit intoelastic:masterfrom Sep 26, 2015
Merged
Don't let ubuntu try to install its crazy jayatana agent.#13813rmuir merged 1 commit intoelastic:masterfrom
rmuir merged 1 commit intoelastic:masterfrom
Conversation
By default, our security stuff will reject this (as do other apps). See https://bugs.launchpad.net/ubuntu/+source/jayatana/+bug/1441487 However its not really the user's fault, ubuntu screws up here by installing this agent by default. We don't want any agents. So instead, we drop it like this: ``` $ bin/elasticsearch Warning: Ignoring JAVA_TOOL_OPTIONS=-Bogus1 -Bogus2 Please pass JVM parameters via JAVA_OPTS instead [2015-09-25 23:34:39,777][INFO ][node ] [Doctor Bong] version[3.0.0-SNAPSHOT], pid[19044], build[2f5b6ea/2015-09-26T03:18:16Z] ... ``` Closes elastic#13785
Member
|
LGTM |
Contributor
|
It looks good to me |
rmuir
added a commit
that referenced
this pull request
Sep 26, 2015
Don't let ubuntu try to install its crazy jayatana agent.
nik9000
added a commit
to nik9000/elasticsearch
that referenced
this pull request
Sep 28, 2015
Installs javatana in vivid, emulates its on-login actions when starting elasticsearch and verifies that elasticsearch turns off javatana. Relates to elastic#13813
|
This should be fixed in Ubuntu (by getting rid of this hack), and not require workaround in Elasticsearch etc. |
Contributor
Author
|
Don't complain to me, I don't work on ubuntu. |
Member
|
I don't have a link but when I looked around it looked like ubuntu is
|
Contributor
Author
|
I linked to the bug on this issue. |
nik9000
added a commit
that referenced
this pull request
Oct 6, 2015
Installs javatana in vivid, emulates its on-login actions when starting elasticsearch and verifies that elasticsearch turns off javatana. Relates to #13813
nik9000
added a commit
that referenced
this pull request
Oct 6, 2015
Installs javatana in vivid, emulates its on-login actions when starting elasticsearch and verifies that elasticsearch turns off javatana. Relates to #13813
nik9000
added a commit
that referenced
this pull request
Oct 6, 2015
Installs javatana in vivid, emulates its on-login actions when starting elasticsearch and verifies that elasticsearch turns off javatana. Relates to #13813
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By default, our security stuff will reject this (as do other apps).
See https://bugs.launchpad.net/ubuntu/+source/jayatana/+bug/1441487
However its not really the user's fault, ubuntu screws up here by
installing this agent by default. We don't want any agents.
So instead, we drop it like this:
Closes #13785