[Bug 212864] databases/riak: fix riak-admin subcommands
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 20 18:35:01 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212864
Bug ID: 212864
Summary: databases/riak: fix riak-admin subcommands
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: robak at freebsd.org
Reporter: rm at FreeBSD.org
Flags: maintainer-feedback?(robak at freebsd.org)
Assignee: robak at freebsd.org
Created attachment 175013
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175013&action=edit
This patch is fixing riak-admin subcommands handling
Right now riak-admin script, when running as root, is broken for any
subcommands like `riak-admin cluster plan`. For example do:
# riak-admin cluster plan
Usage: riak-admin cluster <command>
With the patch:
# riak-admin cluster plan
There are no staged changes
The problem is in check_user function of env.sh, that is invoked in riak-admin
and loses command line arguments.
This patch fixes things to me. It is taken from riak2's env.sh
Please apply.
While here I also removed Riak from COMMENT and bumped PORTREVISION.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list