Bug 231144 - pygrub can leave stale vmlinuz and initrd data around on error
pygrub can leave stale vmlinuz and initrd data around on error
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Markus Armbruster
:
Depends On:
Blocks: 246258
  Show dependency treegraph
 
Reported: 2007-03-06 09:51 EST by Chris Lalancette
Modified: 2010-10-22 09:32 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2008-0305
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-21 11:19:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed fix derived from xen-unstable cset 12494 (743 bytes, patch)
2007-10-29 13:52 EDT, Markus Armbruster
no flags Details | Diff

  None (edit)
Description Chris Lalancette 2007-03-06 09:51:25 EST
Description of problem:
If xen encounters an error after extracting the kernel and initrd from the /boot
partition, it leaves the vmlinuz.xxxx and initrd.xxxx around in the /var/lib/xen
directory.  As a simple example, attempting to boot a paravirt Xen guest with a
bare-metal kernel will reproduce this behavior.  pygrub (and/or xm) should
really clean up after itself on error, so as not to fill up the /var/lib/xen
directory with useless vmlinuz and initrd files.
Comment 4 RHEL Product and Program Management 2007-10-16 00:03:44 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 7 Markus Armbruster 2007-10-29 13:52:37 EDT
Created attachment 242191 [details]
Proposed fix derived from xen-unstable cset 12494
Comment 9 Daniel Berrange 2008-01-03 16:11:55 EST
Fix built for QA

$ brew latest-pkg dist-5E-qu-candidate xen
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
xen-3.0.3-43.el5                          dist-5E-qu-candidate  berrange

* Thu Jan  3 2008 Daniel P. Berrange <berrange@redhat.com> - 3.0.3-43.el5
- Cleanup kernel/initrd after pygrub errors (rhbz #231144)
Comment 12 errata-xmlrpc 2008-05-21 11:19:33 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0305.html

Note You need to log in before you can comment on or make changes to this bug.