public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nfs file locking broken
@ 2006-10-14 20:17 Robert W. Fuller
  2006-10-17 18:30 ` Robert W. Fuller
  0 siblings, 1 reply; 3+ messages in thread
From: Robert W. Fuller @ 2006-10-14 20:17 UTC (permalink / raw)
  To: linux-kernel

I tried to upgrade from 2.6.16.27 to 2.6.17.13.  I have also tried
2.6.18.1.  I discovered NFS file locking no longer works between a Linux
client and an OpenBSD server.  For example, gtk-gnutella gets the
following error:

06-10-14 15:50:19 (WARNING): fcntl(8, F_SETLK, ...) failed for
"/home/edison/.gtk-gnutella/gtk-gnutella.pid": Permission denied

gpg hangs waiting for a lock for ~/.gnupg/random_seed

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nfs file locking broken
  2006-10-14 20:17 nfs file locking broken Robert W. Fuller
@ 2006-10-17 18:30 ` Robert W. Fuller
  2006-10-17 18:40   ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: Robert W. Fuller @ 2006-10-17 18:30 UTC (permalink / raw)
  To: linux-kernel, trond.myklebust

Robert W. Fuller wrote:
> I tried to upgrade from 2.6.16.27 to 2.6.17.13.  I have also tried
> 2.6.18.1.  I discovered NFS file locking no longer works between a Linux
> client and an OpenBSD server.  For example, gtk-gnutella gets the
> following error:
> 
> 06-10-14 15:50:19 (WARNING): fcntl(8, F_SETLK, ...) failed for
> "/home/edison/.gtk-gnutella/gtk-gnutella.pid": Permission denied
> 
> gpg hangs waiting for a lock for ~/.gnupg/random_seed

Maybe the thing to do is to Cc: the NFS guy on this?  Anybody else have
any suggestions?

Is there a known fundamental change in the Linux NFS client that would
break file locking between a Linux NFS client and an OpenBSD-3.8 NFS
server?    Is OpenBSD-3.8 somehow broken with respect to new behavior in
the Linux NFS client?

This is very reproducible.  File locking works with 2.6.16.27.  Sometime
thereafter it ceased to work.  There are no configuration changes to
/etc or anything like that....  For me, it's a simple matter of choosing
a working kernel from the GRUB menu or a broken kernel.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nfs file locking broken
  2006-10-17 18:30 ` Robert W. Fuller
@ 2006-10-17 18:40   ` Trond Myklebust
  0 siblings, 0 replies; 3+ messages in thread
From: Trond Myklebust @ 2006-10-17 18:40 UTC (permalink / raw)
  To: Robert W. Fuller; +Cc: linux-kernel

On Tue, 2006-10-17 at 14:30 -0400, Robert W. Fuller wrote:
> Robert W. Fuller wrote:
> > I tried to upgrade from 2.6.16.27 to 2.6.17.13.  I have also tried
> > 2.6.18.1.  I discovered NFS file locking no longer works between a Linux
> > client and an OpenBSD server.  For example, gtk-gnutella gets the
> > following error:
> > 
> > 06-10-14 15:50:19 (WARNING): fcntl(8, F_SETLK, ...) failed for
> > "/home/edison/.gtk-gnutella/gtk-gnutella.pid": Permission denied
> > 
> > gpg hangs waiting for a lock for ~/.gnupg/random_seed
> 
> Maybe the thing to do is to Cc: the NFS guy on this?  Anybody else have
> any suggestions?
> 
> Is there a known fundamental change in the Linux NFS client that would
> break file locking between a Linux NFS client and an OpenBSD-3.8 NFS
> server?    Is OpenBSD-3.8 somehow broken with respect to new behavior in
> the Linux NFS client?
> 
> This is very reproducible.  File locking works with 2.6.16.27.  Sometime
> thereafter it ceased to work.  There are no configuration changes to
> /etc or anything like that....  For me, it's a simple matter of choosing
> a working kernel from the GRUB menu or a broken kernel.

File locking works fine for me, both against Linux boxes and others. I
don't have any OpenBSD servers to test, though.

Have you tried using something like ethereal/wireshark in order to sniff
the wire?

Cheers,
  Trond


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-17 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-14 20:17 nfs file locking broken Robert W. Fuller
2006-10-17 18:30 ` Robert W. Fuller
2006-10-17 18:40   ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox