[Bug 976632] Re: nfs4 mounts are not mapping userids, uses nobody/nogroup
Patola
patola at gmail.com
Mon Apr 9 15:55:01 UTC 2012
Just tested with kernel 3.0.0-17, the same that machine B is using
(although on machine C it's a 64-bit kernel), and the issue remains, the
userids are all mapped to anonymous. So it must not be a kernel issue...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/976632
Title:
nfs4 mounts are not mapping userids, uses nobody/nogroup
Status in “util-linux” package in Ubuntu:
New
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/util-linux/+bug/976632/+subscriptions
More information about the foundations-bugs
mailing list