Red Hat Bugzilla – Bug 64638
Installer strips quotes in lilo.conf, leaves system unbootable
Last modified: 2007-04-18 12:42:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)
Description of problem:
Lilo has supported quotes for some time now, eg one can set a value
like label="Red Hat 7.2" or label="Windows XP". The Red Hat installer
will strip the quotes from the file, making it invalid. Lilo will thus
not apply the changes the installer made correctly, and the system
will be unbootable when the installer is finished.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Use quotes in a label in lilo.conf in Red Hat 7.2
2.Upgrade to 7.3
Actual Results: The system was unbootable.
Using rescue mode showed the installer had removed the quotes and
Expected Results: The installer should understand and keep the
quotes, and thus allow the system to be booted after an upgrade.
Jeremy did you have a bug like this you fixed already?
No, I fixed the opposite where having quotes caused lilo to be unhappy.
Actually, looking more closely, this should be fixed in our current codebase.
anaconda-8.0.94-0.20030210014339 (from the re0210.0 tree) is still stripping the
quotes from the lilo.conf label fields, leaving the machine unable to boot.
Actually, I lied. We are still stripping the quotes, but the machine still
boots as well . . . pretty damn odd.
There are some places that we have to strip quotes and some places where if we
do, it causes bad things to happen. lilo config parsing makes my head hurt.
Closing out then.