Bug 244577
Summary: | rpc.rquotad failes to find proper nfs exported file system | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Nicolas Mitsis <mitsis> | ||||||
Component: | quota | Assignee: | Ondrej Vasik <ovasik> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.0 | CC: | jlayton, k.georgiou, mcermak, ppisar, staubach, steved | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHBA-2008-0637 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-07-30 13:08:14 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
Nicolas Mitsis
2007-06-17 15:40:06 UTC
Created attachment 161059 [details]
Proposed patch
I see the problem as well. Attached patch fixes the problem for me although I
do not guarantee it covers all the execution routes.
The difference between RHEL4 and RHEL5 seems to be that RHEL5 added some code to account for the NFS4 pseudoroot. I think the proposed patch will probably break things so that NFSv4 quotas would no longer work (unless / was exported as fsid=0). The idea here is that we don't want to prepend the nfs_pseudoroot path to the pathname unless we're checking a quota on a NFSv4 filesystem. I need to read up on the rquotad protocol to see if we even have info about the nfs version being used... In the meantime, you should be able to work around this by not assigning fsid=0 to the export. If you're just using nfsv3, then fsid=0 has no special meaning and any other number will do. I'll have to have a look and see how we can fix this the right way... Here is upstream discussion about the issue : http://sourceforge.net/tracker/index.php?func=detail&aid=1750416&group_id=18136&atid=118136 It got closed in February 2008, so I expect it was fixed somehow in latest upstram quota - which is now in rawhide Fedora. Will check more about that fix later this week and make backport of patch for RHEL-5 if possible. Created attachment 312080 [details]
Backported patch from upstream
This is backported version of upstream patch.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0637.html |