Bug 308237

Summary: Installation crashes when clicking on Eject
Product: [openSUSE] openSUSE 10.3 Reporter: Holger Sickenberg <holgi>
Component: InstallationAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None CC: coolo, dmacvicar, kkaempf, lslezak
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2.tgz
YaST2.tar.bz2
YaST2.tar.bz2

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 ***