From b70739589cfaa7a8da3faffcc13465d521e7ad20 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Wed, 21 Apr 2010 13:55:33 -0700 Subject: Bug 584156 - Remove ldapi socket file during upgrade The ldapi socket file is only removed when ns-slapd is started since the server does not have permission to remove it at shutdown. The causes issues when upgrading to a recetn version that has SELinux policy since the newly confined ns-slapd daemon will not be allowed to remove the old ldapi socket file since it doesn't have a dirsrv specific label. To deal with this, I've added an upgrade scriptlet that will remove the ldapi socket file. When the newly confined ns-slapd starts up, it will create a new socket file with the proper label. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 6cfbef8f..9d1bee6b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -407,6 +407,7 @@ dist_man_MANS = man/man1/dbscan.1 \ #------------------------ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \ ldap/admin/src/scripts/exampleupdate.ldif \ + ldap/admin/src/scripts/10cleanupldapi.pl \ ldap/admin/src/scripts/10delautodnsuffix.pl \ ldap/admin/src/scripts/10fixrundir.pl \ ldap/admin/src/scripts/50addchainingsaslpwroles.ldif \ -- cgit