diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-09-07 00:35:40 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-09-07 00:59:05 +0200 |
commit | 76b3ae5062aef22eece89117a28bd9b86ddef92d (patch) | |
tree | 06b115b3ba2962742ade0f5c0caf44d15c8e7340 /base/server/upgrade | |
parent | e457cb8367f39562a844229ddb9da9c3a46d9611 (diff) | |
download | pki-76b3ae5062aef22eece89117a28bd9b86ddef92d.tar.gz pki-76b3ae5062aef22eece89117a28bd9b86ddef92d.tar.xz pki-76b3ae5062aef22eece89117a28bd9b86ddef92d.zip |
Removed FixSELinuxContexts upgrade script.
The FixSELinuxContexts upgrade script has been removed temporarily
due to a problem importing selinux library during RPM upgrade.
The FixDeploymentDescriptor script number has been changed
accordingly.
https://fedorahosted.org/pki/ticket/2452
Diffstat (limited to 'base/server/upgrade')
-rw-r--r-- | base/server/upgrade/10.3.5/02-FixDeploymentDescriptor (renamed from base/server/upgrade/10.3.5/03-FixDeploymentDescriptor) | 0 | ||||
-rw-r--r-- | base/server/upgrade/10.3.5/02-FixSELinuxContexts | 36 |
2 files changed, 0 insertions, 36 deletions
diff --git a/base/server/upgrade/10.3.5/03-FixDeploymentDescriptor b/base/server/upgrade/10.3.5/02-FixDeploymentDescriptor index 27c895980..27c895980 100644 --- a/base/server/upgrade/10.3.5/03-FixDeploymentDescriptor +++ b/base/server/upgrade/10.3.5/02-FixDeploymentDescriptor diff --git a/base/server/upgrade/10.3.5/02-FixSELinuxContexts b/base/server/upgrade/10.3.5/02-FixSELinuxContexts deleted file mode 100644 index f3d981efa..000000000 --- a/base/server/upgrade/10.3.5/02-FixSELinuxContexts +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/python -# Authors: -# Endi S. Dewata <edewata@redhat.com> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Copyright (C) 2016 Red Hat, Inc. -# All rights reserved. - -from __future__ import absolute_import -import selinux -import pki.server.upgrade - - -class FixSELinuxContexts(pki.server.upgrade.PKIServerUpgradeScriptlet): - - def __init__(self): - super(FixSELinuxContexts, self).__init__() - self.message = 'Fix SELinux contexts' - - def upgrade_instance(self, instance): - - selinux.restorecon(instance.base_dir, True) - selinux.restorecon(instance.conf_dir, True) - selinux.restorecon(instance.log_dir, True) |