Your message dated Sun, 02 Nov 2025 12:17:09 +0000
with message-id <[email protected]>
and subject line Bug#1112265: fixed in asahi-scripts 20250130-3+deb13u1
has caused the Debian Bug report #1112265,
regarding asahi-scripts: update-m1n1 is not idempotent, breaking intended
safeguards
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.)
--
1112265: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112265
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asahi-scripts
Version: 20250130-3
Severity: important
Tags: upstream fixed-upstream trixie forky sid
X-Debbugs-Cc: [email protected]
Dear Maintainer,
update-m1n1 is not idempotent: if executed twice, it will happily create a
new boot binary, replace the old boot binary (/boot/efi/m1n1/boot.bin.old) with
the current one (/boot/efi/m1n1/boot.bin) and then move the new boot binary to
the path of the current one (/boot/efi/m1n1/boot.bin) without checking if
the new binary is the same as the current one. This breaks the fundamental
safeguard of making sure the current boot binary is always different from the
old one.
A real-life scenario where this can cause breakage is after kernel updates.
Suppose one has kernel version A and B installed, A < B, and call A and B the
boot binaries that update-m1n1 generated starting from the respective DTBs,
A: /boot/efi/m1n1/boot.bin.old
B: /boot/efi/m1n1/boot.bin
When the user updates to kernel version C, a new boot binary is generated and
we are left with
B: /boot/efi/m1n1/boot.bin.old
C: /boot/efi/m1n1/boot.bin
If the user now removes kernel version A, update-m1n1 is called again and we
are left with
C: /boot/efi/m1n1/boot.bin.old
C: /boot/efi/m1n1/boot.bin
which are the same binary. If kernel version C is broken for some reason, and
1. the breakage also affects the DTBS, or 2. the DTBs in C and kernel B are
incompatible, then the user won't be able to revert to using kernel B and/or
boot binary B. If update-m1n1 were idempotent (i.e. if it checked that the new
boot binary is different from the current one before doing the replacements),
it would be impossible to end up in this situation.
Cheers!
--- End Message ---
--- Begin Message ---
Source: asahi-scripts
Source-Version: 20250130-3+deb13u1
Done: NoisyCoil <[email protected]>
We believe that the bug you reported is fixed in the latest version of
asahi-scripts, 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.
NoisyCoil <[email protected]> (supplier of updated asahi-scripts 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: Sat, 01 Nov 2025 19:48:50 +0100
Source: asahi-scripts
Architecture: source
Version: 20250130-3+deb13u1
Distribution: trixie
Urgency: medium
Maintainer: Debian Bananas Team <[email protected]>
Changed-By: NoisyCoil <[email protected]>
Closes: 1112262 1112264 1112265
Changes:
asahi-scripts (20250130-3+deb13u1) trixie; urgency=medium
.
* Team upload.
* d/patches:
- add 0000-Backport-asahi-diagnose-Fix-macaudio-default-profile.patch
to fix the macaudio default profile check (Closes: #1112262)
- add 0000-Backport-asahi-diagnose-drop-tas2764-checks.patch to drop
the tas2764 quirk checks (Closes: #1112262)
- 0003-debian-Add-initramfs-tools-implementation-for-cpio-f.patch:
add the apple_nvmem_spmi module to the initramfs explicitly and
obsolete simple-mfd-spmi and nvmem_spmi_mfd (Closes: #1112264)
- add 0000-Backport-update-m1n1-clobber-boot.bin.old-only-on-changes.patch
to make update-m1n1 idempotent (Closes: #1112265)
- refresh
Checksums-Sha1:
7038364a2b6c9d3b26c1c9495e296a7b0016f6f0 1404
asahi-scripts_20250130-3+deb13u1.dsc
e18a0a19723899d7aa8436dd735eba1e23e25d15 11935
asahi-scripts_20250130.orig.tar.gz
4b1794c2998261f853c8f4a145e57050f9aa8c03 9284
asahi-scripts_20250130-3+deb13u1.debian.tar.xz
a26f40d6e99ae915e60012f602d07394c12e36b3 5179
asahi-scripts_20250130-3+deb13u1_arm64.buildinfo
Checksums-Sha256:
039f3248466395734594477dfa231ed2f4b1d6610fea023d8d2890ac349ffdfe 1404
asahi-scripts_20250130-3+deb13u1.dsc
4525719f97a765260deb9f78058f9567936924d5f1aeeb939323b389e146e95d 11935
asahi-scripts_20250130.orig.tar.gz
ebeae12d0b8120126307fd74330b92c51daf588b2d19a2e19822f61bad867d71 9284
asahi-scripts_20250130-3+deb13u1.debian.tar.xz
b059fb39c4e2d9ebc4c28bb34c760597ddc4cc5d67b3e47a4f38840456b9dcae 5179
asahi-scripts_20250130-3+deb13u1_arm64.buildinfo
Files:
c4d78d260b85eb6c765334bb490068e7 1404 admin optional
asahi-scripts_20250130-3+deb13u1.dsc
8b557f5208371b3e49cdeaed08ae15d8 11935 admin optional
asahi-scripts_20250130.orig.tar.gz
3a3d2526fb0b642373ed56a1f9cfaf3a 9284 admin optional
asahi-scripts_20250130-3+deb13u1.debian.tar.xz
7f4c408f7281fa40412a12bc8ca3f16c 5179 admin optional
asahi-scripts_20250130-3+deb13u1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQTG2tnBBHBfQbhyoL0kh/33+B9MIwUCaQZXmgAKCRAkh/33+B9M
I1Z2AP4mJdfLTCr+1qo7zAmbfG+TOusWLR0moqBV+GRF2RrLhgD/T2ZEqD6eeun6
QTfEboSV5C7rwV0qjkZEpRtFMOqANwY=
=Osqe
-----END PGP SIGNATURE-----
pgp2snRno3gTr.pgp
Description: PGP signature
--- End Message ---