Bug 172233
Summary: | rename(2) onto an empty directory fails on NFS file systems | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Neil Horman <nhorman> |
Component: | kernel | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | cjones, jbaron, petrides, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHSA-2006-0144 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-15 16:49:34 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: | |||
Bug Depends On: | |||
Bug Blocks: | 168424 |
Description
Neil Horman
2005-11-01 19:38:59 UTC
I don't believe renaming mount points should be allowed. The EBUSY error is appropriate, and that's what I get with an ext3 mount point, so why should an nfs mount point be treated differently? I'm tentatively closing this as NOTABUG. SteveD, if you disagree, please reopen this. Thanks. Its not mount points that we're trying to rename, its subdirectories beneath mount points. In the testcase above. test is the NFS mount point, and A and B are subdirectories beneath the mount point. Ah, thanks for clarifying this, Neil. In the initial comment of this bugzilla, the following line: "... if doing this on an NFS mount point." should read: " ... if doing this under an NFS mount point." Reopened and assigned to Neil, who has already posted a patch for internal review today. A fix for this problem has just been committed to the RHEL3 U7 patch pool this evening (in kernel version 2.4.21-37.11.EL). This fix has been committed in the RHEL3 U7 beta. Action: Netapp, please test and provide feedback to RH ASAP. 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 the 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/RHSA-2006-0144.html |