Your message dated Wed, 05 Jun 2024 05:07:01 +0000
with message-id <[email protected]>
and subject line Bug#1064449: fixed in open-infrastructure-system-tools
20190301-lts1-4
has caused the Debian Bug report #1064449,
regarding open-infrastructure-system-build: ineffective diversions due to
/usr-move (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.)
--
1064449: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: open-infrastructure-system-build
Version: 20190301-lts1-3
User: [email protected]
Usertags: dep17m3
Tags: patch trixie sid
Control: affects -1 + dpkg hostname
Some of the scripts contained in open-infrastructure-systemd-build
divert /sbin/start-stop-daemon and /bin/hostname. These files have been
moved to /usr in unstable to remove aliasing effects arising from the
/usr-merge transition. As a result, these diversions have become
ineffective. I'm attaching a patch that duplicates them to temporarily
cover both locations until we can remove the diversions for aliased
locations post trixie.
Helmut
--- open-infrastructure-system-tools-20190301-lts1.orig/system-build/scripts/build/chroot_dpkg
+++ open-infrastructure-system-tools-20190301-lts1/system-build/scripts/build/chroot_dpkg
@@ -41,9 +41,15 @@ case "${1}" in
Create_lockfile .lock
# Create custom start-stop-daemon program
- Chroot chroot dpkg-divert --rename --quiet --add /sbin/start-stop-daemon
+ Chroot chroot dpkg-divert --rename --quiet --add /usr/sbin/start-stop-daemon
+ # begin-remove-after: released:trixie
+ # In the bookworm to trixie upgrade, dpkg moves
+ # start-stop-daemon from /sbin to /usr/sbin. Duplicate the
+ # diversion to cover both. DEP17 P3 M18
+ Chroot chroot dpkg-divert --rename --quiet --add --divert /sbin/start-stop-daemon.distrib.usr-is-merged
+ # end-remove-after
-cat > chroot/sbin/start-stop-daemon << EOF
+cat > chroot/usr/sbin/start-stop-daemon << EOF
#!/bin/sh
exit 0
@@ -89,8 +95,11 @@ EOF
Chroot chroot dpkg-divert --rename --quiet --remove /usr/sbin/flash-kernel
# Remove custom start-stop-daemon program
- rm -f chroot/sbin/start-stop-daemon
+ rm -f chroot/usr/sbin/start-stop-daemon
+ # begin-remove-after: released:trixie
Chroot chroot dpkg-divert --rename --quiet --remove /sbin/start-stop-daemon
+ # end-remove-after
+ Chroot chroot dpkg-divert --rename --quiet --remove /usr/sbin/start-stop-daemon
# Remove dpkg sync configuration
rm -f chroot/etc/dpkg/dpkg.cfg.d/live-build
--- open-infrastructure-system-tools-20190301-lts1.orig/system-build/scripts/build/chroot_hostname
+++ open-infrastructure-system-tools-20190301-lts1/system-build/scripts/build/chroot_hostname
@@ -46,15 +46,21 @@ case "${1}" in
# Create custom hostname
Echo_message "Configuring file /bin/hostname"
- Chroot chroot dpkg-divert --rename --quiet --add /bin/hostname
+ Chroot chroot dpkg-divert --rename --quiet --add /usr/bin/hostname
+ # begin-remove-after: released:trixie
+ # In the bookworm to trixie upgrade, hostname moves hostname
+ # from /bin to /usr/bin. Duplicate the diversion to cover both.
+ # DEP17 P3 M18
+ Chroot chroot dpkg-divert --rename --quiet --add --divert /bin/hostname.distrib.usr-is-merged /bin/hostname
+ # end-remove-after
-cat > chroot/bin/hostname << EOF
+cat > chroot/usr/bin/hostname << EOF
#!/bin/sh
echo "localhost.localdomain"
EOF
- chmod 755 chroot/bin/hostname
+ chmod 755 chroot/usr/bin/hostname
# Creating stage file
Create_stagefile .build/chroot_hostname
@@ -79,7 +85,10 @@ EOF
# Remove custom hostname
rm -f chroot/bin/hostname
+ # begin-remove-after: released:trixie
Chroot chroot dpkg-divert --rename --quiet --remove /bin/hostname
+ # end-remove-after
+ Chroot chroot dpkg-divert --rename --quiet --remove /usr/bin/hostname
# Removing stage file
rm -f .build/chroot_hostname
--- End Message ---
--- Begin Message ---
Source: open-infrastructure-system-tools
Source-Version: 20190301-lts1-4
Done: Daniel Baumann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
open-infrastructure-system-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.
Daniel Baumann <[email protected]> (supplier of updated
open-infrastructure-system-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: SHA512
Format: 1.8
Date: Wed, 05 Jun 2024 06:38:42 +0200
Source: open-infrastructure-system-tools
Architecture: source
Version: 20190301-lts1-4
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1064449
Changes:
open-infrastructure-system-tools (20190301-lts1-4) sid; urgency=medium
.
* Uploading to sid.
* Updating copyright for 2024.
* Updating to standards-version 4.7.0.
* Adding patch to work on systems with /usr move, thanks to Helmut
Grohne <[email protected]> (Closes: #1064449).
Checksums-Sha1:
c0b9488c9f306278e70dcf1d808df327e5216b98 2597
open-infrastructure-system-tools_20190301-lts1-4.dsc
34ab02571c2a1c97c7d8bf4bc8f30d8c7f4b96d9 4900
open-infrastructure-system-tools_20190301-lts1-4.debian.tar.xz
3527ef303af1f11daf0793ecbc200a8e9ecf3e6d 7798
open-infrastructure-system-tools_20190301-lts1-4_amd64.buildinfo
Checksums-Sha256:
b875c57d371130d425411383a4da04bf468f752e5273bbe6ba02a8a8c31e205f 2597
open-infrastructure-system-tools_20190301-lts1-4.dsc
03d0feef385731c1a84eb1d3ca85b77e5bce725624a9b92d49b249b17edb73d9 4900
open-infrastructure-system-tools_20190301-lts1-4.debian.tar.xz
f138c225fa244f69ef4dd08b382b06862a2b36b7cd57e192cdebb43295bea887 7798
open-infrastructure-system-tools_20190301-lts1-4_amd64.buildinfo
Files:
762e15e9d0ea1f47744ca5750c602e0c 2597 admin optional
open-infrastructure-system-tools_20190301-lts1-4.dsc
dd4f89053e3c9adda1f2f0a38a4d1056 4900 admin optional
open-infrastructure-system-tools_20190301-lts1-4.debian.tar.xz
24f1a7d7c1fe298a2d713179b075e3f4 7798 admin optional
open-infrastructure-system-tools_20190301-lts1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgTbtJcfWfpLHSkKSVc8b+YaruccFAmZf7AEACgkQVc8b+Yar
ucdBHA/9H2OYx1riZKYqsDHuBdYoIqvlCzKpg2OsvScsnREyWBDE0RCRSlO+C65H
6ZQ0rdwmEJKbSdJkozNS4tLK/LHblefrDwbc6NwovF/Xytrx4jjn12P61yboXpNS
DASRoTsocf7vS1HOkDicRRMwUIuxBxXh69DWmcXHrsxF7LUgerupoZxJe+ZpGzvk
fOA0H+PJGD3Zb8FQK96W58R69AlLQnrW0Wx+bEuNIcXOnz04/FGRY/94E0qOUm7w
QKsZroiJIPw8h0SEs9o73q7cJq5duM3YhwVyRflETgVN25SPBX47tNd02ZL8gRc9
cGoahri/xklW7U+kFSV1A/ZiDEDY04ckYU/qW4XSW2on1ltycidYsTje4i6kLJi1
JKTSk5jUVaHO0u1s01uqj7XVsHdBcQglatzC6TuQH5WvvyXy1uOjxhmlUOcUVCo8
EcXvmtUOwszJS7jZAAXyQ3wzKoGVk0DFHwxzBBAbpXHd7eg1vtXN+y5GIj1UfU0d
e7Ut9IKbvTqx2eHcRbnTR8TDa0Nm0MlLMwCTtevGxlCXq5JfFoH3ERNyZRh68eje
RjTgoHKRyBpAMc8G2Hl2XFHpA/RY73EwdKGzazVboFVBvAyxQd5OukDNdvmS4qaJ
BmV8U4ffcxASNvZIRRZ4KzFF3d+UEngAdWILaS/UoY3ReXwKGd8=
=W1TQ
-----END PGP SIGNATURE-----
pgpFafhS_DnFN.pgp
Description: PGP signature
--- End Message ---