← Back to team overview

kernel-packages team mailing list archive

[Bug 1318111] Re: Adds more and more copies of ‘crashkernel=384M-:128M’ in /etc/default/grub when upgrading or reinstalling grub-pc

 

replace the content of /etc/default/grub.d/kexec-tools.cfg with:

KEXEC_TOAPPEND="crashkernel=384M-:128M"

case "$GRUB_CMDLINE_LINUX_DEFAULT" in
    *$KEXEC_TOAPPEND*)
        ;;
    *)
        GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $KEXEC_TOAPPEND"
        ;;
esac

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1318111

Title:
  Adds more and more copies of ‘crashkernel=384M-:128M’ in
  /etc/default/grub when upgrading or reinstalling grub-pc

Status in kexec-tools package in Ubuntu:
  Confirmed

Bug description:
  # grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash crashkernel=384M-:128M"
  # apt-get install --reinstall grub-pc
  …
  # grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash crashkernel=384M-:128M crashkernel=384M-:128M"
  # apt-get install --reinstall grub-pc
  …
  # grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M"
  # apt-get install --reinstall grub-pc
  …
  # grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M"

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: kexec-tools 1:2.0.6-0ubuntu2
  Uname: Linux 3.15.0-031500rc4-generic x86_64
  NonfreeKernelModules: openafs
  ApportVersion: 2.14.2-0ubuntu2
  Architecture: amd64
  Date: Fri May  9 22:39:32 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2010-12-05 (1251 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
  SourcePackage: kexec-tools
  UpgradeStatus: Upgraded to utopic on 2013-10-31 (190 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1318111/+subscriptions


References