← Back to team overview

kernel-packages team mailing list archive

[Bug 1501884] Re: linux-image-extra-*-generic postrm script runs install actions

 

I have attached an (untested) patch to fix this issue hoping that that
will prod it along a bit. The patch is against the sources of
`linux_3.13.0-67.110` as downloaded by an `apt-get source
linux=3.13.0-67.110` on 14.04.3.

Cheers,
Seb

** Patch added: "Change the image-extra post* maintainer script to run runparts on the appropriate directory in /etc/kernel."
   https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1501884/+attachment/4515267/+files/fix-image-extra-postrm-action.diff

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

Title:
  linux-image-extra-*-generic postrm script runs install actions

Status in linux-lts-trusty package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  The postrm maintainer script in the binary packages linux-image-
  extra-*-generic runs the scripts in /etc/kernel/postinst.d instead of
  those in /etc/kernel/postrm.d.

  This can have all sorts of undesirable consequences depending on what
  other packages add to those directories, but I noticed it because it
  caused /etc/kernel/postinst.d/apt-auto-removal to make the wrong
  decisions leaving my servers with only one installed kernel left.

  Cheers,
  Seb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-trusty/+bug/1501884/+subscriptions


References