[Bug 1383318] Re: extlinux-update sorts kernels in the wrong order due to not using sort -Vr, fixed upstream

Carey Underwood cwillu at cwillu.com
Mon Oct 20 14:24:54 UTC 2014


** Bug watch added: Debian Bug tracker #717128
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717128

** Also affects: syslinux via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717128
   Importance: Unknown
       Status: Unknown

** Bug watch added: Debian Bug tracker #708028
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708028

** Also affects: syslinux (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708028
   Importance: Unknown
       Status: Unknown

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

Title:
  extlinux-update sorts kernels in the wrong order due to not using sort
  -Vr, fixed upstream

Status in syslinux:
  Unknown
Status in “syslinux” package in Ubuntu:
  New
Status in “syslinux” package in Debian:
  Unknown

Bug description:
  extlinux-update contains the line _VERSIONS="$(cd /boot && ls
  vmlinuz-* | grep -v .dpkg-tmp | sed -e 's|vmlinuz-||g' | sort -nr)",
  which attempts to sort on version numbers numerically.  The problem is
  that in kernel version numbers, 3.10 comes after 3.9, while sort -n
  will sort it before (as 3.10 is numerically lower than 3.90 or 3.9).

  Debian has already fixed it to use the version sort (sort -Vr).

  I think this is worth an SRU as it causes 3.10+ kernels to not be
  booted while any 3.2-3.9 kernels are installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/syslinux/+bug/1383318/+subscriptions



More information about the foundations-bugs mailing list