diff options
author | Tomas Babej <tbabej@redhat.com> | 2015-09-17 17:09:33 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-09-22 13:17:25 +0200 |
commit | cfeea91828ad47e1d321947d04f5f6de0e3d1c8c (patch) | |
tree | 762e0650600c085838739e2dbe6f65df6cb17f55 /ipaplatform/base | |
parent | 86edd6abeb9749e159a529b83cfce6443fff4ba5 (diff) | |
download | freeipa-cfeea91828ad47e1d321947d04f5f6de0e3d1c8c.tar.gz freeipa-cfeea91828ad47e1d321947d04f5f6de0e3d1c8c.tar.xz freeipa-cfeea91828ad47e1d321947d04f5f6de0e3d1c8c.zip |
ipa-backup: Add mechanism to store empty directory structure
Certain subcomponents of IPA, such as Dogtag, cannot function if
non-critical directories (such as log directories) have not been
stored in the backup.
This patch implements storage of selected empty directories,
while preserving attributes and SELinux context.
https://fedorahosted.org/freeipa/ticket/5297
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaplatform/base')
-rw-r--r-- | ipaplatform/base/paths.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 3930c93fc..97c330c31 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -328,6 +328,9 @@ class BasePathNamespace(object): TOMCAT_CA_DIR = "/var/log/pki/pki-tomcat/ca" TOMCAT_CA_ARCHIVE_DIR = "/var/log/pki/pki-tomcat/ca/archive" TOMCAT_SIGNEDAUDIT_DIR = "/var/log/pki/pki-tomcat/ca/signedAudit" + TOMCAT_KRA_DIR = "/var/log/pki/pki-tomcat/kra" + TOMCAT_KRA_ARCHIVE_DIR = "/var/log/pki/pki-tomcat/kra/archive" + TOMCAT_KRA_SIGNEDAUDIT_DIR = "/var/log/pki/pki-tomcat/kra/signedAudit" LOG_SECURE = "/var/log/secure" NAMED_RUN = "/var/named/data/named.run" VAR_OPENDNSSEC_DIR = "/var/opendnssec" |