Your message dated Thu, 16 Feb 2023 10:54:45 +0000
with message-id <[email protected]>
and subject line Bug#1029483: fixed in mmdebstrap 1.3.2-1
has caused the Debian Bug report #1029483,
regarding mmdebstrap: ld.so.cache unreproducible inside initrd for
--mode=fakechroot
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.)
--
1029483: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029483
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mmdebstrap
Version: 1.3.1-2
Severity: minor
Tags: patch
Hi Johannes,
while this is not the cause for my funny ppc64el and s390x boot
failures, I think this is worth fixing anyhow, so here we go:
When --mode=chroot wraps ldconfig, it overwrites and -r argument. As it
happens mkinitramfs passes -r to ldconfig. When mmdebstrap's ldconfig
intercepts that, it overwrites that -r and the initramfs ends up missing
a ld.so.cache, which should be non-fatal, but is a difference anyhow.
I've tried fixing this and my final solution ended up with a ld.so.cache
(even though it still wouldn't boot, but that's another problem). Please
take this patch with a grain of salt.
Helmut
--- a/ldconfig.fakechroot
+++ b/ldconfig.fakechroot
@@ -106,10 +106,24 @@
for d in get_libdirs(chroot, [chroot / "etc" / "ld.so.conf"]):
make_relative(d)
+ rootarg = chroot
+ argv = sys.argv[1:]
+ for arg in sys.argv[1:]:
+ if arg == "-r":
+ rootarg = None
+ elif rootarg is None:
+ argpath = Path(arg)
+ if argpath.is_absolute():
+ rootarg = chroot / argpath.relative_to("/")
+ else:
+ rootarg = Path.cwd() / argpath
+ if rootarg is None:
+ rootarg = chroot
+
# we add any additional arguments before "-r" such that any other "-r"
# option will be overwritten by the one we set
subprocess.check_call(
- [chroot / "sbin" / "ldconfig"] + sys.argv[1:] + ["-r", chroot]
+ [chroot / "sbin" / "ldconfig"] + sys.argv[1:] + ["-r", rootarg]
)
--- End Message ---
--- Begin Message ---
Source: mmdebstrap
Source-Version: 1.3.2-1
Done: Johannes Schauer Marin Rodrigues <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mmdebstrap, 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.
Johannes Schauer Marin Rodrigues <[email protected]> (supplier of updated
mmdebstrap 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: Thu, 16 Feb 2023 10:56:26 +0100
Source: mmdebstrap
Architecture: source
Version: 1.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Johannes Schauer Marin Rodrigues <[email protected]>
Changed-By: Johannes Schauer Marin Rodrigues <[email protected]>
Closes: 1029483
Changes:
mmdebstrap (1.3.2-1) unstable; urgency=medium
.
* new upstream release
- ldconfig.fakechroot doesn't ignore -r anymore (closes: #1029483)
Checksums-Sha1:
f0fc3d3c857d0f63e3d06da0eebf35f8b433b3c9 5048 mmdebstrap_1.3.2-1.dsc
b14db822017a4f0b8e03849b94357766fb9cb03e 140022 mmdebstrap_1.3.2.orig.tar.gz
21e6f30ae10fc4c7f240cd55be49ad7a175e056f 14344 mmdebstrap_1.3.2-1.debian.tar.xz
Checksums-Sha256:
0818db78930288463e924b0fa07c52b37260f85d75f11951ec3b6693829bebaf 5048
mmdebstrap_1.3.2-1.dsc
04d939196f3bedacd42c9dee2a5c2b72dd1f28f899ee14ba7cdc1890a144b8d6 140022
mmdebstrap_1.3.2.orig.tar.gz
f64e9e8ac23fd19f48d15e591fe15f906dc431e0ee059bf43962390c9f3c4626 14344
mmdebstrap_1.3.2-1.debian.tar.xz
Files:
2f14f2000792180fdb009468077b16c4 5048 admin optional mmdebstrap_1.3.2-1.dsc
95f7d5e517590cb13038f5e8f67a02a4 140022 admin optional
mmdebstrap_1.3.2.orig.tar.gz
217d7dc2fe7af9de91c43286053b18d8 14344 admin optional
mmdebstrap_1.3.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmPt/nwACgkQ8sulx4+9
g+G/1w/+PX3JzlCpWoNvExhJz+Jm3YXlUJ3H92La0owrhmHHAIYzyIOyptkfayQZ
RV33yH/RzyO2l02ouoC664d8y/cbuTPjRf88KIEChbyuqdE4pyckfD9M7gUWMpsG
tE0p5xjaq2BNpU8glyWu8VeWZkLms8a4qlxLds66hQ0urhuhM6MdihhLDuX8kpa+
htXJElqrZ69+Z7mshSGUqCTtcQDcemn9kwOTxIK1rO7jN7o59VguW2MhYQ6F9DQt
XGfxRZpaw1Yll4gRBZKApimizFaI5SN98PCp80hGzIItmzN3aXz8AxKqSP5KokPE
2/FL6M3kCNYNaEK49TZNRR5HU4IbzJunBD4JVfq28bStpwfLMRxtsblu/UQyy5mL
B5dQnmAP43rcfuemdQeHMPneaQS6ZxWo+q2VzsyGHBGd9hHkLq8qHrZKsxNC20u2
MCJVUYnolsJDW2HHjK9uldijOVds81mV85KYh4FIXRnG/f5y8wKC5jo8im7ZxVYi
LjKHkKQEpVKPnGfYWHj1vsVpV93aXD/UTQXviuaN6FqPIIUAcd+hWkoY4mMhmaBX
VLTAbx6oTm1B9SJg7cz5nTHzFq988tcfa/ZOLYNxev8UrAk7nhJ05FrOw7GSUhI8
TklYfV6Uu7qtQzT4EEwdxvO8JEGd0IGVqfZSZcMLDvYuFgBFwTc=
=eYro
-----END PGP SIGNATURE-----
--- End Message ---