Bug 175067

Summary: grubby fatal error: unable to find a suitable template
Product: [Fedora] Fedora Reporter: Stephen Warren <swarren-tag-rhbugzilla>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED INSUFFICIENT_DATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-05 20:51:03 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:

Description Stephen Warren 2005-12-06 05:12:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051118 Fedora/1.5-0.5.0.rc3 Firefox/1.5

Description of problem:
When running "yum update", I see these error messages:

  Installing: kernel                       ##################### [216/490]
grubby: no boot line found in lilo configuration
grubby fatal error: unable to find a suitable template

Note that /etc/lilo.conf does exist, and is a zero-sized file.

"rpm -qf" claims /etc/lilo.conf isn't owned by any package. Not sure where it came from - I didn't create it; I use grub (on this machine at least)!


Version-Release number of selected component (if applicable):
mkinitrd-5.0.12-1

How reproducible:
Always

Steps to Reproduce:
1. Install fc5test1
2. yum update
3. Notice the /boot/grub/grub.conf was updated OK, so that part worked.

Once the above was done, I noticed that I still had the kernel-smp package installed (due to installer mis-detecting my machine), so I ran "rpm -e kernel-smp" and got these similar results:

grubby: no boot line found in lilo configuration
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.



Additional info:

Comment 1 Peter Jones 2006-02-27 16:24:49 UTC
If you remove lilo.conf, does it work?

Comment 2 John Thacker 2006-05-05 20:51:03 UTC
Closing due to lack of response from reporter.

The problem is almost certainly the stray lilo.conf file.