Bug 308237 - Installation crashes when clicking on Eject
Summary: Installation crashes when clicking on Eject
Status: RESOLVED DUPLICATE of bug 293428
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Duncan Mac-Vicar
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 14:41 UTC by Holger Sickenberg
Modified: 2007-09-10 16:05 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST2.tgz (211.25 KB, application/x-gzip)
2007-09-06 14:41 UTC, Holger Sickenberg
Details
YaST2.tar.bz2 (146.17 KB, application/x-bzip2)
2007-09-06 14:42 UTC, Holger Sickenberg
Details
YaST2.tar.bz2 (146.17 KB, application/x-bzip2)
2007-09-06 14:42 UTC, Holger Sickenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Sickenberg 2007-09-06 14:41:12 UTC
I added an AddonLang during installation. This CD was still in drive when installation started on packages should be installed. Since the system wanted to have the 10.3 DVD, I tried to change the media.

1) Clicking on the eject key of DVD/CD drive did not work, CD was kept.

2) Clicking on the eject button of YaST causes the installation to crash -> linuxrc
Comment 1 Holger Sickenberg 2007-09-06 14:41:42 UTC
Created attachment 162397 [details]
YaST2.tgz
Comment 2 Holger Sickenberg 2007-09-06 14:42:12 UTC
Created attachment 162398 [details]
YaST2.tar.bz2

Tired it a second time to verify - here are the logs
Comment 3 Holger Sickenberg 2007-09-06 14:42:18 UTC
Created attachment 162399 [details]
YaST2.tar.bz2

Tried it a second time to verify - here are the logs
Comment 4 Holger Sickenberg 2007-09-06 14:42:55 UTC
Comment on attachment 162398 [details]
YaST2.tar.bz2

broken
Comment 5 Jan Kupec 2007-09-07 09:18:14 UTC
I see several possible problems here:

1) libzypp's RepoProvideFile.cc discards the original MediaException (Can't eject media) and throws new Exception (without saving the original one to the history) -> Duncan. But only saving the original into history may not help (pkg-bindings need probably be adapted, also zypper). Or the MediaException must be caught and processed by calling requestMedia() again in MediaSetAccess::provideFileInternal().

2) libzypp reports MediaFileNotFoundException instead of MediaNotDesiredException which probably causes a bad handling workflow (e.g. the media is not unmounted -> not ejectable? don't know) -> Duncan? This may be due to wrong verifier.

3) libzypp's media is not able to eject the drive even if it should be -> Jano

4) Also it seems that dbus is not running -> Hotplug
Comment 6 Duncan Mac-Vicar 2007-09-10 15:15:23 UTC
2007-09-06 14:43:52 <2> linux(3721) [zypp] RepoProvideFile.cc(setVerifierForRepo):161 No media verifier for repo 'openSUSE-10.3-retail 10.3'

This line makes it a duplicate of bug 293428 ?
Comment 7 Duncan Mac-Vicar 2007-09-10 15:38:04 UTC
*** Bug 309043 has been marked as a duplicate of this bug. ***
Comment 8 Jan Kupec 2007-09-10 16:05:25 UTC
(In reply to comment #6 from Duncan Mac-Vicar)
> 2007-09-06 14:43:52 <2> linux(3721) [zypp]
> RepoProvideFile.cc(setVerifierForRepo):161 No media verifier for repo
> 'openSUSE-10.3-retail 10.3'
> 
> This line makes it a duplicate of bug 293428 ?

Sure. I will add more info to that bug.




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