[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919507: Reboot required patch for Debian policy



On Thu, 17 Jan 2019 16:13:19 -0600 "Karl O. Pinc" <kop@meme.com> wrote:

> diff --git a/policy/ch-maintainerscripts.rst
> b/policy/ch-maintainerscripts.rst index 707f2d4..5942123 100644 ---
> a/policy/ch-maintainerscripts.rst +++ b/policy/ch-maintainerscripts.rst
> @@ -92,6 +92,32 @@ for failure, since the package management system looks for the exit
>  status of these scripts and determines what action to take next based
>  on that datum.
>  
> +.. index::
> +   pair: signaling; reboot +
> +.. _s-signalingreboot +
> +Signaling that a reboot is required
> +-----------------------------------
> +
> +.. index::
> +   single: reboot-required +   single: reboot-required.pkgs +
> +Maintainer scripts can signal that a reboot is required to fully apply
> +the changes to the system by touching ``/var/run/reboot-required`` and
> +adding the package name to
> +``/var/run/reboot-required.pkgs``. Maintainer scripts should not add 
> +the package name to ``/var/run/reboot-required.pkgs`` if it is already
> +present there.

/var/run is a compatibility symlink to /run. This paragraph should reference /run directly.

Saludos,

Reply to: