Related bug: #573492 Do not umount it in mirrorfailureCB as it will be umounted later in _switchCD if user chooses Eject when handling the failure in _handlefailure. Moreover, umounting the CD already in mirrorfailureCB and setting currentMedia to None prevents actual ejecting in switchCD called from _handlefailure - the disk is just remounted again after its number verification. --- yuminstall.py | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/yuminstall.py b/yuminstall.py index 17cb2d1..45b5077 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -821,12 +821,6 @@ class AnacondaYum(YumSorter): "or downloaded file is corrupt" % (obj.url, repo.grab._next + 1, len(repo.grab.mirrors))) - if repo.anacondaBaseURLs[0].startswith("cdrom:"): - dev = self.anaconda.storage.devicetree.getDeviceByName(self.anaconda.mediaDevice) - dev.format.mountpoint = self.tree - unmountCD(dev, self.anaconda.intf.messageWindow) - self.currentMedia = None - def urlgrabberFailureCB (self, obj, *args, **kwargs): if hasattr(obj, "exception"): log.warning("Try %s/%s for %s failed: %s" % (obj.tries, obj.retry, obj.url, obj.exception)) -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list