summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorThierry Carrez <thierry@openstack.org>2012-12-19 14:06:12 +0100
committerThierry Carrez <thierry@openstack.org>2012-12-20 10:06:05 +0100
commit974c29cf5af06f319bd290367b34f858d09a4d1c (patch)
tree3c12d60acf0127845fc03004cd038e5de0647ecb /etc
parent8888ad0126f25c91b90f7bc4c2440da0bf35ec1d (diff)
downloadoslo-974c29cf5af06f319bd290367b34f858d09a4d1c.tar.gz
oslo-974c29cf5af06f319bd290367b34f858d09a4d1c.tar.xz
oslo-974c29cf5af06f319bd290367b34f858d09a4d1c.zip
Move rootwrap code to openstack.common
Copies current nova-rootwrap code to openstack.common, so that it can be reused by Cinder and Quantum. Implements blueprint common-rootwrap. Before it can be used in projects, update.py needs to grow the capability to deploy files in bin/ and etc/, as well as replacing a placeholder text by the destination project name in source files and binary names. In this proposed version, the placeholder text is "oslo". Change-Id: I8655d5b3cccacd1cc2225aa539339fb478615422
Diffstat (limited to 'etc')
-rw-r--r--etc/oslo/rootwrap.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/etc/oslo/rootwrap.conf b/etc/oslo/rootwrap.conf
new file mode 100644
index 0000000..6a13828
--- /dev/null
+++ b/etc/oslo/rootwrap.conf
@@ -0,0 +1,27 @@
+# Configuration for oslo-rootwrap
+# This file should be owned by (and only-writeable by) the root user
+
+[DEFAULT]
+# List of directories to load filter definitions from (separated by ',').
+# These directories MUST all be only writeable by root !
+filters_path=/etc/oslo/rootwrap.d,/usr/share/oslo/rootwrap
+
+# List of directories to search executables in, in case filters do not
+# 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
+
+# Enable logging to syslog
+# Default value is False
+use_syslog=False
+
+# Which syslog facility to use.
+# Valid values include auth, authpriv, syslog, user0, user1...
+# Default value is 'syslog'
+syslog_log_facility=syslog
+
+# Which messages to log.
+# INFO means log all usage
+# ERROR means only log unsuccessful attempts
+syslog_log_level=ERROR