Skip LVM2_member partitions (Closes: #853277).
authorCyril Brulebois <kibi@debian.org>
Tue, 31 Jan 2017 23:01:14 +0000 (00:01 +0100)
committerCyril Brulebois <kibi@debian.org>
Tue, 31 Jan 2017 23:01:14 +0000 (00:01 +0100)
debian/changelog
os-probes/common/50mounted-tests

index 921b29f..a07bb6e 100644 (file)
@@ -1,3 +1,13 @@
+os-prober (1.74) UNRELEASED; urgency=medium
+
+  [ Ivo De Decker ]
+  * os-probes/common/50mounted-tests: Skip partition when FS type is
+    LVM2_member, since one isn't supposed to touch physical volumes
+    directly. This avoids hanging during “dmcreate setup” with
+    unencrypted LVM setups (Closes: #853277).
+
+ -- Cyril Brulebois <kibi@debian.org>  Tue, 31 Jan 2017 23:04:00 +0100
+
 os-prober (1.73) unstable; urgency=medium
 
   [ Cyril Brulebois ]
index 779c3c3..2951ef9 100755 (executable)
@@ -29,6 +29,9 @@ elif [ "$types" = swap ]; then
 elif [ "$types" = crypto_LUKS ]; then
        debug "$1 is a LUKS partition; skipping"
        exit 0
+elif [ "$types" = LVM2_member ]; then
+       debug "$1 is an LVM member; skipping"
+       exit 0
 elif [ "$types" = ntfs ]; then
        if type ntfs-3g >/dev/null 2>&1; then
                types='ntfs-3g ntfs'