summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/DSCreate.pm.in
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2010-04-21 13:55:33 -0700
committerNathan Kinder <nkinder@redhat.com>2010-04-21 13:55:33 -0700
commitb70739589cfaa7a8da3faffcc13465d521e7ad20 (patch)
tree3251940a8a49996fa1ba375ffd7cddf6bb688f97 /ldap/admin/src/scripts/DSCreate.pm.in
parent288953655c3af087c82007d630cf8fb6558e9a9e (diff)
downloadds-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 'ldap/admin/src/scripts/DSCreate.pm.in')
0 files changed, 0 insertions, 0 deletions