summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/DSUpdate.pm.in
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2010-04-06 09:41:01 -0700
committerNathan Kinder <nkinder@redhat.com>2010-04-06 09:41:01 -0700
commite72f8af0bec1c9eddd09e3a897b14af2c3330cb8 (patch)
tree15363d5604fdf00963f01a0cdad8f6e3c903d4b7 /ldap/admin/src/scripts/DSUpdate.pm.in
parent1f56658556ff4987a0f870b279dbb4dccecfff8d (diff)
downloadds-e72f8af0bec1c9eddd09e3a897b14af2c3330cb8.tar.gz
ds-e72f8af0bec1c9eddd09e3a897b14af2c3330cb8.tar.xz
ds-e72f8af0bec1c9eddd09e3a897b14af2c3330cb8.zip
Bug 572355 - Label instance files and ports during upgrade.
The instance files and ports need to be labelled with the proper SELinux contexts during an upgrade. This patch exports the routine used to update the policy during regular setup so we can use it when upgrading.
Diffstat (limited to 'ldap/admin/src/scripts/DSUpdate.pm.in')
-rw-r--r--ldap/admin/src/scripts/DSUpdate.pm.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/DSUpdate.pm.in b/ldap/admin/src/scripts/DSUpdate.pm.in
index 3241a582..7e92bb83 100644
--- a/ldap/admin/src/scripts/DSUpdate.pm.in
+++ b/ldap/admin/src/scripts/DSUpdate.pm.in
@@ -47,7 +47,7 @@ package DSUpdate;
use DSUtil;
use Inf;
use FileConn;
-use DSCreate qw(setDefaults createInstanceScripts makeOtherConfigFiles);
+use DSCreate qw(setDefaults createInstanceScripts makeOtherConfigFiles updateSelinuxPolicy);
use File::Basename qw(basename dirname);
@@ -405,6 +405,9 @@ sub updateDSInstance {
}
$conn->close();
+
+ updateSelinuxPolicy($inf);
+
return @errs;
}