Skip to content

Commit 4e41fd8

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add /usr/local/bin to exec_dirs in rootwrap.conf"
2 parents 5270144 + 2c5d462 commit 4e41fd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/neutron-legacy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,8 @@ function _neutron_setup_rootwrap {
11451145
sudo install -o root -g root -m 644 $NEUTRON_DIR/etc/rootwrap.conf $Q_RR_CONF_FILE
11461146
fi
11471147
sudo sed -e "s:^filters_path=.*$:filters_path=$Q_CONF_ROOTWRAP_D:" -i $Q_RR_CONF_FILE
1148+
sudo sed -e 's:^exec_dirs=\(.*\)$:exec_dirs=\1,/usr/local/bin:' -i $Q_RR_CONF_FILE
1149+
11481150
# Specify ``rootwrap.conf`` as first parameter to neutron-rootwrap
11491151
ROOTWRAP_SUDOER_CMD="$NEUTRON_ROOTWRAP $Q_RR_CONF_FILE *"
11501152
ROOTWRAP_DAEMON_SUDOER_CMD="$NEUTRON_ROOTWRAP-daemon $Q_RR_CONF_FILE"

0 commit comments

Comments
 (0)