From owner-freebsd-net@FreeBSD.ORG Fri Jun 18 21:09:54 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E41A16A4CE; Fri, 18 Jun 2004 21:09:54 +0000 (GMT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C346A43D31; Fri, 18 Jun 2004 21:09:53 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.11/8.12.11) with ESMTP id i5IL8ef7054134; Fri, 18 Jun 2004 17:08:40 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.11/8.12.11/Submit) id i5IL8eQx054133; Fri, 18 Jun 2004 17:08:40 -0400 (EDT) (envelope-from barney) Date: Fri, 18 Jun 2004 17:08:40 -0400 From: Barney Wolff To: Alfred Perlstein Message-ID: <20040618210840.GA53218@pit.databus.com> References: <20040618114929.GE58783@empiric.dek.spc.org> <20040618175121.GZ61448@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040618175121.GZ61448@elvis.mu.org> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.43 cc: Jonathan Lennox cc: freebsd-net@freebsd.org Subject: Re: kern/56461: FreeBSD client rpc.lockd incompatible with Linux server rpc.lockd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 21:09:54 -0000 On Fri, Jun 18, 2004 at 10:51:21AM -0700, Alfred Perlstein wrote: > > *Sigh* make it a sysctl, but can someone please lay the smack > down on the linuxiots and have them fix thier crap? > > * Bruce M Simpson [040618 04:50] wrote: > > > > Linux NFS advisory locks are broken and incompatible with the rest > > of the world. FreeBSD 5.x in particular uses BSD/OS derived NFS code > > and thus is affected. FreeBSD 4.x does not implement client-side NFS > > advisory locks. > > > > This problem is also documented as existing for MacOS X, IRIX and BSD/OS: > > http://www.netsys.com/bsdi-users/2002-04/msg00036.html > > http://www.uwsg.iu.edu/hypermail/linux/kernel/0311.0/0498.html > > http://lists.freebsd.org/pipermail/freebsd-hackers/2003-July/001833.html > > http://lists.freebsd.org/pipermail/freebsd-hackers/2003-April/000592.html > > > > The patch provided in the PR is verified to solve the problem, but > > it would be good to make this functionality optional at run-time, > > as many people are likely to be using Linux NFS shares read/write > > with advisory locks. Pardon an ignorant question, but what happens to unfortunate people who have to talk to both Linux and non-quirky servers at the same time? Is there a way to detect what flavor of server you're talking to and adjust accordingly? That would be far better than a sysctl. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.