[Bug 210912] net/nss-pam-ldapd: nslcd daemon conflict with other daemons
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 8 08:33:55 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210912
Bug ID: 210912
Summary: net/nss-pam-ldapd: nslcd daemon conflict with other
daemons
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: zi at FreeBSD.org
Reporter: marc.siebeneicher at trivago.com
Assignee: zi at FreeBSD.org
Flags: maintainer-feedback?(zi at FreeBSD.org)
nslcd conflict with other daemon if that started before nslcd. In this case you
get the following error
# service nslcd start
nslcd already running? (pid=6035 6856).
The pid id is related to the other running daemon.
The working solution for us is to add the pidfile definition to the
head/net/nss-pam-ldapd/files/nslcd.in service script:
[...]
command="/usr/sbin/daemon";
pidfile="/var/run/${name}.pid"
start_precmd=nslcd_prestart
start_cmd=nslcd_start
status_cmd=nslcd_status
stop_cmd=nslcd_stop
[...]
The issue founded on a FreeBSD 10.3 system:
# dmesg
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
[...]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list