Bug 449564

Summary: Installation images are downloaded to RAM disk
Product: [openSUSE] openSUSE 11.1 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P2 - High CC: coolo, locilka
Version: RC 1Flags: coolo: SHIP_STOPPER+
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2008-11-27 07:21:44 UTC
During installation the signed/digested files are downloaded into RAM disk, which may cause out of memory problem and possibly crash Yast.

The problem is in pkg-bindings, the target root is not honored when downloading signed files.

And also Pkg::SourceReleaseAll() doesn't remove the downloaded files.
Comment 1 Ladislav Slezák 2008-11-27 07:52:20 UTC
Fixed in SVN
Comment 2 Stephan Kulow 2008-11-27 09:28:43 UTC
I wonder why not more people have noticed this rather severe problem. How new is it?
Comment 3 Lukas Ocilka 2008-11-27 09:31:49 UTC
This has been introduced by fixing bug #409927. Less than three weeks ago.
Comment 4 Lukas Ocilka 2008-11-27 09:32:55 UTC
See https://bugzilla.novell.com/show_bug.cgi?id=409927#c57
Comment 5 Ladislav Slezák 2008-11-27 09:34:24 UTC
It's been there since we switched to signed image files.

Actually it works when you have swap enabled or enough memory :-)
Comment 6 Stephan Kulow 2008-11-27 09:51:20 UTC
let's test driverupdate with this. What are the files I need to replace in the instsys?
Comment 7 Ladislav Slezák 2008-11-27 10:00:58 UTC
You need package yast2-pkg-bindings, file
/usr/lib{,64}/YaST2/plugin/libpy2Pkg.so.2.0.0
Comment 8 Ladislav Slezák 2008-11-27 10:06:06 UTC
I just have updated the fix, it downloads the files to the download area (instead of the target).

Submitted in yast2-pkg-bindings-2.17.29.