From c85bd876d3ae4b6e29bb040a49e43d3ba46b6039 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Fri, 19 Dec 2014 19:32:02 +0000 Subject: [PATCH] rtstool on Ubuntu installs in /usr/local/bin The cinder-rtstool which is required to use LIO iscsi_helper installs in /usr/local/bin on Ubuntu and /usr/bin on RHEL variants. Currently the rootwrap.conf only has /usr/bin configured, as a result LIO can't be used on Ubuntu without modifying the rootwrap file. This patch just adds /usr/local/bin to the rootwrap.conf; Honestly I'm not sure if this is good, bad or doesn't matter. May be able to address this via documentation, or upstream in the packaging of cinder-rtstool instead? Not sure what's preferred. Change-Id: I577e10df25181c7d4ca8189b10640a8e6e39b047 Closes-Bug: #1402076 --- etc/cinder/rootwrap.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/cinder/rootwrap.conf b/etc/cinder/rootwrap.conf index 001b90af5..beac6c4ba 100644 --- a/etc/cinder/rootwrap.conf +++ b/etc/cinder/rootwrap.conf @@ -10,7 +10,7 @@ filters_path=/etc/cinder/rootwrap.d,/usr/share/cinder/rootwrap # explicitely specify a full path (separated by ',') # If not specified, defaults to system PATH environment variable. # These directories MUST all be only writeable by root ! -exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin +exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin # Enable logging to syslog # Default value is False -- 2.45.2