From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 6 16:50:10 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F2A6106566C for ; Sun, 6 Feb 2011 16:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43D7A8FC12 for ; Sun, 6 Feb 2011 16:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p16GoAcY011117 for ; Sun, 6 Feb 2011 16:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p16GoA8i011116; Sun, 6 Feb 2011 16:50:10 GMT (envelope-from gnats) Resent-Date: Sun, 6 Feb 2011 16:50:10 GMT Resent-Message-Id: <201102061650.p16GoA8i011116@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jim Pirzyk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 826641065673 for ; Sun, 6 Feb 2011 16:42:54 +0000 (UTC) (envelope-from pirzyk@freebsd.org) Received: from zoot.intenex.net (zoot.intenex.net [216.93.182.12]) by mx1.freebsd.org (Postfix) with ESMTP id 65BDB8FC18 for ; Sun, 6 Feb 2011 16:42:54 +0000 (UTC) Received: from [192.168.1.34] (209-6-36-209.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com [209.6.36.209]) (authenticated bits=0) by zoot.intenex.net (8.13.8/8.13.8) with ESMTP id p16GUsnq008873 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 6 Feb 2011 10:30:55 -0600 Message-Id: Date: Sun, 6 Feb 2011 11:30:44 -0500 From: Jim Pirzyk To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: conf/154554: statd and lockd fail to start X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 16:50:10 -0000 Note: There was a bad value `no=20' for the field `>Confidential:'. It was set to the default value of `yes'. >Number: 154554 >Category: conf >Synopsis: statd and lockd fail to start >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 06 16:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jim Pirzyk >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD freebsd.home.pirzyk.org 8.1-RELEASE FreeBSD 8.1-RELEASE = #0: Mon Jul 19 02:36:49 UTC 2010 = root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 =20 >Description: the lockd and statd rc.d scripts do not detect that nfsclient = has been enabled, so they do not start. The sh function 'checkyesno' defined in /etc/rc.subr does not = read the /etc/rc.conf.d/nfsclient nor /etc/rc.conf.d/nfsserver files. >How-To-Repeat: Create the following files: /etc/rc.conf.d/nfsclient nfs_client_enable=3D"YES" /etc/rc.conf.d/lockd rpc_lockd_enable=3D"YES" /etc/rc.conf.d/statd rpc_statd_enable=3D"YES" >Fix: --- /etc/rc.d/statd.orig 2011-02-06 11:21:04.000000000 -0500 +++ /etc/rc.d/statd 2011-02-05 13:33:15.000000000 -0500 @@ -40,4 +40,6 @@ } =20 load_rc_config $name +load_rc_config nfsclient +load_rc_config nfsserver run_rc_command $1 --- /etc/rc.d/lockd.orig 2011-02-06 11:20:57.000000000 -0500 +++ /etc/rc.d/lockd 2011-02-05 13:31:35.000000000 -0500 @@ -40,4 +40,6 @@ } =20 load_rc_config $name +load_rc_config nfsclient +load_rc_config nfsserver run_rc_command $1 - JimP --- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $ __o jim@pirzyk.org = -------------------------------------------------- _'\<,_ (*)/ (*) I'd rather be out biking. --- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $ __o jim@pirzyk.org = -------------------------------------------------- _'\<,_ (*)/ (*) I'd rather be out biking. --Apple-Mail-4-875064881 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEVAwUBTU7MtBMKjZgDurkjAQJ/2AgArxUJz4AgGAhwOvIASgLpkk3f2i/8EukK zRcuaGyuRuMybUwuaTM6gFV4ROWKvttH/U3UIn1OcpznNa28DYosyUbVdSqRXE9J 5KoFpfVUvz6EOiP+5Za4yUkejkFN/lSeoV6Biq3MGrNwVYOG5GHi7CP8miYUnsLv 2Wul9eX1SFsYKuNISS74frWI60fQTjzAmvEJguV36byJliowjh6fj0+vC3kYqAEF z08qlgLNezjcBRLRe76n2v39JL+WPu8d2aSxTsttS8+aEzabEAIxzJsxopWGHxL8 Q/WgqULqiZmUUkND25VpApNKzwOUrlll95hWjVdhYXUA+mHFzrUOjw== =qjtr -----END PGP SIGNATURE----- --Apple-Mail-4-875064881-- >Release-Note: >Audit-Trail: >Unformatted: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4-875064881 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii