Bug 807397

Summary: updates.img images do not work on live installs since the new format
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, g.kaviyarasu, jonathan, robatino, satellitgo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: anaconda-17.16-1.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-29 04:12:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 752649    

Description Adam Williamson 2012-03-27 16:52:23 UTC
It seems in anaconda 17, updates.img may now contain an entire anaconda tree in subdirectories of /tmp/updates . prior to 17, they just contained a pyanaconda directory at the top level.

dracut has been adjusted for the new format, so updates work on non-live installs (allegedly), but liveinst hasn't, so when you use an updates.img for a live install, you get a /tmp/updates/tmp/updates/ folder with all the changed data below that, and it never gets read because of the extra layers.

The fix for this is to adjust the updates.img loading code in liveinst (after the comment "# We officially support two updates.img formats:  a filesystem image, and a compressed cpio blob.") to not change directory to /tmp/updates before extracting cpio blob-format updates.img files, and to mount filesystem image-format updates.img files in a temporary location then copy them appropriately into /tmp/updates (because we can't very well mount them at /).

Nominating as a Beta blocker per Alpha criterion "The installer must be able to download and use an installer update image from an HTTP server", in the case of live installation.

Comment 1 Fedora Update System 2012-03-28 23:22:25 UTC
anaconda-17.16-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/anaconda-17.16-1.fc17

Comment 2 Adam Williamson 2012-03-29 00:08:03 UTC
Discussed at 2012-03-28 go/no-go meeting, acting as a blocker review meeting. Accepted as a blocker per criterion "The installer must be able to download and use an installer update image from an HTTP server".



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Adam Williamson 2012-03-29 04:08:17 UTC
Fix confirmed in RC2. beefiness is present.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 4 Fedora Update System 2012-03-29 04:12:52 UTC
anaconda-17.16-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.