Bug 154322 - [zypp] source cache restore accesses physical media
Summary: [zypp] source cache restore accesses physical media
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Stanislav Visnovsky
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 11:05 UTC by Klaus Kämpf
Modified: 2006-03-01 11:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kämpf 2006-03-01 11:05:33 UTC
During source cache restore, the physical media is accessed. This looks wrong.
All data must be available in the cache. Physical media should only be needed to actually access packages.

2006-03-01 11:24:02 <1> linux(4147) [zypp] SourceManager.cc(restore):270 Restoring source: url:[cd:///?devices=/dev/hda] product_dir:[] alias:[cd:///
2006-03-01 11:24:02 <1> linux(4147) [media] MediaAccess.cc(open):96 Trying scheme 'cd'
2006-03-01 11:24:02 <1> linux(4147) [media] MediaCD.cc(MediaCD):69 MediaCD::MediaCD(cd:///?devices=/dev/hda, )
2006-03-01 11:24:02 <0> linux(4147) [media] MediaCD.cc(detectDevices):222 Found 1 cdrom drive udis
2006-03-01 11:24:02 <0> linux(4147) [media] MediaCD.cc(detectDevices):254 Found /org/freedesktop/Hal/devices/storage_model_LITE_ON_DVD_SOHD_167T: cdr
2006-03-01 11:24:02 <0> linux(4147) [media] MediaCD.cc(MediaCD):79 parse /dev/hda
2006-03-01 11:24:02 <0> linux(4147) [media] MediaCD.cc(MediaCD):100 use device /dev/hda
2006-03-01 11:24:02 <1> linux(4147) [media] MediaAccess.cc(open):125 Opened: cd(cd:///?devices=/dev/hda not attached; localRoot "")
2006-03-01 11:24:02 <0> linux(4147) [media] MediaManager.cc(open):238 Opened new media access using id 1 to cd:///?devices=/dev/hda
Comment 1 Stanislav Visnovsky 2006-03-01 11:07:54 UTC
This is opening mediaId, not attaching.
Comment 2 Klaus Kämpf 2006-03-01 11:08:25 UTC
See log here: https://bugzilla.novell.com/attachment.cgi?id=70760&action=view