[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754298: marked as done (partman-auto-raid cannot handle more than 10 md devices)



Your message dated Thu, 26 Feb 2015 04:49:01 +0000
with message-id <E1YQqNh-0005mU-KB@franck.debian.org>
and subject line Bug#754298: fixed in partman-auto-raid 28
has caused the Debian Bug report #754298,
regarding partman-auto-raid cannot handle more than 10 md devices
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 owner@bugs.debian.org
immediately.)


-- 
754298: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754298
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-auto-raid
Version: 26
Severity: normal
Tags: d-i patch

If you try to run partman-auto-raid to set up an md device on a system that
has more than 10 md devices, it fails to assemble one of the devices with an
error that md10 already exists.

This has already been reported in the Ubuntu bugtracker, but seems not to have
been pushed upstream:

https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/1096220

It occurs because the md numbers are sorted lexicographically rather than
numerically when allocating the next number.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/auto-raidcfg b/auto-raidcfg
index 24c24c1..01722c1 100755
--- a/auto-raidcfg
+++ b/auto-raidcfg
@@ -51,7 +51,7 @@ create_raid() {
 
 	# Find the next available md-number
 	MD_NUM=$(grep ^md /proc/mdstat | sed -e 's/^md\(.*\) : active .*/\1/' | \
-		sort | tail -n 1)
+		sort -n | tail -n 1)
 	if [ -z "$MD_NUM" ]; then
 		MD_NUM=0
 	else

--- End Message ---
--- Begin Message ---
Source: partman-auto-raid
Source-Version: 28

We believe that the bug you reported is fixed in the latest version of
partman-auto-raid, 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 754298@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated partman-auto-raid 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 26 Feb 2015 05:34:17 +0100
Source: partman-auto-raid
Binary: partman-auto-raid
Architecture: source all
Version: 28
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description:
 partman-auto-raid - Allow preseeded RAID installs (udeb)
Closes: 754298
Changes:
 partman-auto-raid (28) unstable; urgency=medium
 .
   * Sort devices numerically instead of lexicographically, which would
     result in assembling issues with 10+ devices (Closes: #754298,
     LP: #1096220). Thanks to Brian Campbell for forwarding it from LP!
Checksums-Sha1:
 59383076520cf0b3f33154a8d03917afcf182321 1695 partman-auto-raid_28.dsc
 c957205f08f643e1a3bb44da17d8073514c48edc 37984 partman-auto-raid_28.tar.xz
 99ec9458adc0a7cf9f671a14095263343b466d95 22136 partman-auto-raid_28_all.udeb
Checksums-Sha256:
 2d1ef02b4594fc5354aa3743b8f7929349261a58fec205fc568c35e92b019c13 1695 partman-auto-raid_28.dsc
 be3c116895efcffd9d980faa9183bed452873e27473c4a6b77a1238e02436a88 37984 partman-auto-raid_28.tar.xz
 a61b7e1ccae6f6d84b743094355ece7eb94efb69ab38c0bdf97a790fcfb077e8 22136 partman-auto-raid_28_all.udeb
Files:
 e91e37dcae00e1eec01cc489827b681e 1695 debian-installer standard partman-auto-raid_28.dsc
 076759a211e9acbc270165965086b2f4 37984 debian-installer standard partman-auto-raid_28.tar.xz
 861d9d77c9d1c02eb6d30ece2d5ffd1c 22136 debian-installer standard partman-auto-raid_28_all.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJU7qLqAAoJEP+RSvDCs1UgNtEP/0OUlhUegoPbhSLl0POUvGj0
E7rGL1E6+GoAS5mAWPwMnm1ColWRjwHm9IpjRuUxY8Xds1xD3aHUP4r1ZEQFOgAo
0lRPSFbpaMJtvLsjvVMYLPjrXY1qg20u+wJnyP34iscl8FlG9gIQ4Qm2RhUaO05i
1OvCZTyuIc22RVHL0WTmx24r+WqNPdVS4UYHKhOAYkOHpE3Vf7o49agFiYaXkrbN
Utu9U33cZ+r3dXhmVHV3pOPe684CGOQkqQ8Azudz+29XcgWAHW0j+Y/b0kmqW6rf
RkY23+xsffDwvtLvr8OIACLCXqZkWcWIV6+WAM4tgcsq6tw+Bmjv88uIwvKKhqNy
Dzdh/a1QCKIIZwE2+8Oq1H3xNwC2iGRp3eux4YWTAkBiZgOuogOzoEJGue9BCG/w
igm3PCRENozBwFqm0A/E7dtjP10DoMq2S38hJgy8YOQWOxj5KauH+L47+ARYjc9i
2vYIKAH/Aax7v534QC1cwKmnpitxFFaczpYyMGLcnMNkdRF5ySLZvn6fyCEJ5tGU
cTxpWGsPIQaMhPR5LKcP8c+U2ww2H4rGLJqq3ca35I4MMEoGNKJAPpGrDl+KZhN9
wbBZOd5EkB8yi/3Il7gNviIRFbiB/V8EFpny6SPBFH8uYrECeR2hSLwjZEWfN+Lj
7vUNk20EblPcmWVTeMKr
=zvfU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: