From 974c29cf5af06f319bd290367b34f858d09a4d1c Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Wed, 19 Dec 2012 14:06:12 +0100 Subject: 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 --- etc/oslo/rootwrap.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 etc/oslo/rootwrap.conf (limited to 'etc') 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 -- cgit