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

Bug#699432: marked as done (partman-base: parted: skip devices that are part of a mdraid device)



Your message dated Mon, 02 Dec 2013 23:34:20 +0000
with message-id <E1Vnd0O-00063a-I2@franck.debian.org>
and subject line Bug#699432: fixed in partman-base 171
has caused the Debian Bug report #699432,
regarding partman-base: parted: skip devices that are part of a mdraid device
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.)


-- 
699432: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699432
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-base
Version: 163
Tags: patch

See metabug 699430, http://bugs.debian.org/699430 :
        (debian-installer: support for Intel Matrix Raid (RST, imsm)

  * init.d/parted: Skip devices that are part of a mdraid device

Thanks

diff -ruN 00-ORIG/partman-base-163/debian/changelog partman-base-163/debian/changelog
--- 00-ORIG/partman-base-163/debian/changelog	2012-12-21 13:49:25.000000000 +0000
+++ partman-base-163/debian/changelog	2013-01-29 14:53:17.923821518 +0000
@@ -1,3 +1,9 @@
+partman-base (163+1) unstable; urgency=low
+
+  * init.d/parted: Skip devices that are part of a mdraid device
+
+ -- Miquel van Smoorenburg <miquels@debian.org>  Tue, 29 Jan 2013 15:50:37 +0100
+
 partman-base (163) unstable; urgency=low
 
   * Revert "add debhelper token to postinst"
diff -ruN 00-ORIG/partman-base-163/init.d/parted partman-base-163/init.d/parted
--- 00-ORIG/partman-base-163/init.d/parted	2011-01-19 04:56:34.000000000 +0000
+++ partman-base-163/init.d/parted	2013-01-29 14:52:38.359133765 +0000
@@ -15,6 +15,20 @@
 	return 1
 }
 
+part_of_mdraid () {
+	local holder
+	local dev=${1#/dev/}
+	for holder in /sys/block/$dev/holders/*; do
+		local mddev=${holder##*/}
+		case "$mddev" in
+			md[0-9]|md[0-9][0-9]|md[0-9][0-9][0-9])
+				return 0
+				;;
+		esac
+	done
+	return 1
+}
+
 part_of_sataraid () {
 	local raiddev
 	for raiddev in $(dmraid -r -c); do
@@ -86,6 +100,11 @@
 			fi
 		fi
 
+		# Skip devices that are part of a mdraid device
+		if part_of_mdraid $device; then
+			continue
+		fi
+
 		# Skip devices that are part of a dmraid device
 		if type dmraid >/dev/null 2>&1 && \
 		   dmraid -r -c >/dev/null 2>&1; then

--- End Message ---
--- Begin Message ---
Source: partman-base
Source-Version: 171

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

Debian distribution maintenance software
pp.
Dmitrijs Ledkovs <xnox@ubuntu.com> (supplier of updated partman-base 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: SHA256

Format: 1.8
Date: Mon, 02 Dec 2013 23:15:47 +0000
Source: partman-base
Binary: partman-base partman-utils
Architecture: amd64 source
Version: 171
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Dmitrijs Ledkovs <xnox@ubuntu.com>
Closes: 699432
Description: 
 partman-base - Partition the storage devices (partman) (udeb)
 partman-utils - Utilities related to partitioning (udeb)
Changes: 
 partman-base (171) unstable; urgency=low
 .
   [ Miquel van Smoorenbur ]
   * init.d/parted: Skip devices that are part of a mdraid device. (Closes:
     #699432)
Checksums-Sha1: 
 5f95df45584c05f58bcc195d8c16882406b29571 1820 partman-base_171.dsc
 1c20dff0497d568c26a434e47586ce4f372182d2 209750 partman-base_171.tar.gz
 c04dbdfb96fb319e00d473f831efcd0ad9d85391 156708 partman-base_171_amd64.udeb
 050e741e9709867a791d50326f536b2edd4bf5c7 3346 partman-utils_171_amd64.udeb
Checksums-Sha256: 
 dc0c9a7c64d6d7354415a70ff6e84348792d492b74acbbee883feaebad215ca3 1820 partman-base_171.dsc
 64096e7ace53cfa2d919d8907a4164560b18c150e0f332bb2a1123a80600c993 209750 partman-base_171.tar.gz
 e9f457a1ec97b8aa048660d9cafc3ce4a8fbefcc036a8c634dc1f63ff3065ce2 156708 partman-base_171_amd64.udeb
 6b5297a3ddb5bb63e4d470db2590f96079aa4cadd33d810d36e3ecd40ce81e20 3346 partman-utils_171_amd64.udeb
Files: 
 84fbec0c6939df86ce5a78ba9e4cb627 1820 debian-installer standard partman-base_171.dsc
 aaaadbd5179ad033ffe71648b8066eb2 209750 debian-installer standard partman-base_171.tar.gz
 0b253d508b8de035e36777f5cc3d353d 156708 debian-installer standard partman-base_171_amd64.udeb
 44aadfac820a865e4bab50f3b553927d 3346 debian-installer extra partman-utils_171_amd64.udeb

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

iQIcBAEBCAAGBQJSnRWnAAoJEIh7YGGLPBauOH8QAJ5JBtIMJyKhox59Ed9rk8Ww
dDJs9rv7FI5pOuXR7fuxNW1IgKzH229S51ldDk8Emt+slpeSqQT/b5GUwLkczBF/
ORjKoBjUHWF824c3/rW935JtP/Fhpmt3s0hgFDvlH5q5qJEtaFvqYBk/tN2B8LlQ
hoXJO//9ztqCGaSA5OkIXa7Z36gxJJfPxLaLmJ0hLAHOyrSzsiYKFy07956UOu50
a98WAEk2YWurP1KDL30ZJjBt18tRurjFHqMZ1Y9YckidafhTmsrhJ7u6y8CQFDtL
ccx7+XfJOsRmH55gVMx5cU2Jxfq49rGTivZ7BX6CbEaMm15AFSpDXyAg7ttK4e6q
copIb8VzAhFwHLq7BstecskW7mT0Mn7BRWJ31jOX00RYhOKhdWRXfiHvM7sqGkmT
IreFwtQ3aYEplBcqHelABi1FcdyIWscm7esLLZ26+781xOFkQBLk2u5Sy8GRQUv0
nBwKPpMDJbG+ITZDgdHTw4RuaFBZMgLBgDAL1LMGhGFpjqjoJtKGy/XcExpy1cdW
ShUP21iAdMIejHRPShqioJrMbhXFTnCpuwQEintRZ8dYAyPBVcWCpGqGye1tMlXG
MHi8s+JuFGC4k5TayWN1UL6EcEDxFj9UYUBErlEFhfiF68BSm+7SdBbnVXKkk7d2
OWJU3jfh/oxGAOZdmwqC
=8aTl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: