Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2006 12:11:24 GMT
From:      Jonathan Liu<Net147@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/107316: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd
Message-ID:  <200612291211.kBTCBOdO098500@www.freebsd.org>
Resent-Message-ID: <200612291220.kBTCKCRh015890@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107316
>Category:       bin
>Synopsis:       [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 29 12:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Liu
>Release:        6.1-SECURITY
>Organization:
>Environment:
FreeBSD freebsd 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28 05:36:36 UTC 2006     root@builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386
>Description:
# /etc/rc.d/nfslocking restart
Stopping statd.
Starting statd.

As you can see, restarting nfslocking does only restarts statd when it should restart lockd as well.

This can unexpectedly stop the NFS file locking daemon from working when NFS clients try to use it. This is clearly evident from the output of "rpcbind -p" which doesn't show nlockmgr listed after the restart is complete.
>How-To-Repeat:
# /etc/rc.d/nfslocking restart
>Fix:
Workaround for the moment:
# /etc/rc.d/nfslocking stop
Stopping statd.
Stopping lockd.
# /etc/rc.d/nfslocking start
Starting statd.
Starting lockd.
>Release-Note:
>Audit-Trail:
>Unformatted:



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