| Summary: | Cannot umount NFS mount containing spaces | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | RHEL Program Management <pm-rhel> |
| Component: | nfs-utils | Assignee: | Steve Dickson <steved> |
| Status: | CLOSED ERRATA | QA Contact: | yanfu,wang <yanwang> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.1 | CC: | bfields, chuck.lever, ddumas, ikent, jlayton, jwest, kzak, kzhang, msvoboda, pm-eus, rwheeler, ssaha, steved |
| Target Milestone: | rc | Keywords: | Regression, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nfs-utils-1.2.3-7.el6_1.1 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, the function responsible for parsing the /proc/mounts file was not able to handle single quote characters in the path name of a mount points entries. As a consequence, an NFS exported file system could not be unmounted if its mount point contained space characters. To fix this problem, the parsing routine has been rewritten so that it now parses entries in the /proc/mounts file properly. All NFS file systems now can be unmounted as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-24 09:29:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 702273 | ||
| Bug Blocks: | |||
|
Description
RHEL Program Management
2011-08-17 10:20:55 UTC
reproduced on RHEL6.1 package: [root@dell-pec6145-01 ~]# uname -a Linux dell-pec6145-01.lab.bos.redhat.com 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux [root@dell-pec6145-01 ~]# rpm -qa|grep nfs-utils nfs-utils-1.2.3-7.el6.x86_64 nfs-utils-lib-1.1.5-3.el6.x86_64 [root@dell-pec6145-01 ~]# mount -t nfs hp-xw4550-01.rhts.eng.bos.redhat.com:/tmp/dir\ with\ spaces /mnt/dir\ with\ spaces [root@dell-pec6145-01 ~]# mount ... hp-xw4550-01.rhts.eng.bos.redhat.com:/tmp/dir with spaces on /mnt/dir with spaces type nfs (rw,vers=4,addr=10.16.65.42,clientaddr=10.16.40.146) [root@dell-pec6145-01 ~]# umount /mnt/dir\ with\ spaces /mnt/dir with spaces was not found in /proc/mounts /mnt/dir with spaces was not found in /proc/mounts verified on nfs-utils-1.2.3-7.el6_1.1 by manual, umount dir with spaces is work now. Automation run on all arches and pass also: i386: https://beaker.engineering.redhat.com/jobs/142127 x86_64: https://beaker.engineering.redhat.com/jobs/142128 ppc64: https://beaker.engineering.redhat.com/jobs/142129 s390x: https://beaker.engineering.redhat.com/jobs/142130
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previously, the function responsible for parsing the /proc/mounts file was not able to handle single quote characters in the path name of a mount points entries. As a consequence, an NFS exported file system could not be unmounted if its mount point contained space characters. To fix this problem, the parsing routine has been rewritten so that it now parses entries in the /proc/mounts file properly. All NFS file systems now can be unmounted as expected.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1397.html |