[nss-pam-ldapd] Try to start after BIND and directory servers

Nalin Dahyabhai nalin at fedoraproject.org
Fri Jan 18 20:30:27 UTC 2013


commit f6d664f746d4540f7ccdd7a3a4e841c7d87da2f0
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Fri Jan 18 11:31:42 2013 -0500

    Try to start after BIND and directory servers
    
    Add "After=named.service dirsrv.target slapd.service" to nslcd.service,
    to make sure that nslcd is started after them if they're also running on
    the local system (#832706).

 nslcd.service      |    1 +
 nss-pam-ldapd.spec |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/nslcd.service b/nslcd.service
index 6c0d71b..747a528 100644
--- a/nslcd.service
+++ b/nslcd.service
@@ -9,3 +9,4 @@ ExecStart=/usr/sbin/nslcd
 
 [Install]
 WantedBy=multi-user.target
+After=named.service dirsrv.target slapd.service
diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec
index f5bd98d..794acb5 100644
--- a/nss-pam-ldapd.spec
+++ b/nss-pam-ldapd.spec
@@ -304,6 +304,9 @@ exit 0
 * Fri Jan 18 2013 Nalin Dahyabhai <nalin at redhat.com> 0.8.12-1
 - update to 0.8.12
 - make building pam_ldap conditional on the targeted release
+- add "After=named.service dirsrv.target slapd.service" to nslcd.service,
+  to make sure that nslcd is started after them if they're to be started
+  on the local system (#832706)
 
 * Sun Sep 09 2012 Jakub Hrozek <jhrozek at redhat.com> 0.7.17-1
 - new upstream release 0.7.17


More information about the scm-commits mailing list