[Bug 1742903] Re: Microcode updates require a reboot to apply, but package postinst doesn't touch /run/reboot-required

Henrique de Moraes Holschuh 1742903 at bugs.launchpad.net
Thu Mar 22 17:04:28 UTC 2018


On Thu, 22 Mar 2018, Dimitri John Ledkov wrote:
> but it may need to be more smart; e.g. check the new microcode revisions
> vs currently loaded; to see if there was an update to microcode for this
> system, actually

That would be why I did not do it in the Debian package (yet).  It is
hard to make it fool-proof, and it will be really annoying [to the user]
if the package triggers unnecessary reboots (which will be the *rule* on
older processors that rarely get updates).

If you have good ideas on how to do it, I am listening...

-- 
  Henrique Holschuh

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

Title:
  Microcode updates require a reboot to apply, but package postinst
  doesn't touch /run/reboot-required

Status in intel-microcode package in Ubuntu:
  Triaged
Status in intel-microcode source package in Bionic:
  Triaged

Bug description:
  The intel-microcode postinst script prints this text to standard error

      intel-microcode: microcode will be updated at next boot

  but tools like unattended-upgrades don't parse stderr, they expect a
  /run/reboot-required to exist to tell them that a reboot is needed to
  complete the update.

  Can you fix the postinst script to touch /run/reboot-required?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-microcode/+bug/1742903/+subscriptions



More information about the foundations-bugs mailing list