From owner-freebsd-bugs Mon Nov 18 15: 0: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9255337B401 for ; Mon, 18 Nov 2002 15:00:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7EB543E8A for ; Mon, 18 Nov 2002 15:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIN03x3053887 for ; Mon, 18 Nov 2002 15:00:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIN031X053886; Mon, 18 Nov 2002 15:00:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE46F37B401 for ; Mon, 18 Nov 2002 14:53:38 -0800 (PST) Received: from smartie.xs4all.nl (smartie.xs4all.nl [213.84.1.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id E13B543E42 for ; Mon, 18 Nov 2002 14:53:37 -0800 (PST) (envelope-from martijn@smartie.xs4all.nl) Received: from obelix.in-10.sillywalks.org (martijn@localhost.sillywalks.org [127.0.0.1]) by smartie.xs4all.nl (8.12.6/8.12.6) with ESMTP id gAIMraE0099390 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 18 Nov 2002 23:53:36 +0100 (CET) (envelope-from martijn@obelix.in-10.sillywalks.org) Received: (from martijn@localhost) by obelix.in-10.sillywalks.org (8.12.6/8.12.6/Submit) id gAIMrZfO099389; Mon, 18 Nov 2002 23:53:35 +0100 (CET) Message-Id: <200211182253.gAIMrZfO099389@obelix.in-10.sillywalks.org> Date: Mon, 18 Nov 2002 23:53:35 +0100 (CET) From: Martijn Pronk Reply-To: Martijn Pronk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/45461: rpc.lockd silently dies when rpc.statd is unavailable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45461 >Category: bin >Synopsis: rpc.lockd silently dies when rpc.statd is unavailable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 15:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Martijn Pronk >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD boekje 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Fri Nov 15 03:55:11 CET 2002 martijn@boekje:/home/obj/home/src/sys/BOEKJE i386 >Description: While trying to do some testing with lockd, on a machine that normally does not run lockd + statd, I had some trouble testing locking over NFS. I could start rpc.lockd, but it immeadiately stops running. After some retries and manual page reading I started looking at the code. The code registers some rpc ports, does a fork and then tries to connect to the local rpc.statd. If it can't connect to statd it exits whithout logging anything. The manpage does mention that rpc.lockd is commonly used in conjunction with rpc.statd, but not that it's absolutely required. If rpc.lockd is enabled from rc.conf this problem is not visible, the rc scripts do the dependancies correctly. >How-To-Repeat: Start rpc.lockd while rpc.statd is not running. >Fix: One of the following options: 1. Document the current behaviour in the manualpage 2. Let the program shout loudly about the missing rpc.statd >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message