Bug 187554

Summary: umount fails to unmount ISO image with spaces in path on system shutdown
Product: [Fedora] Fedora Reporter: Peter Klotz <peter.klotz99>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: rvokal
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: 2006-04-03 21:23:57 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:

Description Peter Klotz 2006-03-31 21:11:00 UTC
Description of problem:
I have the following line in my /etc/fstab file to mount the Fedora Core 5 ISO
image on startup using the loopback device:

/root/Fedora\040Core/5/i386/iso/FC-5-i386-DVD.iso /mnt/Fedora\040Core/5/i386
iso9660 loop,ro 0 0

Spaces in both paths are escaped with \040.

Mounting of the image when booting the system works without problems but on
shutdown lots of error messages appear indicating that unmounting the image
failed. The problem comes from /etc/rc.d/init.d/halt.

Version-Release number of selected component (if applicable): 8.31.1-1

How reproducible:
Always

Steps to Reproduce:
1. Boot the system. The ISO images gets mounted as expected.
2. Shutdown or reboot the system.
3. One obtains messages like: umount: /mnt/Fedora\040Core/5/i386: not found
  
Actual results:
Umounting fails with a lot of error messages.

Expected results:
Umount should succeed.

Additional info:

Comment 1 Bill Nottingham 2006-04-03 21:23:57 UTC

*** This bug has been marked as a duplicate of 186713 ***