[Bug 1477854] [NEW] tab-completion for grub-set-default suggests wrong id for kernel

Hanno 1477854 at bugs.launchpad.net
Fri Jul 24 07:21:17 UTC 2015


Public bug reported:

When using grub-set-default, it offers tab-completion on the command
line.

On my system, entering "grub-set-default" and then pushing tab twice
will result in a list of possible kernels, e.g.

Ubuntu, with Linux 3.12.0-rc7-custom
Ubuntu, with Linux 3.19.0-23-generic

Ok, so let's use on of these:

grub-set-default "Ubuntu, with Linux 3.19.0-23-generic"

That won't work. Instead, "update-grub" will complain:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-23-generic
Found initrd image: /boot/initrd.img-3.19.0-23-generic
Warning: Please don't use old title `Ubuntu, with Linux 3.19.0-23-generic' for GRUB_DEFAULT, use `Advanced options for Ubuntu>Ubuntu, with Linux 3.19.0-23-generic' (for versions before 2.00) or `gnulinux-advanced-956a13ed-762e-4b00-8688-67f6339d5c37>gnulinux-3.19.0-23-generic-advanced-956a13ed-762e-4b00-8688-67f6339d5c37' (for 2.00 or later)
Found linux image: /boot/vmlinuz-3.12.0-rc7-custom
Found initrd image: /boot/initrd.img-3.12.0-rc7-custom
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done

So if tab-completion is suggestion the wrong title, it should be fixed.

This bug occured on Ubuntu 15.04 with grub2-common
2.02~beta2-22ubuntu1.1

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1477854

Title:
  tab-completion for grub-set-default suggests wrong id for kernel

Status in grub2 package in Ubuntu:
  New

Bug description:
  When using grub-set-default, it offers tab-completion on the command
  line.

  On my system, entering "grub-set-default" and then pushing tab twice
  will result in a list of possible kernels, e.g.

  Ubuntu, with Linux 3.12.0-rc7-custom
  Ubuntu, with Linux 3.19.0-23-generic

  Ok, so let's use on of these:

  grub-set-default "Ubuntu, with Linux 3.19.0-23-generic"

  That won't work. Instead, "update-grub" will complain:

  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-23-generic
  Found initrd image: /boot/initrd.img-3.19.0-23-generic
  Warning: Please don't use old title `Ubuntu, with Linux 3.19.0-23-generic' for GRUB_DEFAULT, use `Advanced options for Ubuntu>Ubuntu, with Linux 3.19.0-23-generic' (for versions before 2.00) or `gnulinux-advanced-956a13ed-762e-4b00-8688-67f6339d5c37>gnulinux-3.19.0-23-generic-advanced-956a13ed-762e-4b00-8688-67f6339d5c37' (for 2.00 or later)
  Found linux image: /boot/vmlinuz-3.12.0-rc7-custom
  Found initrd image: /boot/initrd.img-3.12.0-rc7-custom
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  done

  So if tab-completion is suggestion the wrong title, it should be
  fixed.

  This bug occured on Ubuntu 15.04 with grub2-common
  2.02~beta2-22ubuntu1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1477854/+subscriptions



More information about the foundations-bugs mailing list