swift/swift/common
Ondřej Nový 0dc3fd6d0b Set owner of drive-audit recon cache to swift user
Fixies this problem:
* swift-drive-audit needs to be run by root, because only root have
  "umount" permission
* swift-object servers typically runs as user swift
* if swift-drive-audit is run by root, /var/cache/swift/drive.recon is
  owned by root, with 0o600
* recon middleware (inside swift-object-server) can't read this cache
  file: swift-object: Error reading recon cache file

This patch adds "user" option to drive-audit config file. Recon cache
is chowned to this user.
(cherry picked from commit 9847796)

Change-Id: Ibf20543ee690b7c5a37fabd1540fd5c0c7b638c9
2016-11-18 12:20:47 +01:00
..
middleware Add a configurable URL base to staticweb 2016-10-26 12:42:05 +00:00
ring Merge "Fix EC ring validation at ring reload" 2016-08-27 01:01:24 +00:00
__init__.py Start using Hacking 2013-07-15 11:41:58 +02:00
base_storage_server.py Add server type in OPTIONS response 2015-01-30 00:25:28 +05:30
bufferedhttp.py Python3 eventlet patched httplib _MAXHEADERS 2016-07-21 04:21:36 +00:00
constraints.py Merge "Fixed inconsistencies in docstrings" 2016-07-11 21:23:29 +00:00
container_sync_realms.py Turn on H703, so our translators don't punch us 2016-05-23 18:46:29 +00:00
daemon.py Change schedule priority of daemon/server in config 2016-08-10 23:56:15 +02:00
db.py Merge "swift-[account|container]-info when disk is full" 2016-04-22 17:31:09 +00:00
db_replicator.py Simplify chained comparison 2016-07-15 19:11:47 +00:00
direct_client.py Add end_marker and reverse options to direct_client 2016-07-29 09:24:05 +10:00
exceptions.py Fix EC ring validation at ring reload 2016-07-24 21:49:57 -07:00
header_key_dict.py Move HeaderKeyDict to avoid an inline import 2016-03-07 12:26:48 -08:00
http.py Fix pep8 E265 warning of hacking 0.10 2015-07-30 09:33:18 +02:00
internal_client.py Merge "Fixed inconsistencies in docstrings" 2016-07-11 21:23:29 +00:00
linkat.py Make object creation more atomic in Linux 2016-08-24 14:56:00 +05:30
manager.py fix string formatting in manager 2016-09-13 15:15:13 -07:00
memcached.py Tighten memcached tests 2016-07-07 15:34:44 -04:00
request_helpers.py Fix stale docstring in SegmentedIterable. 2016-08-03 16:46:48 -07:00
splice.py Replace reduce and unichr , these are no longer available in py3 2015-07-09 21:56:29 +05:30
storage_policy.py Fix EC ring validation at ring reload 2016-07-24 21:49:57 -07:00
swob.py Bring "egregious range request" comment in line with reality 2016-09-12 15:02:43 -07:00
utils.py Set owner of drive-audit recon cache to swift user 2016-11-18 12:20:47 +01:00
wsgi.py Merge "monkey_patch_mimetools() now does nothing on py3" 2016-08-18 10:53:48 +00:00