diff options
author | Nathan Kinder <nkinder@redhat.com> | 2010-04-21 13:55:33 -0700 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2010-04-21 13:55:33 -0700 |
commit | b70739589cfaa7a8da3faffcc13465d521e7ad20 (patch) | |
tree | 3251940a8a49996fa1ba375ffd7cddf6bb688f97 /Makefile.am | |
parent | 288953655c3af087c82007d630cf8fb6558e9a9e (diff) | |
download | ds-b70739589cfaa7a8da3faffcc13465d521e7ad20.tar.gz ds-b70739589cfaa7a8da3faffcc13465d521e7ad20.tar.xz ds-b70739589cfaa7a8da3faffcc13465d521e7ad20.zip |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |