[Bug 976632] Re: nfs4 mounts are not mapping userids, uses nobody/nogroup
Hamilton Turner
hamiltont at gmail.com
Fri Jun 20 04:28:54 UTC 2014
Just experienced this issue. Used TJ's fix with success, but I had to
also restart nfs on the server - multiple restarts of idmapd did
nothing. I did not try restarting the client.
FWIW, here's my details. Primary difference is that my server is a
CentOS box.
Client:
Linux 3 3.11.0-23-generic #40~precise1-Ubuntu SMP Wed Jun 4 22:06:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nfs-common 1:1.2.5-3ubuntu3.1
nfs4-acl-tools: 0.3.3-1
nfswatch: 4.99.11-1
Server:
Linux <snip> 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nfs-utils-1.2.3-39.el6.x86_64
nfs-utils-lib-1.1.5-6.el6.x86_64
nfs4-acl-tools-0.3.3-6.el6.x86_64
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/976632
Title:
nfs4 mounts are not mapping userids, uses nobody/nogroup
Status in “nfs-utils” package in Ubuntu:
Confirmed
Bug description:
I have:
machine A - NFS4 server, Ubuntu 11.10
machine B - NFS4 client, Ubuntu 11.10
machine C - NFS4 client, Ubuntu 12.04 (development)
All machines have the same userids and group ids.
Machine 4 exports are the following:
/export/dir1 10.0.0.0/24(rw,nohide,insecure,no_subtree_check,async)
/export/dir2 10.0.0.0/24(rw,nohide,insecure,no_subtree_check,async)
/export/dir3 10.0.0.0/24(rw,nohide,insecure,no_subtree_check,async)
On both Machine B and C, the mounts are defined in fstab as:
10.0.0.1:/dir1 /mnt/mydir nfs4 _netdev,soft,retry=2,auto 0 0
10.0.0.1:/dir2 /mnt/mydir2 nfs4 _netdev,soft,retry=2,auto 0 0
10.0.0.1:/dir3 /mnt/startrek nfs4 _netdev,soft,retry=2,auto 0 0
These NFS shares have been configured for about 6 months, no change to
the configuration.
However, on the newly upgraded machine C, when the NFS4 filesystems
are mounted, *all files* (with different users on machine A) map to
nobody/nogroup. I even tried changing some options on machine A (like
adding no_all_squash then re-exporting it) to no avail. I also tried
manually mounting the filesystems using the "mount" command on machine
C and the same thing happened. Before upgrading, the mounts were
working correctly. On machine B with Ubuntu 11.10, they also work
correctly.
mount is version 2.20.1-1ubuntu3, nfs-common (which has
/sbin/mount.nfs4) is version 1:1.2.5-3ubuntu2.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mount 2.20.1-1ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Sun Apr 8 11:55:58 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: util-linux
UpgradeStatus: Upgraded to precise on 2012-04-06 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/976632/+subscriptions
More information about the foundations-bugs
mailing list