Date: Thu, 20 Nov 2014 13:26:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195220] New: databases/riak 1.4.10 broken Message-ID: <bug-195220-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195220 Bug ID: 195220 Summary: databases/riak 1.4.10 broken Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: robak@freebsd.org Reporter: landsidel.allen@gmail.com Assignee: robak@freebsd.org Flags: maintainer-feedback?(robak@freebsd.org) This port is non-functional after installation. 1. File permissions are incorrect. At runtime, the port needs write access as the riak user ('riak') to the RIAK_HOMEDIR, RIAK_DBDIR, RIAK_LOGDIR, and RIAK_LIBDIR. By default these are owned by root/wheel. 2. The installed file /usr/local/lib/riak/lib/env.sh was recently (1.4.9 perhaps) modified to use su instead of sudo, but linux command line options (specifically -c) are hard coded, and the entire command is quoted which results in it being interpreted as a path to a file with spaces rather than a command with arguments. This prevents all riak-admin commands from functioning, and perhaps others as well. ----- quick (probably incorrect) fixes 1. Change ownership for all of these directories to the riak user/group. Testing this change via @owner and @group directives in pkg-plist was successful, but probably has security consequences for the system as a whole. 2. Create a patch to change this 'su' command back to 'sudo' and add sudo as a requirement for the port ..OR.. remove the '-c' and quotes. The first option is preferable in order to preserve the quoting which is required in some cases, but I've only tested the second, and it works in limited testing. --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer robak@freebsd.org -- 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-195220-13>