Bug 126258
Summary: | NFSv4 mount with AUTH_SYS returns incorrect UID/GID info | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Van E. <garmster> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | CC: | mattdm, michael.rozman, shahms | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | athlon | ||||||
OS: | Linux | ||||||
URL: | http://www.vanemery.com/Linux/NFSv4/NFSv4-no-rpcsec.html#RW | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-06-30 03:02:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Van E.
2004-06-18 04:16:41 UTC
I have observed the same behaviour with 2.6.6-1.435 errata kernel running on server. Client is also 2.6.6-1.435. Tested configuration on 2.6.7-1.476 rawhide kernel and observed same root.bin problem. Client/server are same machine. Try using the rawhide nfs-utils. It sound to be that the rpc.idmapd daemon (the daemon doing the uid/gid mapping) is down. There was and issue like this in earlier nfs-utils... Ok - that didn't work - upgraded to nfs-utils-1.0.6-30 from rawhide and one of the rawhide kernels -1.471, -1.478. The same problem is being exhibited - all files at the mount point belong to root.bin though on the export side the ownership is correct. Confirm that rpc.idmapd is running; client and server machine are the same. hmm... are there any complains from rpc.imapd in /var/log/messages? Is rpc.imapd even running? I have observed the same behaviour on all FC2 kernels I tried except the original 2.6.5-1.358. (I am running now 2.6.7-1.486 from people.redhat.com/arjanv/2.6/ on both server and client, nfsv4 with krb5). There are no complains in /var/log/messages. rpc.idmapd -vvv is running. Created attachment 101940 [details]
A patch that the fix the uid/gids that are returned by the server
Please try this patch and let me know how it goes.
Steve, your patch fixed the problem. (Tested with kernel 2.6.7-1.486) Thanks a lot Marking fixed as per comment #8. Marking fixed as per comment #8. |