Some distros (Debian) don't have sbin in PATH for non-root users. Nova (and possibly other services) assumes that it can invoke "sysctl" without sudo. Change-Id: Iced21fc1378af309fb49688f9b63f2cd8383e304 Closes-Bug: #1300800
@@ -34,6 +34,9 @@ export LC_ALL
# Make sure umask is sane
umask 022
+# Not all distros have sbin in PATH for regular users.
+PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
+
# Keep track of the devstack directory
TOP_DIR=$(cd $(dirname "$0") && pwd)