Re: Riak in user mode

2010-10-11 Thread Dan Reverri
The scripts will use sudo if the RUNNER_USER does not match the user currently running the script. When building from src the RUNNER_USER variable is left blank. Packaged builds of Riak set this variable to "riak". You can modify the packaged installed scripts to set this variable to a different u

Re: Riak in user mode

2010-10-11 Thread Wilson MacGyver
are you installing it from src? because I run it as a non-root user and it never requested sudo On Mon, Oct 11, 2010 at 10:57 AM, Mojito Sorbet wrote: > My question is not about installing it as root, but running it as root. > The "riak start" script immediately tries to do a sudo.  Why is this >

Re: Riak in user mode

2010-10-11 Thread Mojito Sorbet
My question is not about installing it as root, but running it as root. The "riak start" script immediately tries to do a sudo. Why is this necessary? If I could configure it so the data files do not go into /var, for example. It seems to me this is independent from how I built or installed it.

Re: Riak in user mode

2010-10-11 Thread Alexander Sicular
The only part of the Riak 'world' that probably is easiest installed as root is erlang. Although you could install erlang as non root. Once you have erlang installed, you can compile riak as non root and it works fine. -alexander On Oct 11, 2010, at 9:19 AM, Mojito Sorbet wrote: > If I do not