Bug 797314 - Incorrect location of defaults
Summary: Incorrect location of defaults
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 22:03 UTC by Peter Backes
Modified: 2012-04-17 21:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-17 21:53:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Backes 2012-02-24 22:03:03 UTC
Description of problem:
Defaults are located at /etc/default/grub, which is a debianism. The correct location on fedora should be /etc/sysconfig/grub

Version-Release number of selected component (if applicable):
grub2-1.99-13.fc16.i686

How reproducible:
always

Steps to Reproduce:
1. install grub2
  
Actual results:
defaults stored in /etc/default/grub

Expected results:
defaults stored in /etc/sysconfig/grub

Comment 1 Sergio Basto 2012-04-17 00:49:19 UTC
may instead do a symbol link of grub,  symbol link of all dir, 
 /etc/default/ to /etc/sysconfig/


mv /etc/default/* /etc/sysconfig/
rmdir /etc/default/
ln -s /etc/sysconfig/ /etc/default/

Comment 2 Mads Kiilerich 2012-04-17 21:53:49 UTC
Yes, /etc/default is an ugly debianism, but that is what upstream uses.

/etc/sysconfig might have the nice property of being a fedoraism, but it is not more pretty than /etc/default.

See also
yum install '/etc/default/*'


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