Your message dated Wed, 02 Dec 2026 15:36:13 +0000
with message-id <[email protected]>
and subject line Bug#1146054: fixed in partman-auto 181
has caused the Debian Bug report #1146054,
regarding partman-auto: Detection of fakeRAID is flawed
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.)
--
1146054: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146054
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: partman-auto
Version: 179
Dear maintainers,
Commit 7dfd6208 ("don't hide /dev/md* arrays if they are provisioned on
whole-disk devices - in that case the md array itself is partitionable,
e.g. for md-fakeraid like imsm (Intel Matrix raid). (Closes: #699431)")
was intended to enable automatic partitioning on Intel Matrix fakeRAID
and keep disabling it on standard Linux md RAID. But it actually allows
almost any md RAID array.
[1] <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699431>
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699430>
The main logic is implemented in the following function:
is_wholedisk_mdraid () {
local device="`echo $1 | sed -e 's!/\([0-9]*\)$!\1!'`"
local mddisk=${device#/dev/}
local ret=0
local d
[ -d /sys/block/$mddisk/md ] || return 1
for d in /sys/block/$mddisk/slaves/*; do
case "$d" in
dm-*|md*)
;;
*p[0-9]|*p[0-9][0-9])
ret=1
break
;;
esac
done
return $ret
}
1) `/sys/block/$mddisk/slaves/*` cannot match `dm-*|md*`. Besidses IIUC
it would allow RAID over RAID, LVM or dm-crypt devices, so what is the
point of this check ?
2) `*p[0-9]|*p[0-9][0-9]` is intended to match partitions, but it
actually matches only partitions on devices whose node names end with a
digit (e.g. nvme or mmcblk) and have 'p' before the partition number. So
it does not match on SCSI-like (ATA, USB) drives.
3) RAID members not being partitions does not even guarantee that the
array is fakeRAID. Standard Linux md RAID can use whole unpartitioned
drives as members too. Automatic partitioning on such layout may result
in an unbootable system for both EFI (UEFI firmware cannot read the EFI
partition on Linux md RAID) and BIOS (GRUB may fail to install).
AFAIK d-i no longer supports fakeRAID with dm-raid and supports only
Intel Matrix RAID (IMSM) with md-raid. Is Intel Matrix RAID still used
and should it be supported by d-i ?
If yes, is_wholedisk_mdraid() should be replaced with a proper detection
of IMSM RAID arrays.
If no, either the above commit should be reverted in order to skip any
md RAID array, or any md RAID array should be allowed under the user's
responsibility (possibly resulting in an unbootable system).
Opinions ?
--- End Message ---
--- Begin Message ---
Source: partman-auto
Source-Version: 181
Done: Holger Wansing <[email protected]>
We believe that the bug you reported is fixed in the latest version of
partman-auto, 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.
Holger Wansing <[email protected]> (supplier of updated partman-auto 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, 02 Dec 2026 16:14:14 +0100
Source: partman-auto
Architecture: source
Version: 181
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <[email protected]>
Changed-By: Holger Wansing <[email protected]>
Closes: 1146054
Changes:
partman-auto (181) unstable; urgency=medium
.
* Team upload.
.
[ Holger Wansing ]
* Add pointer to bug for v180 changelog entry.
* copyright: Use DEP-5 format.
.
[ Pascal Hambourg ]
* Enable automatic partitioning on any md RAID. Closes: #1146054.
.
[ Updated translations ]
* Macedonian (mk.po) by stojkovskistefan
* Norwegian Bokmal (nb.po) by Telaneo
Checksums-Sha1:
b837343031ca43c5d0f120e2ac77154151090830 1713 partman-auto_181.dsc
15fdb3debc94c8f74514689d510ef29d56b623da 160984 partman-auto_181.tar.xz
d9aa0995f322478410e4deb2fdc54c599a2b4384 5644 partman-auto_181_amd64.buildinfo
Checksums-Sha256:
7bc2f52b6c5b9c3771d9c071504328fa9edda0d9155ac71989a93564d48c3d74 1713
partman-auto_181.dsc
f0b641db763f2536a7b1fcda9f5e7af2a493a1d6b34dc127179d457cb1b4ac32 160984
partman-auto_181.tar.xz
11de976f67f56e637833a3679a924e3c2e7c7692c2b8a93f9c021c65eb8c081d 5644
partman-auto_181_amd64.buildinfo
Files:
f705c6522d987c5dff79d3a169477b70 1713 debian-installer standard
partman-auto_181.dsc
f70f82ddc0e5ec59a914c34a6a8bb313 160984 debian-installer standard
partman-auto_181.tar.xz
e5d940115a9d80b0c016f26a6db6f0cb 5644 debian-installer standard
partman-auto_181_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEESWrG6BRCSzSFCDUpWfGHyhVusHYFAmsQNvEVHGh3YW5zaW5n
QG1haWxib3gub3JnAAoJEFnxh8oVbrB2soYQAJ6OwT1T2v1YIwut0gyk43VTsMH8
1xPr9oocz8hlCK0El7b1NjCdc2mtUHqn5GTb1Ti6JbdJN8O8cFSEF9CNuHCgZ6ET
cUHexYjdQ8rqAR5l8dwGBP7/lkjXmYiTG6U9mBmWg1OMhxwHopmRTCTWACzxAZHu
f/otdMwyQoedctFfLQv+vxRrcBZLTpwIk7VL4tcH/7KUjlFR/7EHfEPTasJJL+Mc
5U0r8fJjgGlOUgj9pk9enAJ6lxhqumadonQ3inelRd9LArBW7YLKq5TudaoTYmdJ
lVwYR6cWIFs1Zg7SsXPOO6aEIMYmR3pRvCBmYHDPbMWqMpqnomaSBh9WVRN9SUo6
i1ey3/jVSd8+4LKcH+VF7/B157BrcF6NgCajDQcMGuFhvygkFol6TnB7sE6gFcpX
fpY6zFh9tmVqOHFaHZ9cIDRd46hQQwlgv28vceCrRdhjw2Zlj31Mdgea8aTX1Bv7
t9dtPgnCD1Qto7eHZqcz3pS/srHwMWBBbzquaKPdMz4QXhEMTiSJn0WADsQNwIHF
RayqwGhmFjDUsv26HvZwRZNimEfFVHGhtJ/4ZtWBCqaoG513pX9Hp+KNrX2BvZ3c
kohe6oZ8wLOd8AfkpHKNNGQzlupa9yxxqmn2y1TKqDTAvfgRuOY1B1CmVbuzyynC
KaMVrl4cRrZkHTr/
=TWmJ
-----END PGP SIGNATURE-----
pgp80P2o2d1fb.pgp
Description: PGP signature
--- End Message ---