Your message dated Fri, 21 Jun 2024 23:34:44 +0000
with message-id <[email protected]>
and subject line Bug#1073031: fixed in kexec-tools 1:2.0.27-1.2
has caused the Debian Bug report #1073031,
regarding kexec-tools: move aliased files to /usr for DEP17
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 [email protected]
immediately.)


-- 
1073031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073031
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kexec-tools
Version: 1:2.0.27-1.1
Severity: important
Tags: patch

Hi,

kexec-tools is part of the /usr-move (DEP17) migration due to installing
files into /sbin, which is an aliased location. We want to eliminate
(bad) aliasing effects by not installing any aliased files anymore.
Hence, kexec-tools also needs to move and since it doesn't use dh, it
cannot be moved using dh-sequence-movetousr. Therefore, I'm attaching a
patch to perform the move manualy. Note that this patch must not be
backported to bookworm-backports or earlier. kexec-tools isn't usually
backported, so this likely is not a problem.

Helmut
diff --minimal -Nru kexec-tools-2.0.27/debian/changelog 
kexec-tools-2.0.27/debian/changelog
--- kexec-tools-2.0.27/debian/changelog 2024-04-27 14:49:56.000000000 +0200
+++ kexec-tools-2.0.27/debian/changelog 2024-05-03 12:35:57.000000000 +0200
@@ -1,3 +1,10 @@
+kexec-tools (1:2.0.27-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move files to /usr for DEP17. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 03 May 2024 12:35:57 +0200
+
 kexec-tools (1:2.0.27-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru kexec-tools-2.0.27/debian/kexec-tools.dirs 
kexec-tools-2.0.27/debian/kexec-tools.dirs
--- kexec-tools-2.0.27/debian/kexec-tools.dirs  2023-08-22 18:53:02.000000000 
+0200
+++ kexec-tools-2.0.27/debian/kexec-tools.dirs  2024-05-03 12:34:38.000000000 
+0200
@@ -1,2 +1,2 @@
-sbin
+usr/sbin
 etc/default/kexec.d
diff --minimal -Nru kexec-tools-2.0.27/debian/patches/coldreboot.patch 
kexec-tools-2.0.27/debian/patches/coldreboot.patch
--- kexec-tools-2.0.27/debian/patches/coldreboot.patch  2023-09-17 
19:09:53.000000000 +0200
+++ kexec-tools-2.0.27/debian/patches/coldreboot.patch  2024-05-03 
12:35:21.000000000 +0200
@@ -57,7 +57,7 @@
 +
 +/bin/rm -f $NOKEXECFILE
 +touch $NOKEXECFILE
-+/sbin/reboot $*
++/usr/sbin/reboot $*
 --- /dev/null
 +++ b/kexec/coldreboot.8
 @@ -0,0 +1,25 @@
diff --minimal -Nru kexec-tools-2.0.27/debian/patches/systemd-support.patch 
kexec-tools-2.0.27/debian/patches/systemd-support.patch
--- kexec-tools-2.0.27/debian/patches/systemd-support.patch     2023-10-04 
18:22:02.000000000 +0200
+++ kexec-tools-2.0.27/debian/patches/systemd-support.patch     2024-05-03 
12:35:38.000000000 +0200
@@ -121,7 +121,7 @@
 +}
 +
 +load_kernel () {
-+      test -x /sbin/kexec || exit 0
++      test -x /usr/sbin/kexec || exit 0
 +      test "x`cat /sys/kernel/kexec_loaded`y" = "x1y" && exit 0
 +
 +      if [ -f $NOKEXECFILE ]
@@ -138,9 +138,9 @@
 +      echo "Loading new kernel image into memory"
 +      if [ -z "$INITRD" ]
 +      then
-+              /sbin/kexec -l "$KERNEL_IMAGE" --append="$REAL_APPEND"
++              /usr/sbin/kexec -l "$KERNEL_IMAGE" --append="$REAL_APPEND"
 +      else
-+              /sbin/kexec -l "$KERNEL_IMAGE" --initrd="$INITRD" 
--append="$REAL_APPEND"
++              /usr/sbin/kexec -l "$KERNEL_IMAGE" --initrd="$INITRD" 
--append="$REAL_APPEND"
 +      fi
 +      echo "kexec kernel loaded"
 +}
diff --minimal -Nru kexec-tools-2.0.27/debian/rules 
kexec-tools-2.0.27/debian/rules
--- kexec-tools-2.0.27/debian/rules     2023-10-04 19:59:38.000000000 +0200
+++ kexec-tools-2.0.27/debian/rules     2024-05-03 12:34:51.000000000 +0200
@@ -27,7 +27,7 @@
        dh_testdir
        dh_update_autotools_config
        dh_autoreconf
-       CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
dh_auto_configure -- --prefix=/usr --exec-prefix=/ --sbindir=/sbin 
--mandir=/usr/share/man --datadir=/usr/share
+       CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" CFLAGS="$(shell 
dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" 
dh_auto_configure -- --prefix=/usr --exec-prefix=/ --sbindir=/usr/sbin 
--mandir=/usr/share/man --datadir=/usr/share
        touch configure-stamp
 
 build: build-arch build-indep
@@ -63,7 +63,7 @@
        [ ! -f 
$(CURDIR)/debian/kexec-tools/usr/lib/kexec-tools-testing/kexec_test.static ] || 
strip $(CURDIR)/debian/kexec-tools/usr/lib/kexec-tools-testing/kexec_test.static
 endif
 
-       install -D -m 0755 debian/kexec-tools/sbin/kexec 
debian/kexec-tools-udeb/sbin/kexec
+       install -D -m 0755 debian/kexec-tools/usr/sbin/kexec 
debian/kexec-tools-udeb/usr/sbin/kexec
 
 binary-indep: build install
 

--- End Message ---
--- Begin Message ---
Source: kexec-tools
Source-Version: 1:2.0.27-1.2
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
kexec-tools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated kexec-tools 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 12 Jun 2024 00:36:59 +0200
Source: kexec-tools
Architecture: source
Version: 1:2.0.27-1.2
Distribution: unstable
Urgency: medium
Maintainer: Khalid Aziz <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1073031
Changes:
 kexec-tools (1:2.0.27-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Install programs into canonical locations in /usr. (DEP17 M2)
     (Closes: #1073031)
Checksums-Sha1:
 1bf4219f3deb6c707d7edda3ccd6878022bf7e94 2005 kexec-tools_2.0.27-1.2.dsc
 6f724b2a251bbc2a641cf1f1a113510391f4dfc3 26960 
kexec-tools_2.0.27-1.2.debian.tar.xz
 c3a39ed02f483537a9f05da3d9565791b589fd37 6856 
kexec-tools_2.0.27-1.2_arm64.buildinfo
Checksums-Sha256:
 be910dd6b7b77f19cfda4eee5005723829c31cd42411176fece8bbfb05d0eef5 2005 
kexec-tools_2.0.27-1.2.dsc
 b4811c7d7cc083c01ac0fe712e0563bb08a61ba0354959729a07efd7fd11c48b 26960 
kexec-tools_2.0.27-1.2.debian.tar.xz
 cd91ca7a3830ab282d9f0e9f7ab665f4533a8d620b17c18934c33f71e0d69d48 6856 
kexec-tools_2.0.27-1.2_arm64.buildinfo
Files:
 1809bf784ca2c9b4e99cf90e5da5a874 2005 admin optional kexec-tools_2.0.27-1.2.dsc
 9d562825edf70925476c2fdf6830f552 26960 admin optional 
kexec-tools_2.0.27-1.2.debian.tar.xz
 83a9ca6b277ba938fc45c3b45032202b 6856 admin optional 
kexec-tools_2.0.27-1.2_arm64.buildinfo

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

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmZo1L4ACgkQXBPW25MF
LgNIOw/9GLGVAwmeZRC2isdfgubuSXkq/BbCmWM5xlH5HH0wDOg07DeAinxyZQeh
UxKO5RIaOs8O0lur5QTQpJaiRwHzcCPtQYMebMwUPI1Ldxh1gEfkbcPXoqdlMQBg
+pthyQJGwyZOzxKOl8pi3GRBke5ZWsidE1dibXk+/sVt/wWkkPTIQC4tkK6MjXGp
BKSMjS921zn4g5B4SQ0Q7Nfql982xKYNJGrTv/Btb/YRDjMvXYtO97JUW/Xq+viq
40R216YvHK3I8smlsEd2X1kTsOxLtzVXrcZKIeqSLtHyqpHBICkEAl0gSOCpdgdB
zwsPEPwT5JV8Fq4AJ++JaQMJje0wbrnsp1vIUASqxMtK2l3qTB3hwOh8aCSUydC/
+vD/M5XDijSdKfFZwJO9dsVPVW6jj7TVf1g13ipRMIvUDZIO4USMNOrqcvB8qLVu
Fuj0NMQuVvJdOR0MW1Mmq1NkaSPLop8n/MIhIgavnmKoREPWOKAYRnKc2jAWfFK2
M+wRr7EpsNVD/HV3RAyRP78GpKRX/t3qQ1Txc0pqVVFtCkLIXA4ZWHxjgIEq6+Et
fM9r7zwbCWB7KUTeg2wRhqmDTySHLD7ZQU/t/Txp5PLSINjIkeJuR3uUC8VscL68
cosg6DGiNnkaT1++o/n5fSr8MTXjFNO/w2fJttgN0yBwQCek4u8=
=Mgx/
-----END PGP SIGNATURE-----

Attachment: pgpTtutMeBaA3.pgp
Description: PGP signature


--- End Message ---

Reply via email to