Bug 81443 - loopback device cannot be released while running gnome
Summary: loopback device cannot be released while running gnome
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: gnome-core
Version: 2.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-01-09 15:37 UTC by Joseph Ashby
Modified: 2015-01-08 00:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-09 17:25:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joseph Ashby 2003-01-09 15:37:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020501

Description of problem:
When running Gnome and an ISO image using the '-o loop' option is mounted and
then unmounted an error is generated that the loopback device is busy, but it
does unmount the image. However the lookbackup device has not been released and
cannot be used again until Gnome is stopped and 'losetup -d /dev/loopX' is run
to release the loopback device.

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


How reproducible:
Always

Steps to Reproduce:
1.Start Gnome

2.mount an ISO image. 
   mount -o loop /d0/images/1.iso /mnt/cdrom

3.unmount the ISO image.
   umount /mnt/cdrom
   ioctl: LOOP_CLR_FD: Device or resource busy
The mount list will show the ISO image is unmounted.

4. losetup will show the ISO image is still assigned to the loopback device and
cannot be released.
  losetup /dev/loop0
  /dev/loop0: [0811]:32770 (/d0/images/1.iso) offset 0, no encryption
  losetup -d /dev/loop0
  ioctl: LOOP_CLR_FD: Device or resource busy

5. Stop Gnome

6. the loopback device can now be released.
  losetup -d /dev/loop0

    

Additional info:

Comment 1 Havoc Pennington 2003-01-09 17:25:34 UTC
This should be fixed in the next release of Advanced Workstation.


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