bin/106873: rc.d/nfslocking does not properly restart

Oliver Lehmann oliver at FreeBSD.org
Mon Dec 18 09:00:34 PST 2006


>Number:         106873
>Category:       bin
>Synopsis:       rc.d/nfslocking does not properly restart
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 18 17:00:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Sep 11 09:55:49 CEST 2006 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.1/usr/src/sys/KARTOFFEL amd64


>Description:
	/etc/rc.d/nfslocking restart
	will only restart rpc.statd. This is because after restarting rpc.statd
	_rc_restart_done got set to true by rc.subr.
>How-To-Repeat:
>Fix:
	To solve this, just unset _rc_restart_done before restarting rpc.lockd

--- nfslocking.old      Mon Dec 18 17:33:30 2006
+++ nfslocking  Mon Dec 18 17:24:53 2006
@@ -32,6 +32,7 @@
 
 # rpc.lockd
 #
+unset _rc_restart_done
 name="lockd"
 rcvar=rpc_lockd_enable
 command="/usr/sbin/rpc.${name}"

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list