Bug#919507: Fw: Packaging policy to flag unattended-upgrades reboot
On Thu, 17 Jan 2019 13:31:56 +0500
Andrey Rahmatullin <firstname.lastname@example.org> wrote:
> On Wed, Jan 16, 2019 at 06:13:17PM -0600, Karl O. Pinc wrote:
> > P.S. Somebody on #debian-mentors was able to do a
> > search today for all the packages which, I think,
> > contained mention of "reboot-required". I don't
> > know what they did or how they did it.
> > There was a list of maybe 15 or 20 packages,
> > but the remark was that some of these are
> > tool-related. (?) I forget the details.
All packages in the returned list (below) which
touch /var/run/reboot-required in their maintainer
scripts do so in postinst after successful
unattended-upgrades (for the kernel)
Other packages (e.g. kubernetes,
cloud-init) touch /var/run/reboot-required.
(Kubernetes updates /var/run/reboot-required.pkgs.)
Many clearly look to the existence of
/var/run/reboot-required to notify the user
of a required reboot.
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein