Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jul 2016 08:33:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210912] net/nss-pam-ldapd: nslcd daemon conflict with other daemons
Message-ID:  <bug-210912-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210912

            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@FreeBSD.org
          Reporter: marc.siebeneicher@trivago.com
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

nslcd conflict with other daemon if that started before nslcd. In this case=
 you
get the following error=20

# service nslcd start
nslcd already running?  (pid=3D6035 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=3D"/usr/sbin/daemon";
pidfile=3D"/var/run/${name}.pid"
start_precmd=3Dnslcd_prestart
start_cmd=3Dnslcd_start
status_cmd=3Dnslcd_status
stop_cmd=3Dnslcd_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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
[...]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210912-13>