Bug 7073
| Summary: | documented feature "map_static" isn't supported | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Trond Eivind Glomsrød <trondeg> |
| Component: | nfs-utils | Assignee: | Michael K. Johnson <johnsonm> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | mrensing |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-08-09 02:35:10 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: | |||
knfsd doesnt support this feature. Someone has used an old unfsd manual page and not removed the gid mapping and ugidd references. Of course it's a bug if someone used an old man page with options which aren't supported. I'm running RedHat 6.1 with the standard rpms from RedHat. The man page has a full explanation of the map_static feature. I would hope that the plan is to add this feature rather than delete it from the documentation. assigned to johnsonm Fixed in Red Hat Linux 7. |
From "man exports": map_static This option enables static mapping. It specifies the name of the file that describes the uid/gid mapping, e.g. map_static=/etc/nfs/foobar.map The file's format looks like this # Mapping for client foobar: # remote local uid 0-99 - # squash these uid 100-500 1000 # map 100-500 to 1000-1500 gid 0-49 - # squash these gid 50-100 700 # map 50-100 to 700-750 This is /etc/exports: home 157.249.16.10(rw,map_static=/etc/map.nfs) /etc/map.nfs is just copied from the man page. This results in the following log entry: Nov 17 12:10:58 janus exportfs[4413]: Unknown keyword "map_static=/etc/map.nfs" in export file nov 17 12:10:58 janus exportfs: exportfs: Unknown keyword "map_static=/etc/map.nfs" in export file