On Wed, 22 Mar 2017, Andrei Borzenkov wrote:
On Wed, Mar 22, 2017 at 11:45 AM, Richard Biener
wrote: Not sure why you need to reboot twice - you'd apply a kernel update online in a non-transactional way (we have working ways of "rolling" back to the old kernel). So the reboot updates the kernel, from the initrd you apply the update and simply continue booting?
Some services may be taken over from initrd. In this case initrd had been generated using old versions and they will continue to be used even if you update root to new version until next reboot. This may lead to rather hard to debug issues because everything after boot will indicate you have new versions installed.
Well, apply the update from init (systemd) then before it spawns
anything else. init can reload itself.
Yes, there are implementation difficulties but it can work. You
still do have to wait for those updates to be applied of course.
Richard.
--
Richard Biener