Yesterday we had kernel updates. My server, which is set to
automatically reboot, reboot fine and no /var/run/reboot-required. This
morning there was no second reboot, so everything was as expected. The I
ran autoremove to remove the stale kernel. Then I had /var/run/reboot-
required and /var/run/reboot-required.pkgs contained linux-base. So I
wouldn't think removing a kernel should require a reboot. So is this a
bug or am I not understand how this should work?
I confirmed this on a second 16.04 server
Attached are the /var/log/apt/history.logs from before autoremove and
** Attachment added: "before_history.log"
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
After rebooting for updates, reboot is still required.
Status in One Hundred Papercuts:
Status in unattended-upgrades package in Ubuntu:
Yesterday unattended-upgrades required a reboot for kernel updates as
expected. But today unattended-upgrades required a reboot even though
there were no updates.
2016-09-20 05:20:10,409 INFO Initial blacklisted packages:
2016-09-20 05:20:10,410 INFO Initial whitelisted packages:
2016-09-20 05:20:10,411 INFO Starting unattended upgrades script
2016-09-20 05:20:10,411 INFO Allowed origins are:
2016-09-20 05:21:13,118 INFO Packages that will be upgraded: linux-generic
linux-headers-generic linux-image-generic linux-libc-dev
2016-09-20 05:21:13,119 INFO Writing dpkg log to
2016-09-20 05:24:17,405 INFO All upgrades installed
2016-09-20 05:24:24,959 WARNING Found /var/run/reboot-required, rebooting
2016-09-21 05:10:54,080 INFO Initial blacklisted packages:
2016-09-21 05:10:54,088 INFO Initial whitelisted packages:
2016-09-21 05:10:54,089 INFO Starting unattended upgrades script
2016-09-21 05:10:54,089 INFO Allowed origins are:
2016-09-21 05:11:02,624 INFO No packages found that can be upgraded
unattended and no pending auto-removals
2016-09-21 05:11:02,624 WARNING Found /var/run/reboot-required, rebooting
On this machine (16.04 server) unattended-upgrades is configured to
This also happened on another 16.04 server with default unattended-
upgrades configuration. It displayed the *******System restart
required******* message. The same on a 14.04 server and a 14.04
Expected behaviour: Not to do an unnecessary reboot.
Let me know what other information I can provide.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~touch-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp