From 966f4055514a375e5d77e83f0dd8753c0db73ba5 Mon Sep 17 00:00:00 2001 From: Armando Migliaccio Date: Tue, 19 Sep 2017 15:50:57 -0400 Subject: [PATCH] Allow fullstack to operate on dhclient-script for OpenSUSE This script's permissions by default limits access to root, but that is not consistent to other platforms. Tweaking the permissions is the easiest/least impactful fix imaginable. Change-Id: Icfad974cb0c9f896b05003ea0f89693528eaeb80 --- tools/configure_for_func_testing.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 8e8f0d816c5..901cd63d2ff 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -235,6 +235,10 @@ function _install_post_devstack { install_package nmap-ncat elif is_suse; then install_package dhcp-client + # NOTE(armax): no harm in allowing 'other' to read and + # execute the script. This is required in fullstack + # testing and avoids quite a bit of rootwrap pain + sudo chmod o+rx /sbin/dhclient-script install_package ncat else exit_distro_not_supported "installing dhclient and ncat packages"