conf/154554: statd and lockd fail to start
Jim Pirzyk
pirzyk at FreeBSD.org
Sun Feb 6 16:50:10 UTC 2011
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 at 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 at pirzyk.org =
--------------------------------------------------
_'\<,_
(*)/ (*) I'd rather be out biking.
--- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $
__o jim at 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
More information about the freebsd-bugs
mailing list