Enhancement #1722

Feature #1660: Migrate NethService to NethServer

Directory: wait for slapd and nslcd complete restart

Added by Davide Principi over 8 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:03/05/2013
Priority:NormalDue date:03/05/2013
Assignee:-% Done:

100%

Category:nethserver-directory
Target version:v6.4-alpha2
Resolution: NEEDINFO:

Description

Restarting slapd causes a temporary failure of passwd and group databases lookups. While nslcd daemon tries to reconnect the ldap server user and group names are not resolved.

We must ensure the ldap searches are working correctly before returning from the adjust-services action, otherwise the subsequent actions may fail whenever they try to access user or group databases.

This situations occurs during migration-import event:
  • certificate-update event is raised by nethserver-base, which restarts slapd
  • nethserver-samba-migrate-sam action is started which does ldap and passwd queries but nslcd is still disconnected from ldap.

This enhancement must ensure all services are working correctly after slapd restarts and before giving back control to another action or event.


Related issues

Related to NethServer 6 - Enhancement #1632: openldap: implement Certificate management CLOSED 01/22/2013 01/22/2013
Related to NethServer 6 - Bug #1981: nethserver-directory: libnss test FAILED CLOSED 05/28/2013 05/28/2013

Associated revisions

Revision 40602b61
Added by Davide Principi over 8 years ago

certificate-update event: use nethserver-directory-restart action to restart slapd properly. Refs #1722

Revision ad427175
Added by Davide Principi about 8 years ago

nethserver-mail-server-conf action: restart slapd cleanly. Refs #1747 #1722

History

#1 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 50 to 100

#2 Updated by Davide Principi over 8 years ago

  • Status changed from MODIFIED to CLOSED

#3 Updated by Davide Principi over 8 years ago

State set to closed on NethServer 6.4 alpha2 release

Also available in: Atom PDF