Debian Bug report logs - #28642
nfs-server: Freebsd client can't write to linux nfs [patch]

version graph

Package: nfs-server; Maintainer for nfs-server is (unknown);

Reported by: <steveh@eecs.umich.edu>

Date: Wed, 28 Oct 1998 05:48:04 UTC

Severity: fixed

Merged with 28693, 29304, 32748

Found in version 2.2beta37-2

Done: Herbert Xu <herbert@gondor.apana.org.au>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Herbert Xu <herbert@debian.org>:
Bug#28642; Package nfs-server. (full text, mbox, link).


Acknowledgement sent to <steveh@eecs.umich.edu>:
New bug report received and forwarded. Copy sent to Herbert Xu <herbert@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: <steveh@eecs.umich.edu>
To: submit@bugs.debian.org
Subject: nfs-server: Freebsd client can't write to linux nfs [patch]
Date: Wed, 28 Oct 1998 00:46:01 -0500
Package: nfs-server
Version: 2.2beta37-2

Freebsd is not able to write to nfs-server 2.2beta37.  If you try, you
will get 0 length files.  Patch from Olaf below.  I applied it and now
things are working again from Freebsd.  Just passing this info on...



From okir@monad.swb.de Tue Oct 27 12:29:05 1998
Date: Tue, 27 Oct 1998 10:57:03 +0100
From: Olaf Kirch <okir@monad.swb.de>
To: Steve Hsieh <steveh@eecs.umich.edu>
Subject: Re: bug: linux nfsd 2.2beta37 will not work with FreeBsd 2.2.6,
     2.2.7...

--------

Hi steve

Oha! That's the check in nfsd.c I added to get a grip on the sudden NFS
death syndrome. Seems it did more harm than good...

Edit nfsd.c around line 490, and change the following:

        /* Check args. I've seen one client send a length of -1 */
-       count = argp->totalcount;
-       if (count > NFS_MAXDATA || count > argp->data.data_len) {
+	if (argp->data.data_len > NFS_MAXDATA) {
                Dprintf(L_NOTICE,
-                       "strange write req from %s: len %lu",
-                       nfsclient->clnt_name, argp->data.data_len);
+                       "strange write req from %s: len %lu",
+                       nfsclient->clnt_name, argp->data.data_len);
                return NFSERR_IO;
        }

Cheers
Olaf
-- 
Olaf Kirch         |  --- o --- Nous sommes du soleil we love when we play
okir@monad.swb.de  |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax


Merged 28642 28693. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Merged 28642 28693 32748. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Merged 28642 28693 29304 32748. Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Herbert Xu <herbert@gondor.apana.org.au> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat May 4 14:42:55 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.