Require root or runner privs to run ping command#146
Merged
jaredmorrow merged 1 commit intodevelopfrom Jun 26, 2014
Merged
Conversation
Addresses: basho/riak#561 In certain cases, if `riak ping` was run before `riak start` (or any other command) a `.erlang.cookie` file was created with the wrong privs (in this case a root user) that prevented the riak user from starting erlang.
Contributor
Author
Contributor
Author
|
/cc @jburwell @hectcastro I will address @glickbot's ENV variable issue basho/riak#563 when we confirm this first step works. |
Contributor
Author
|
I tested on ubuntu 12.04 with this simply: |
Contributor
|
I ran similar tests on the following platforms with success:
|
Contributor
Author
|
Awesome @hectcastro thanks for giving that a go. I'll wait on @jburwell since he seems to run into the issue more than I do. After that I'll figure out where the best place to source those default scripts. We'll need to do it early, but not so early that it gets lost before the |
|
Tested and passed on the following platforms:
Reviewed the code modification. +1 |
5 tasks
jaredmorrow
added a commit
that referenced
this pull request
Jun 26, 2014
Require root or runner privs to run `ping` command
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.
Addresses: basho/riak#561
In certain cases, if
riak pingwas run beforeriak start(or anyother command) a
.erlang.cookiefile was created with the wrongprivs (in this case a root user) that prevented the riak user from
starting erlang.