-
Notifications
You must be signed in to change notification settings - Fork 62
Require root or runner privs to run ping
command
#146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
/cc @jburwell @hectcastro I will address @glickbot's ENV variable issue basho/riak#563 when we confirm this first step works. |
I tested on ubuntu 12.04 with this simply:
|
I ran similar tests on the following platforms with success:
|
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 |
Require root or runner privs to run `ping` command
Addresses: basho/riak#561
In certain cases, if
riak ping
was run beforeriak start
(or anyother command) a
.erlang.cookie
file was created with the wrongprivs (in this case a root user) that prevented the riak user from
starting erlang.