RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 731309 - Cannot umount NFS mount containing spaces
Summary: Cannot umount NFS mount containing spaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.1
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On: 702273
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-17 10:20 UTC by RHEL Program Management
Modified: 2011-10-24 09:29 UTC (History)
13 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-10-24 09:29:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1397 0 normal SHIPPED_LIVE nfs-utils bug fix update 2011-10-24 09:28:59 UTC

Description RHEL Program Management 2011-08-17 10:20:55 UTC
This bug has been copied from bug #702273 and has been proposed
to be backported to 6.1 z-stream (EUS).

Comment 7 yanfu,wang 2011-10-12 10:54:45 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

Comment 8 Miroslav Svoboda 2011-10-20 16:13:09 UTC
    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.

Comment 9 errata-xmlrpc 2011-10-24 09:29:04 UTC
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


Note You need to log in before you can comment on or make changes to this bug.