From 01fa437b94e95194ef451f50b0cb6eefc3030759 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 19 Jul 2017 17:19:05 +0200 Subject: [PATCH] Add a default rootwrap.conf file. This file is needed when using the Cinder backend driver; it enables it to operate properly. Change-Id: I174ce58166cdf585e88f2f48e45c6c96bb781251 Co-authored-by: Mike Abrams --- etc/rootwrap.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 etc/rootwrap.conf diff --git a/etc/rootwrap.conf b/etc/rootwrap.conf new file mode 100644 index 0000000000..7ba70fbacc --- /dev/null +++ b/etc/rootwrap.conf @@ -0,0 +1,27 @@ +# Configuration for glance-rootwrap +# This file should be owned by (and only-writable 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/glance/rootwrap.d,/usr/share/glance/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, local0, local1... +# 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