Date: Sun, 6 Feb 2011 11:30:44 -0500 From: Jim Pirzyk <pirzyk@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/154554: statd and lockd fail to start Message-ID: <D1A0E657-254F-4836-8203-23933CB95430@freebsd.org> Resent-Message-ID: <201102061650.p16GoA8i011116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1A0E657-254F-4836-8203-23933CB95430>