Bug 882351

Summary: SystemError: (32, 'umount: /run/install/isodir: target is busy.\n (In some cases useful info about processes that use\n the device is found by lsof(8) or fuser(1))')
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:dd3f72e880c6782a3e21f40530a82ad65e29b239108a1e37fafbba9556002169
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-05 16:05:00 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:
Attachments:
Description Flags
File: ifcfg.log
none
File: anaconda-tb
none
File: product
none
File: type
none
File: environ none

Description Michael Schwendt 2012-11-30 18:14:32 UTC
Version-Release number of selected component:
anaconda-18.29.2

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.6-3.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.29.2 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/isys/__init__.py", line 152, in umount
:    rc = _isys.umount(what)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/fs.py", line 656, in unmount
:    rc = isys.umount(self._mountpoint, removeDir = False)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/fs.py", line 863, in teardown
:    return self.unmount(*args, **kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 740, in _preTeardown
:    self.originalFormat.teardown()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 755, in teardown
:    if not self._preTeardown(recursive=recursive):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1969, in teardownAll
:    device.teardown(recursive=True)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1963, in _populate
:    self.teardownAll()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1846, in populate
:    self._populate()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2088, in on_unlock_clicked
:    self.__storage.devicetree.populate()
:SystemError: (32, 'umount: /run/install/isodir: target is busy.\n        (In some cases useful info about processes that use\n         the device is found by lsof(8) or fuser(1))')

Comment 1 Michael Schwendt 2012-11-30 18:14:37 UTC
Created attachment 655170 [details]
File: ifcfg.log

Comment 2 Michael Schwendt 2012-11-30 18:14:49 UTC
Created attachment 655171 [details]
File: anaconda-tb

Comment 3 Michael Schwendt 2012-11-30 18:14:55 UTC
Created attachment 655172 [details]
File: product

Comment 4 Michael Schwendt 2012-11-30 18:14:57 UTC
Created attachment 655173 [details]
File: type

Comment 5 Michael Schwendt 2012-11-30 18:14:59 UTC
Created attachment 655174 [details]
File: environ

Comment 6 Michael Schwendt 2012-11-30 18:56:43 UTC
How to reproduce:

1. enter "Manual Partitioning" screen
2. unfold an old installation tree to reuse its Root
3. enter "/" as mount-point, enable the "Reformat" checkbox, then click "Apply Changes"
4. leave screen with "Finish Partitioning"

So far so good.

5. revisit "Manual Partitioning" screen
6. unfold "Unknown" storage entries
7. select my LUKS encrypted logical volume to be mounted as /home
8. enter secondary passphrase, click "Unlock"

Crash.

Important: Order does matter. Getting access to the LUKS /home _before_ adding the Root mount-point does not crash, but causes the other show-stopper I discuss on test list.


Package: anaconda-18.29.2
OS Release: Fedora release 18-Beta

Comment 7 Michael Schwendt 2012-11-30 19:05:15 UTC
Since the crash refers to /run/install/isodir it smells much as if one can replace steps 5-8 with just

5. revisit "Manual Partitioning" screen and leave it with "Finish Partitioning"

but I haven't tried that yet.

Comment 8 David Lehman 2012-11-30 22:03:17 UTC
This is specific to media on local storage. We need something to skip teardown of the media source device.

Comment 9 Chris Lumens 2012-12-05 16:05:00 UTC

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