Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 17:33:58 +0100 (CET)
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Lehmann <oliver@FreeBSD.org>
Subject:   bin/106873: rc.d/nfslocking does not properly restart
Message-ID:  <200612181633.kBIGXwRZ047938@kartoffel.salatschuessel.net>
Resent-Message-ID: <200612181700.kBIH0TBK034962@freefall.freebsd.org>

index | next in thread | raw e-mail


>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@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:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612181633.kBIGXwRZ047938>