Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2016 18:35:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212864] databases/riak: fix riak-admin subcommands
Message-ID:  <bug-212864-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212864

            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@freebsd.org
          Reporter: rm@FreeBSD.org
             Flags: maintainer-feedback?(robak@freebsd.org)
          Assignee: robak@freebsd.org

Created attachment 175013
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175013&action=
=3Dedit
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-ad=
min
and loses command line arguments.=20

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212864-13>