[Bug 1742903] Re: Microcode updates require a reboot to apply, but package postinst doesn't touch /run/reboot-required
Steve Beattie
1742903 at bugs.launchpad.net
Tue Jun 16 21:14:53 UTC 2020
The needrestart package has some sophisticated logic to detect whether
the system needs to be booted to get an updated microcode applied
(needrestart -w is how it can be invoked directly to report on microcode
status). The needrestart package is a bit much to be included as a
dependency or even a recommends for the intel-microcode package, but re-
using some of the logic might be appropriate.
--
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