diff options
| author | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-03-04 09:17:46 +0530 |
|---|---|---|
| committer | Serguei Bezverkhi <sbezverk@cisco.com> | 2016-04-11 18:47:51 -0400 |
| commit | 7595dfce783f76f09dd71c50da795a7fadea0142 (patch) | |
| tree | 21328a6797a37672a5fe008609c540c444c4fc78 /docker/swift/swift-base/rootwrap.conf | |
| parent | 05e92db2adaeb8fbd3b94e533aacbe38eac1cb81 (diff) | |
| download | kolla-7595dfce783f76f09dd71c50da795a7fadea0142.tar.gz kolla-7595dfce783f76f09dd71c50da795a7fadea0142.zip | |
Drop root for swift
Updates to ensure commands run in the swift containers
are done as the 'swift' user rather than root.
Change-Id: I8c5a12e24b9940200241dbe09d6bde8f1cc1cf05
Closes-Bug: #1553895
Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com>
Diffstat (limited to 'docker/swift/swift-base/rootwrap.conf')
| -rw-r--r-- | docker/swift/swift-base/rootwrap.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docker/swift/swift-base/rootwrap.conf b/docker/swift/swift-base/rootwrap.conf new file mode 100644 index 000000000..270dcc974 --- /dev/null +++ b/docker/swift/swift-base/rootwrap.conf @@ -0,0 +1,34 @@ +# Configuration for swift-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/swift/rootwrap.d,/usr/share/swift/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 + +[xenapi] +# XenAPI configuration is only required by the L2 agent if it is to +# target a XenServer/XCP compute host's dom0. +xenapi_connection_url=<None> +xenapi_connection_username=root +xenapi_connection_password=<None> |
