Bug 125976

Summary: Multiple copies of grub.conf installed on system
Product: [Fedora] Fedora Reporter: Gareth Bromley <gbromley>
Component: grubAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-14 19:30:35 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 Gareth Bromley 2004-06-14 18:36:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
A fresh install of Fedora Core 2, installs two copies of grub.conf.

One in /etc/grub.conf and the other /boot/grub/grub.conf. Only
/boot/grub/grub.conf is updated by up2date/RHN.

No packages seem to 'own' grub.conf so I must assume an installer
related issue.

Version-Release number of selected component (if applicable):
grub-0.94-5

How reproducible:
Always

Steps to Reproduce:
1. Rebuild box from Fedora Core 2 install CD images
2.
3.
    

Actual Results:  The two grub.conf files where on the hard disk

Expected Results:  /etc/grub.conf shouldn't have existed?

Additional info:

My fix is:
- Delete /etc/grub.conf
- link /boot/grub/grub.conf to /etc/grub.conf

Comment 1 Jeremy Katz 2004-06-14 19:30:35 UTC
/etc/grub.conf is a symlink...

            # make symlink for /etc/grub.conf (config files belong in
/etc)
            if os.access (instRoot + "/etc/grub.conf", os.R_OK):
                os.rename(instRoot + "/etc/grub.conf",
                          instRoot + "/etc/grub.conf.rpmsave")
            os.symlink("../boot/grub/grub.conf", instRoot +
"/etc/grub.conf")