From owner-freebsd-ports-bugs@freebsd.org Fri Jul 8 08:33:55 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AA27B8050E for ; Fri, 8 Jul 2016 08:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 201D51560 for ; Fri, 8 Jul 2016 08:33:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u688Xsa7017713 for ; Fri, 8 Jul 2016 08:33:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210912] net/nss-pam-ldapd: nslcd daemon conflict with other daemons Date: Fri, 08 Jul 2016 08:33:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marc.siebeneicher@trivago.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zi@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 08:33:55 -0000 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.=