From shaoz@activesky.com  Fri Apr 11 00:18:30 2003
Return-Path: <shaoz@activesky.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6934237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 00:18:30 -0700 (PDT)
Received: from osprey.activesky.com.au (osprey.activesky.com.au [202.92.123.99])
	by mx1.FreeBSD.org (Postfix) with SMTP id 8571F43FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 00:18:28 -0700 (PDT)
	(envelope-from shaoz@activesky.com)
Received: (qmail 28340 invoked by uid 10018); 11 Apr 2003 07:18:27 -0000
Received: from shaoz@activesky.com by osprey.activesky.com.au by uid 0 with qmail-scanner-1.16 
 (uvscan: v4.1.60/v4247.  Clear:. 
 Processed in 0.254033 secs); 11 Apr 2003 07:18:27 -0000
Received: from unknown (HELO shaoz.activesky.com.au) (203.185.212.194)
  by osprey.activesky.com.au with SMTP; 11 Apr 2003 07:18:27 -0000
Received: from shaoz.activesky.com.au (localhost [127.0.0.1])
	by shaoz.activesky.com.au (8.12.6/8.12.6) with ESMTP id h3B7IJQX027996
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Apr 2003 17:18:19 +1000 (EST)
	(envelope-from shaoz@shaoz.activesky.com.au)
Received: (from shaoz@localhost)
	by shaoz.activesky.com.au (8.12.6/8.12.6/Submit) id h3B7IIbJ027995;
	Fri, 11 Apr 2003 17:18:18 +1000 (EST)
	(envelope-from shaoz)
Message-Id: <200304110718.h3B7IIbJ027995@shaoz.activesky.com.au>
Date: Fri, 11 Apr 2003 17:18:18 +1000 (EST)
From: Shao Zhang <shao@cia.com.au>
Reply-To: Shao Zhang <shao@cia.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: NFS file locking as client deos not working
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50807
>Category:       kern
>Synopsis:       NFS file locking as client deos not working
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 00:20:08 PDT 2003
>Closed-Date:    Fri Oct 10 22:29:40 PDT 2003
>Last-Modified:  Fri Oct 10 22:29:40 PDT 2003
>Originator:     Shao Zhang
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD shaoz.activesky.com.au 5.0-RELEASE FreeBSD 5.0-RELEASE #3: Thu Jan 23 15:01:10 EST 2003 root@shaoz.activesky.com.au:/usr/obj/usr/src/sys/SHAO i386


	
>Description:
	When running the system as an NFS client, file locking does not work at
all. The call to fcntl(id, F_SETLK, ...) returns errno 45. The nfs server used
is a Redhat Linux 7, with kernel 2.4.2. I have verified that it works fine in
both 4.5-RELEASE and 4.6-RELEASE. I have the following entries in my rc.conf:

nfs_client_enable="YES"         # This host is an NFS client (or NO).
nfs_access_cache="4"            # Client cache timeout in seconds
nfs_server_enable="NO"          # This host is an NFS server (or NO).
nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
nfs_privport="YES"              # Provide NFS only on secure port (or NO).
nfs_bufpackets="DEFAULT"        # bufspace (in packets) for client (or DEFAULT)

>How-To-Repeat:
	Using bogofilter 0.11.1.8 can verify the problem:
	bogofilter -s < ~/Mail/spam
	Can't open good (/home/shaoz/.bogofilter/goodlist.db), errno 45, Operation not supported

	An strace on bogofilter shows:

	fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=0, st_size=0, ...})   = 0
pread(3, "\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\10\0\0\0\0\2\0\0\0\t\0\0"..., 512, 0) =
512
fcntl(3, F_SETLK, {type=0x560 /* F_??? */, whence=0x26 /* SEEK_??? */, start=1,
len=0}) = -1 EOPNOTSUPP (Operation not supported)
close(3)                                = 0
break(0x809b000)                        = 0
write(2, 0xbfbfeab0, 89Can't open good (/home/shaoz/.bogofilter/goodlist.db),
errno 45, Operation not supported
)                = 89
exit(2)                                 = ?

	Below is the complate kdump for bogofilter:
   817 ktrace   RET   ktrace 0
   817 ktrace   CALL  execve(0xbfbfefb0,0xbfbff4a4,0xbfbff4b0)
   817 ktrace   NAMI  "/sbin/bogofilter"
   817 ktrace   RET   execve -1 errno 2 No such file or directory
   817 ktrace   CALL  execve(0xbfbfefb0,0xbfbff4a4,0xbfbff4b0)
   817 ktrace   NAMI  "/bin/bogofilter"
   817 ktrace   RET   execve -1 errno 2 No such file or directory
   817 ktrace   CALL  execve(0xbfbfefb0,0xbfbff4a4,0xbfbff4b0)
   817 ktrace   NAMI  "/usr/bin/bogofilter"
   817 ktrace   RET   execve -1 errno 2 No such file or directory
   817 ktrace   CALL  execve(0xbfbfefb0,0xbfbff4a4,0xbfbff4b0)
   817 ktrace   NAMI  "/usr/sbin/bogofilter"
   817 ktrace   RET   execve -1 errno 2 No such file or directory
   817 ktrace   CALL  execve(0xbfbfefb0,0xbfbff4a4,0xbfbff4b0)
   817 ktrace   NAMI  "/usr/local/bin/bogofilter"
   817 ktrace   NAMI  "/usr/libexec/ld-elf.so.1"
   817 bogofilter RET   execve 0
   817 bogofilter CALL  mmap(0,0xaa8,0x3,0x1000,0xffffffff,0,0,0)
   817 bogofilter RET   mmap 671592448/0x2807b000
   817 bogofilter CALL  munmap(0x2807b000,0xaa8)
   817 bogofilter RET   munmap 0
   817 bogofilter CALL  __sysctl(0xbfbff27c,0x2,0x28079808,0xbfbff278,0,0)
   817 bogofilter RET   __sysctl 0
   817 bogofilter CALL  mmap(0,0x8000,0x3,0x1002,0xffffffff,0,0,0)
   817 bogofilter RET   mmap 671592448/0x2807b000
   817 bogofilter CALL  geteuid
   817 bogofilter RET   geteuid 560/0x230
   817 bogofilter CALL  getuid
   817 bogofilter RET   getuid 560/0x230
   817 bogofilter CALL  getegid
   817 bogofilter RET   getegid 100/0x64
   817 bogofilter CALL  getgid
   817 bogofilter RET   getgid 100/0x64
   817 bogofilter CALL  open(0x28076bb0,0,0)
   817 bogofilter NAMI  "/var/run/ld-elf.so.hints"
   817 bogofilter RET   open 3
   817 bogofilter CALL  read(0x3,0xbfbff324,0x80)
   817 bogofilter GIO   fd 3 read 128 bytes
       "Ehnt\^A\0\0\0\M^@\0\0\0f\0\0\0\0\0\0\0e\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
   817 bogofilter RET   read 128/0x80
   817 bogofilter CALL  lseek(0x3,0,0x80,0,0)
   817 bogofilter RET   lseek 128/0x80
   817 bogofilter CALL  read(0x3,0x2807f000,0x66)
   817 bogofilter GIO   fd 3 read 102 bytes
       "/usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/lib/mysql\0"
   817 bogofilter RET   read 102/0x66
   817 bogofilter CALL  close(0x3)
   817 bogofilter RET   close 0
   817 bogofilter CALL  access(0x2807c020,0)
   817 bogofilter NAMI  "/usr/lib/libm.so.2"
   817 bogofilter RET   access 0
   817 bogofilter CALL  open(0x2807c020,0,0)
   817 bogofilter NAMI  "/usr/lib/libm.so.2"
   817 bogofilter RET   open 3
   817 bogofilter CALL  fstat(0x3,0xbfbff364)
   817 bogofilter RET   fstat 0
   817 bogofilter CALL  read(0x3,0xbfbfe324,0x1000)
   817 bogofilter GIO   fd 3 read 4096 bytes
       "\^?ELF\^A\^A\^A
\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0@2\0\0004\0\0\0D\M-h\^A\0\0\0\0\0004\0
\0\^C\0(\0\^U\0\^T\0\^A\0\0\0\0\0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0\0\0\^R\0\b\
        \0000\^E\0\0\M-H\M-,\^A\0\^D\0\0\0\^Q\0\v\0q\^E\0\0\M-x\M-F\0\0\0\0\0\0\^R\0\b\0j\^F\0\0\M-`\M-,\^A\0\^D\0\0\0\^Q\0\v\0M\^E\0\0\
        \M-L\M-,\^A\0\^D\0\0\0\^Q\0\v\0*\a\0\0@3\^A\0\M-J\0\0\0\^R\0\b\0\M^L\^D\0\0
;\0\0007\0\0\0\^R\0\b\0\M-j\^E\0\0<\M-H\0\0\0\0\0\0\
        \^R\0\b\0\^O\^B\0\0\M-@\M^]\0\0\^S\^B\0\0\^R\0\b\0\M-u\^B\0\0p?\0\0&\0\0\0\^R\0\b\0\f\^C\0\0\^P\M-5\0\0w\^B\0\0\^R\0\b\0\M^X\^B\0\
        \0@=\0\0-\0\0\0\^R\0\b\0\M^I\^B\0\0000\M-+\0\0]\^A\0\0\^R\0\b\0
\0\0\0\M^H+\0\0\0\0\0\0\^R\0\^F\0}\^E\0\0\M-P\M-,\^A\0\^D\0\0\0\
        \^Q\0\v\0\M-(\b\0\0p-\^A\0006\^A\0\0\^R\0\b\0\M-~\^F\0\0p\M-K\0\0-\0\0\0\^R\0\b\0_\^B\0\0
\M-r\0\0'\^B\0\0\^R\0\b\0\M-l\0\0\0\240\
        \M^J\0\0]\^A\0\0\^R\0\b\0\^W\^C\0\0\M-p\M-\\0\0\M-w\0\0\0\^R\0\b\0o\^D\0\0\M-P\M^F\0\0000\0\0\0"
   817 bogofilter RET   read 4096/0x1000
   817 bogofilter CALL  mmap(0,0x1d000,0x5,0x2,0x3,0,0,0)
   817 bogofilter RET   mmap 671625216/0x28083000
   817 bogofilter CALL  mprotect(0x2809a000,0x1000,0x7)
   817 bogofilter RET   mprotect 0
   817 bogofilter CALL  mprotect(0x2809a000,0x1000,0x5)
   817 bogofilter RET   mprotect 0
   817 bogofilter CALL  mmap(0x2809b000,0x5000,0x3,0x12,0x3,0,0x18000,0)
   817 bogofilter RET   mmap 671723520/0x2809b000
   817 bogofilter CALL  close(0x3)
   817 bogofilter RET   close 0
   817 bogofilter CALL  access(0x2807c040,0)
   817 bogofilter NAMI  "/usr/lib/libdb4.so.0"
   817 bogofilter RET   access -1 errno 2 No such file or directory
   817 bogofilter CALL  access(0x2807c040,0)
   817 bogofilter NAMI  "/usr/lib/compat/libdb4.so.0"
   817 bogofilter RET   access -1 errno 2 No such file or directory
   817 bogofilter CALL  access(0x2807c040,0)
   817 bogofilter NAMI  "/usr/X11R6/lib/libdb4.so.0"
   817 bogofilter RET   access -1 errno 2 No such file or directory
   817 bogofilter CALL  access(0x2807c040,0)
   817 bogofilter NAMI  "/usr/local/lib/libdb4.so.0"
   817 bogofilter RET   access 0
   817 bogofilter CALL  open(0x2807c040,0,0xbfbff364)
   817 bogofilter NAMI  "/usr/local/lib/libdb4.so.0"
   817 bogofilter RET   open 3
   817 bogofilter CALL  fstat(0x3,0xbfbff364)
   817 bogofilter RET   fstat 0
   817 bogofilter CALL  read(0x3,0xbfbfe324,0x1000)
   817 bogofilter GIO   fd 3 read 4096 bytes
       "\^?ELF\^A\^A\^A
\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0\M-@\M-G\0\0004\0\0\0\M^Lh   \0\0\0\0\0004\0
\0\^C\0(\0\^W\0\^T\0\^A\0\0\0\0\0\
        \0\0\0\0\0\0\0\0\0\0\M^C<       \0\M^C<
\0\^E\0\0\0\0\^P\0\0\^A\0\0\0\240<      \0\240L \0\240L
\0h\^P\0\0,\^Q\0\0\^F\0\0\0\0\^P\
        \0\0\^B\0\0\0004?       \0004O  \0004O
\0\M-(\0\0\0\M-(\0\0\0\^F\0\0\0\^D\0\0\0
\^B\0\0\M^M\^C\0\0\0\0\0\0\M-^\^A\0\0\^?\
        \^B\0\0G\^C\0\0\M-c\^B\0\0C\^B\0\0\0\0\0\0\^P\^B\0\0\M-L\0\0\0\0\0\0\0\^W\^C\0\0\\\^C\0\0^\^C\0\0}\^B\0\0\0\0\0\0H\^A\0\0U\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\0\0\0\0\0\0\0\0\0\0\0\0\0]\^A\0\0\^[\
        \0\0\0\M^L\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0N\0\0\0\0\0\0\0\M-p\0\0\0E\^A\0\0=\0\0\0~\^A\0\0Y\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M->\0\0\
        \0\0\0\0\0\M-)\^A\0\0y\^A\0\0K\0\0\0^\0\0\0b\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^J\^A\0\0\0\
        \0\0\0_\^A\0\0)\^A\0\0\M-]\0\0\0\0\0\0\0\M-2\^A\0\0\0\0\0\0\M^S\^A\0\0\0\0\0\0V\^A\0\0\M^X\^A\0\0\M-d\0\0\0u\0\0\0\M-8\0\0\0\0\0\
        \0\0\0\0\0\0"
   817 bogofilter RET   read 4096/0x1000
   817 bogofilter CALL  mmap(0,0x96000,0x5,0x2,0x3,0,0,0)
   817 bogofilter RET   mmap 671744000/0x280a0000
   817 bogofilter CALL  mprotect(0x28133000,0x1000,0x7)
   817 bogofilter RET   mprotect 0
   817 bogofilter CALL  mprotect(0x28133000,0x1000,0x5)
   817 bogofilter RET   mprotect 0
   817 bogofilter CALL  mmap(0x28134000,0x2000,0x3,0x12,0x3,0,0x93000,0)
   817 bogofilter RET   mmap 672350208/0x28134000
   817 bogofilter CALL  close(0x3)
   817 bogofilter RET   close 0
   817 bogofilter CALL  access(0x2807c060,0)
   817 bogofilter NAMI  "/usr/lib/libc.so.5"
   817 bogofilter RET   access 0
   817 bogofilter CALL  open(0x2807c060,0,0xbfbff364)
   817 bogofilter NAMI  "/usr/lib/libc.so.5"
   817 bogofilter CALL  fstat(0x3,0xbfbff364)
   817 bogofilter CALL  munmap(0x28203000,0x1c68)
   817 bogofilter CALL  munmap(0x28203000,0x4da8)
   817 bogofilter RET   munmap 0
   817 bogofilter CALL  readlink(0x281ea658,0xbfbff210,0x3f)
   817 bogofilter RET   close 0
   817 bogofilter CALL  __sysctl(0xbfbff0c8,0x2,0x281f50e0,0xbfbff0c4,0,0)
   817 bogofilter CALL  socket(0x2,0x2,0x11)
   817 bogofilter RET   close 0
   817 bogofilter RET   kevent 1
   817 bogofilter CALL  open(0x806b280,0x2,0x1b4)
   817 bogofilter CALL  break(0x80cd000)
   817 bogofilter CALL  write(0x2,0xbfbfeab0,0x59)
>Fix:
>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: Shao Zhang <shao@cia.com.au>
Cc: FreeBSD-gnats-submit@freebsd.org, "" <freebsd-bugs@freebsd.org>
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Fri, 11 Apr 2003 21:25:15 +1000 (EST)

 On Fri, 11 Apr 2003, Shao Zhang wrote:
 
 > >Description:
 > 	When running the system as an NFS client, file locking does not work at
 > all. The call to fcntl(id, F_SETLK, ...) returns errno 45. The nfs server used
 > is a Redhat Linux 7, with kernel 2.4.2. I have verified that it works fine in
 > both 4.5-RELEASE and 4.6-RELEASE. I have the following entries in my rc.conf:
 >
 > nfs_client_enable="YES"         # This host is an NFS client (or NO).
 > nfs_access_cache="4"            # Client cache timeout in seconds
 > nfs_server_enable="NO"          # This host is an NFS server (or NO).
 > nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
 > nfs_privport="YES"              # Provide NFS only on secure port (or NO).
 > nfs_bufpackets="DEFAULT"        # bufspace (in packets) for client (or DEFAULT)
 
 At least for a -current server and client, one or both rpc.lockd and
 rpc.statd enabled here on one or both of the client and server.  IIRC,
 enabling both on both works but may be more than necessary.  rc.conf.5
 is very unclear on the exact servers required.  mount_nfs.8 gives more
 details in connection with how to not use these servers (-L/nolockd flag)
 but is also unclear.
 
 RELENG_4 fakes nfs locking so that lock requests succeed but don't actually
 work.  "mount -t nfs -onolockd ..." gives the same fake locking as in
 RELENG_4.
 
 Bruce

From: Doug Barton <DougB@FreeBSD.org>
To: Bruce Evans <bde@zeta.org.au>
Cc: Shao Zhang <shao@cia.com.au>, FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Sat, 12 Apr 2003 15:23:50 -0700 (PDT)

 On Fri, 11 Apr 2003, Bruce Evans wrote:
 
 > At least for a -current server and client, one or both rpc.lockd and
 > rpc.statd enabled here on one or both of the client and server.  IIRC,
 > enabling both on both works but may be more than necessary.  rc.conf.5
 > is very unclear on the exact servers required.
 
 rpc.statd(8) is much more clear. :) Both are required. In -current, using
 rcNG, you should always get rpc.statd if you ask for rpc.lockd. If that's
 not happening, we need to fix the scripts, but I'm pretty sure it is
 actually happening. I'll try to remember to double-check this.
 
 Doug
 
 -- 
 
     This .signature sanitized for your protection

From: Bruce Evans <bde@zeta.org.au>
To: Doug Barton <DougB@freebsd.org>
Cc: Shao Zhang <shao@cia.com.au>,
	"" <FreeBSD-gnats-submit@freebsd.org>
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Sun, 13 Apr 2003 14:56:46 +1000 (EST)

 [Another copy for gnats.]
 
 On Sat, 12 Apr 2003, Doug Barton wrote:
 
 >  > At least for a -current server and client, one or both rpc.lockd and
 >  > rpc.statd enabled here on one or both of the client and server.  IIRC,
 >  > enabling both on both works but may be more than necessary.  rc.conf.5
 >  > is very unclear on the exact servers required.
 >
 >  rpc.statd(8) is much more clear. :)
 
 I think it is only clear if you don't need to read it to know what it does.
 
 >  Both are required. In -current, using
 >  rcNG, you should always get rpc.statd if you ask for rpc.lockd. If that's
 >  not happening, we need to fix the scripts, but I'm pretty sure it is
 >  actually happening. I'll try to remember to double-check this.
 
 I use -uncurrent and rc_ng="NO" :-).
 
 rc_ng doesn't seem to be any different from rc_og here.  There are
 separate knobs for rpc.lockd and rpc.statd, and both rc.network and
 rc.d/nfslocking honor the (apparently independent) configured settings
 for both.  Neither rc_ng nor rc_og is fully bug-for-bug compatible
 with rc.conf.5 which says that these variables are only used for nfs
 servers.  The man page was correct before rev.1.143 of rc.network.
 
 Bruce

From: Shao Zhang <shao@cia.com.au>
To: Bruce Evans <bde@zeta.org.au>
Cc: FreeBSD-gnats-submit@freebsd.org, <freebsd-bugs@freebsd.org>
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Mon, 14 Apr 2003 10:27:11 +1000

 On [Fri, 11 Apr 2003 21:25:15 +1000 (EST)], Bruce Evans <bde@zeta.org.au> wrote:
 > On Fri, 11 Apr 2003, Shao Zhang wrote:
 >
 >> >Description:
 >> 	When running the system as an NFS client, file locking does not work at
 >> all. The call to fcntl(id, F_SETLK, ...) returns errno 45. The nfs server used
 >> is a Redhat Linux 7, with kernel 2.4.2. I have verified that it works fine in
 >> both 4.5-RELEASE and 4.6-RELEASE. I have the following entries in my rc.conf:
 >>
 >> nfs_client_enable="YES"         # This host is an NFS client (or NO).
 >> nfs_access_cache="4"            # Client cache timeout in seconds
 >> nfs_server_enable="NO"          # This host is an NFS server (or NO).
 >> nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
 >> nfs_privport="YES"              # Provide NFS only on secure port (or NO).
 >> nfs_bufpackets="DEFAULT"        # bufspace (in packets) for client (or DEFAULT)
 >
 > At least for a -current server and client, one or both rpc.lockd and
 > rpc.statd enabled here on one or both of the client and server.  IIRC,
 > enabling both on both works but may be more than necessary.  rc.conf.5
 > is very unclear on the exact servers required.  mount_nfs.8 gives more
 > details in connection with how to not use these servers (-L/nolockd flag)
 > but is also unclear.
 >
 > RELENG_4 fakes nfs locking so that lock requests succeed but don't actually
 > work.  "mount -t nfs -onolockd ..." gives the same fake locking as in
 > RELENG_4.
 
 My understanding is that you only need to enable lockd and statd for the
 server. According to man rc.conf:
 
    rpc_lockd_enable
                  (bool) If set to ``YES'' and also an NFS server, run
                  rpc.lockd(8) at boot time.
 
    rpc_statd_enable
                  (bool) If set to ``YES'' and also an NFS server, run
                  rpc.statd(8) at boot time.
 
 
 The NFS server I am using here is a linux box with 2.4.2 which has a
 kernel mode lockd and rpc.statd is running as well. I have tried to
 enable both options on my freebsd box as a client, and now the
 bogofilter program actually hangs there.
 
 Regards,
 
 Shao.

From: Doug Barton <DougB@FreeBSD.org>
To: Shao Zhang <shao@cia.com.au>
Cc: Bruce Evans <bde@zeta.org.au>, freebsd-bugs@freebsd.org,
	FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Sun, 13 Apr 2003 21:22:51 -0700 (PDT)

 On Mon, 14 Apr 2003, Shao Zhang wrote:
 
 > My understanding is that you only need to enable lockd and statd for the
 > server. According to man rc.conf:
 
 Unfortunately, the rc docs haven't been updated properly in this regard.
 The nature of RPC services pretty much requires rpc.statd. If you're using
 locking, you definitely need it on both the client and server.
 
 Doug
 
 -- 
 
     This .signature sanitized for your protection

From: Shao Zhang <shaoz@activesky.com>
To: Doug Barton <DougB@FreeBSD.org>
Cc: Bruce Evans <bde@zeta.org.au>, freebsd-bugs@FreeBSD.org,
	FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/50807: NFS file locking as client deos not working
Date: Mon, 14 Apr 2003 14:35:06 +1000

 On [Sun, 13 Apr 2003 21:22:51 -0700 (PDT)], Doug Barton <DougB@FreeBSD.org> wrote:
 > On Mon, 14 Apr 2003, Shao Zhang wrote:
 >
 >> My understanding is that you only need to enable lockd and statd for the
 >> server. According to man rc.conf:
 >
 > Unfortunately, the rc docs haven't been updated properly in this regard.
 > The nature of RPC services pretty much requires rpc.statd. If you're using
 > locking, you definitely need it on both the client and server.
 
 I have tried to enable both rpc.lockd and rpc.statd on FreeBSD. The
 Linux file server runs rpc.lockd in kernel mode and rpc.statd is running
 as well. Now any program that requires file locking simply hangs on FreeBSD.
 
 I verified this using bogofilter -s < ~/Mail/spam, or just mutt -f
 ~/Mail/spam.
 
 If you do a strace on it, it hangs on fcntl(..., O_FSETLK, ...)
 
 Currently, I am using nolockd in /etc/fstab as a workaround.
 
 Regards,
 
 Shao.
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Oct 10 22:28:49 PDT 2003 
State-Changed-Why:  
Superceded by kern/56461, which identifies the problem and 
provides a work-around 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50807 
>Unformatted:
