Browse code

Ensure sbin is in PATH.

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

Angus Lees authored on 2014/07/21 14:35:34
Showing 1 changed files
... ...
@@ -34,6 +34,9 @@ export LC_ALL
34 34
 # Make sure umask is sane
35 35
 umask 022
36 36
 
37
+# Not all distros have sbin in PATH for regular users.
38
+PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
39
+
37 40
 # Keep track of the devstack directory
38 41
 TOP_DIR=$(cd $(dirname "$0") && pwd)
39 42