Bug 224448 - net/nss-pam-ldapd: init script should wait for slapd
Summary: net/nss-pam-ldapd: init script should wait for slapd
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-19 07:49 UTC by Matthias Pfaller
Modified: 2017-12-19 14:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Pfaller 2017-12-19 07:49:32 UTC
nslcd should be started after slapd:
@@ -3,7 +3,7 @@
 # $FreeBSD: head/net/nss-pam-ldapd/files/nslcd.in 432185 2017-01-23 02:20:50Z zi $
 #
 # PROVIDE: nslcd
-# REQUIRE: NETWORKING ldconfig resolv kstart
+# REQUIRE: NETWORKING slapd ldconfig resolv kstart
 # BEFORE: syslogd
 # KEYWORD: shutdown
 #

Without this patch I'm getting can't contact ldap server error messages when booting.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-12-19 14:41:24 UTC
A commit references this bug:

Author: zi
Date: Tue Dec 19 14:40:35 UTC 2017
New revision: 456718
URL: https://svnweb.freebsd.org/changeset/ports/456718

Log:
  - Add slapd to REQUIRES list for scenarios where the ldap server is on localhost

  PR:		224448
  Submitted by:	matthias.pfaller@familie-pfaller.de

Changes:
  head/net/nss-pam-ldapd/Makefile
  head/net/nss-pam-ldapd/files/nslcd.in