Your message dated Fri, 11 Jul 2025 11:39:01 +0000
with message-id <e1uac5l-004cb6...@fasolo.debian.org>
and subject line Bug#1010699: fixed in linux-base 4.13
has caused the Debian Bug report #1010699,
regarding linux: Please touch /run/reboot-required in postinst
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1010699: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010699
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: linux
Version: 5.17.3-1
Severity: wishlist
X-Debbugs-Cc: bts.to.frankeng...@spamgourmet.com

Dear Maintainer,

in #919507 Debian Policy Manual was amended with a signal facility that a
reboot is required. For kernel images this signal had been in
unattended-upgrades and was kept there. This decision isn't suitable for
environments without the unattended-upgrades package. As this signal is
the result of each image install, the postinst scripts of image packages
seem the right place to implement this functionality:

diff --git a/debian/templates/image.postinst.in 
b/debian/templates/image.postinst.in
index 25e7dd6..1c606ee 100755
--- a/debian/templates/image.postinst.in
+++ b/debian/templates/image.postinst.in
@@ -22,4 +22,11 @@ if [ -d /etc/kernel/postinst.d ]; then
              --arg=$image_path /etc/kernel/postinst.d
 fi
 
+if [ -d /run ]; then
+    touch /run/reboot-required
+    if ! grep -q "^$DPKG_MAINTSCRIPT_PACKAGE$" /run/reboot-required.pkgs 2> 
/dev/null ; then
+        echo "$DPKG_MAINTSCRIPT_PACKAGE" >> /run/reboot-required.pkgs
+    fi
+fi
+
 exit 0


Thanks

--- End Message ---
--- Begin Message ---
Source: linux-base
Source-Version: 4.13
Done: Ben Hutchings <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
linux-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1010...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <b...@debian.org> (supplier of updated linux-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 11 Jul 2025 13:20:04 +0200
Source: linux-base
Architecture: source
Version: 4.13
Distribution: experimental
Urgency: medium
Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
Changed-By: Ben Hutchings <b...@debian.org>
Closes: 1010699
Changes:
 linux-base (4.13) experimental; urgency=medium
 .
   [ Salvatore Bonaccorso ]
   * postinst hook: Use reboot-required to flag required reboot
     (Closes: #1010699)
 .
   [ Ben Hutchings ]
   * postinst hook: Fix installation directory
Checksums-Sha1:
 8cbf245ebf9a84f993aceed05957c8e47cdb16c3 1746 linux-base_4.13.dsc
 af2cdc4966380d3a6082cc071d84ba66a597dd44 29776 linux-base_4.13.tar.xz
 353c3e39860b3abec7e86233be945751e2da0e99 7728 linux-base_4.13_source.buildinfo
Checksums-Sha256:
 271aca1f691eed0ca28cc2688712a7a33b40a234e623b075ea90ab2ff3e0a343 1746 
linux-base_4.13.dsc
 26ad65c0fc0487dafbe75dfa87fa698cb7378d51bc06a1c68dc138f3ae047b14 29776 
linux-base_4.13.tar.xz
 6fa768f78c43aea7fa44290e4ff0e96f85fc6cf4b3f82606f771dd67ff946e1d 7728 
linux-base_4.13_source.buildinfo
Files:
 f768519e7a2ba68115af99515d8841d6 1746 kernel optional linux-base_4.13.dsc
 52dc29705741fe19110115b45f1a0035 29776 kernel optional linux-base_4.13.tar.xz
 5da1f2726bf75de316a70bdf395bc8d7 7728 kernel optional 
linux-base_4.13_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhw9XoACgkQ57/I7JWG
EQmS6RAAyBcwfxHqarX1G/hYTaNkU0Eleji4rGPdaqXUaEQBgByjdiIXreTG9ZYq
7U6HrP2YPKikOEW/256nRl+NY5XQUGof4HTfa+aP1SkaSsjk4O4n+vZe3IQeboys
Q39VQ1+SkT2tryFrqQwxFQsRoCLZ7g7Z7G8+Ep7beYDDbB76S3Q2FDzTT3v7LdjW
+PFMaM0HR7GcAnC7QEWcxuhNnexx/YYE9aBehgxZ6n6F9uY5apu/8UfDyFyGZJXq
VSEfstCzDSAwnm3zoECKL37cYjWFBccpWGavwP8VJI2vjKIhkPXXUg4VhyVAc8VU
ibNwyLLs9kNSfmYBOLMKKGHubOfEutUmafpUuQysuiVqI2JzqmpjPy9oaXIaNkt+
qf4Bf5QWLzQ6Oa63UtUa81NvCBu3hdZbHD//bGZ8uSAO8Zi2xttdC/J/WI1HPzIl
mv6dyZyVQ8q6K4uWfaabdAXo4gRQXsRVnN9Ylmjvr5RgoE9nFOd8dLFS4uvMpzgE
hIA5/kCKRtUq4ny29ChGYyt0r4AsRNIYm2QgS9TUlq63vrJh9CUQcV5MejxPN0DW
NQnFVIBDjhiCpXmRXNLq5vDm9a6wPqvLy4eGUxnpV6msArGXyEKcjPEOPlpZH6qc
dBOUwIZK5+wQ2ny442ZfYwojpUqf2DLwF1CYBQZlmYlGokwQw8E=
=S4CL
-----END PGP SIGNATURE-----

Attachment: pgp1mjrYwO8uB.pgp
Description: PGP signature


--- End Message ---

Reply via email to