From f6d664f746d4540f7ccdd7a3a4e841c7d87da2f0 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Fri, 18 Jan 2013 11:31:42 -0500 Subject: [PATCH] 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(+) 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 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 0.7.17-1 - new upstream release 0.7.17