[Bug 457700] [NEW] Mistakes to be corrected in GRUB2 /etc/default/grub

Colin Watson cjwatson at canonical.com
Wed Oct 21 23:14:45 UTC 2009


On Wed, Oct 21, 2009 at 10:44:25PM -0000, komputes wrote:
> Line 1 of /etc/default/grub contains the following:
> 
> # If you change this file, run 'update-grub' afterwards to update
> 
> This should be replaced with:
> 
> # If you change this file, run 'update-grub2' afterwards to update
> 
> according to https://wiki.ubuntu.com/Grub2

No, it shouldn't. Wiki pages are less authoritative than the packages
they document, not more authoritative; and the wiki page was
inconsistent anyway! I've changed the wiki to mention update-grub
consistently, which is the name we prefer for this.

> We have two different executables (karmic installation from beta CD):
> komputes at mini:~$ ls -al /usr/sbin/update-grub
> -rwxr-xr-x 1 root root 60 2009-10-16 12:15 /usr/sbin/update-grub
> komputes at mini:~$ ls -al /usr/sbin/update-grub2
> -rwxr-xr-x 1 root root 35 2009-10-16 12:15 /usr/sbin/update-grub2
> 
> I would expect one of these to be symlinked to the other if they do the
> same thing. What is the difference between these two and why do we keep
> both?

A symlink and a shell script that says 'exec update-grub "$@"' (as this
does) take up the same amount of space on disk (one block). It makes no
practical difference which it is.

People have quite clearly got used to using both, so it does no harm to
keep both around for compatibility.

 status wontfix


** Changed in: grub2 (Ubuntu)
       Status: New => Won't Fix

-- 
Mistakes to be corrected in GRUB2 /etc/default/grub
https://bugs.launchpad.net/bugs/457700
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list