Bug 63240 - Anaconda upgrade wrote invalid lilo.conf
Summary: Anaconda upgrade wrote invalid lilo.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda
Version: skipjack-beta2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-11 16:27 UTC by Stephen Tweedie
Modified: 2007-04-18 16:41 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-04-11 19:17:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Tweedie 2002-04-11 16:27:44 UTC
Description of Problem:

Upgrading from 7.2 to a recent Skipjack build (internal 0409.1 isos) wrote an
invalid lilo.conf.  I had a custom lilo entry for a non-rpm kernel, which
included a kernel append of the form

  append="resume=/dev/foo"

and the lilo.conf rewrite stripped out the quote marks leaving

  append=resume=/dev/foo

This breaks lilo --- an append line with an "=" in it must be quoted.

This resulted in the lilo run aborting when the boot loader was updated, so on
the next reboot, I ended up with an old kernel being loaded, despite the fact
that anaconda had already deleted the /lib/modules for that old kernel.



Version-Release number of selected component (if applicable):
anaconda-7.2.94-0.200204082356

How Reproducible:
100%

Steps to Reproduce:
1. Install 7.2
2. Add an append="key=value" item to /etc/lilo.conf
3. upgrade to Skipjack.

Actual Results:
Broken lilo.conf is written with the "key=value" unquoted.

Expected Results:
lilo.conf should be usable.

Additional Information:

Comment 1 Jeremy Katz 2002-04-11 19:17:52 UTC
Yep, thanks.  Fixed in CVS.


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