From owner-freebsd-net@FreeBSD.ORG Tue Nov 27 16:43:10 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0F23103 for ; Tue, 27 Nov 2012 16:43:09 +0000 (UTC) (envelope-from harrison@biostat.wisc.edu) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id A92738FC14 for ; Tue, 27 Nov 2012 16:43:09 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0ME500308NRWMZ00@smtpauth1.wiscmail.wisc.edu> for freebsd-net@FreeBSD.org; Tue, 27 Nov 2012 10:43:08 -0600 (CST) Received: from seal.biostat.wisc.edu (seal.biostat.wisc.edu [144.92.73.36]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0ME50036ANRTHI00@smtpauth1.wiscmail.wisc.edu>; Tue, 27 Nov 2012 10:43:06 -0600 (CST) Date: Tue, 27 Nov 2012 10:43:05 -0600 From: "Christopher D. Harrison" Subject: Re: kern/173479: [nfs] chown and chgrp operations fail between FreeBSD 9.1RC3 NFSv4 server and RH63 NFSv4 client In-reply-to: <50B4D098.8030705@cse.yorku.ca> Sender: harrison@biostat.wisc.edu To: Jason Keltz Message-id: <50B4ED99.1070108@biostat.wisc.edu> X-Spam-Report: AuthenticatedSender=yes, SenderIP=144.92.73.36 X-Spam-PmxInfo: Server=avs-15, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.11.27.163615, SenderIP=144.92.73.36 References: <283018325.862373.1354024548865.JavaMail.root@erie.cs.uoguelph.ca> <50B4D098.8030705@cse.yorku.ca> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120825 Thunderbird/10.0.7 Cc: freebsd-net@FreeBSD.org, Rick Macklem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2012 16:43:10 -0000 I will give it a try. Thanks for your quick response!!! -C On 11/27/12 08:39, Jason Keltz wrote: > Hi Rick/Christopher, > > Yes ... > > Create a file /etc/modprobe.d, say "nfs.conf" and put in it: > > options nfs nfs4_disable_idmapping=N > > ... and the problem will be solved. > > Jason. > > On 11/27/2012 08:55 AM, Rick Macklem wrote: >> Christopher D. Harrison wrote: >>> do you know what that sysctl attr is called? >>> -C >>> >> I don't recall it and it seems I've deleted his email, but Jason Keltz >> (which I've cc'd) emailed it to me and hopefully can remember it. >> >> rick >> ps: When I get it this time, I'll write it down in my note book. >> I'm "old and old fashioned", so that's how I remember stuff;-) >> >>> On 11/26/12 21:19, Rick Macklem wrote: >>>> Christopher D. Harrison wrote: >>>>> The following reply was made to PR kern/173479; it has been noted >>>>> by >>>>> GNATS. >>>>> >>>>> From: "Christopher D. Harrison" >>>>> To: bug-followup@FreeBSD.org, jas@cse.yorku.ca >>>>> Cc: >>>>> Subject: Re: kern/173479: [nfs] chown and chgrp operations fail >>>>> between FreeBSD >>>>> 9.1RC3 NFSv4 server and RH63 NFSv4 client >>>>> Date: Mon, 26 Nov 2012 17:23:15 -0600 >>>>> >>>>> The same problem also occurs in FreeBSD 9.0 release. >>>>> -C >>>>> >>>> In case you didn't see the previous discussions, this happens for >>>> Linux 3.3 or later kernels, where the default is to put the uid in >>>> a string for the owner and owner_group attributes. RFC-3530, which >>>> has not yet been replaced as the RFC for NFSv4.0 does not recommend >>>> this. A requirement for client support of this is in an internet >>>> draft called rfc3530bis, but this has not become an RFC yet. >>>> >>>> I think the Linux folks "jumped the gun" when they made this the >>>> default. You can change this using a sysctl on the server, so that >>>> it uses the@ format recommended by RFC-3530 or >>>> you can upgrade to stable/9, which does have client support for >>>> the uid in a string. (The "uid in a string" was added mainly to >>>> support NFSv4 root mounts for diskless clients.) >>>> >>>> This PR will be closed when I get home next week and can do so. >>>> >>>> rick >>>> >>>>> _______________________________________________ >>>>> freebsd-net@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>> To unsubscribe, send any mail to >>>>> "freebsd-net-unsubscribe@freebsd.org" >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"