Hello community,

here is the log from the commit of package udisks2 for openSUSE:Factory checked 
in at 2012-06-28 17:07:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
 and      /work/SRC/openSUSE:Factory/.udisks2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "udisks2", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes  2012-05-26 
09:29:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.udisks2.new/udisks2.changes     2012-06-28 
17:07:29.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jun 26 18:18:09 UTC 2012 - g...@opensuse.org
+
+- Added udisks-hide-lvm-raid-partitions.patch in order to hide
+  partitions marked as containing LVM and RAID. This is only useful
+  for encrypted partitions (fixes fdo#51439 and bnc#737038).
+
+-------------------------------------------------------------------

New:
----
  udisks-hide-lvm-raid-partitions.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ udisks2.spec ++++++
--- /var/tmp/diff_new_pack.necgsE/_old  2012-06-28 17:07:30.000000000 +0200
+++ /var/tmp/diff_new_pack.necgsE/_new  2012-06-28 17:07:30.000000000 +0200
@@ -25,6 +25,8 @@
 Group:          System/Daemons
 Url:            http://www.freedesktop.org/wiki/Software/udisks
 Source:         
http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM udisks-hide-lvm-raid-partitions.patch fdo#51439 
bnc#737038 g...@opensuse.org -- Hide partitions marked as containing LVM and 
RAID. This is only useful for encrypted partitions.
+Patch0:         udisks-hide-lvm-raid-partitions.patch
 # Needed to build the man pages
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  gobject-introspection-devel
@@ -89,6 +91,7 @@
 %lang_package
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 export V=1

++++++ udisks-hide-lvm-raid-partitions.patch ++++++
>From 8b0060a1781fffe3a3115180622e7e5f115cf644 Mon Sep 17 00:00:00 2001
From: David Zeuthen <zeut...@gmail.com>
Date: Tue, 26 Jun 2012 17:56:20 +0000
Subject: Bug 51439 – udisks should hide lvm PVs

Hide partitions marked as containing LVM and RAID. This is only useful
for encrypted partitions.

https://bugs.freedesktop.org/show_bug.cgi?id=51439

Signed-off-by: David Zeuthen <zeut...@gmail.com>
---
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
index ea2a2a8..449287c 100644
--- a/data/80-udisks2.rules
+++ b/data/80-udisks2.rules
@@ -69,20 +69,24 @@ SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="HP", 
ENV{ID_MODEL}=="*v125w*", ENV{ID_DRIVE_
 # ------------------------------------------------------------------------
 # Devices which should not be display in the user interface
 #
+# (note that RAID/LVM members are not normally shown in an user
+# interface so setting UDISKS_IGNORE at first does not seem to achieve
+# anything. However it helps for RAID/LVM members that are encrypted
+# using LUKS. See bug #51439.)
 
 # Apple Bootstrap partitions
 ENV{ID_PART_ENTRY_SCHEME}=="mac", ENV{ID_PART_ENTRY_TYPE}=="Apple_Bootstrap", 
ENV{UDISKS_IGNORE}="1"
 
-# special DOS partition types (EFI, hidden, etc.)
+# special DOS partition types (EFI, hidden, etc.) and RAID/LVM
 # see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
 ENV{ID_PART_ENTRY_SCHEME}=="dos", \
-  
ENV{ID_PART_ENTRY_TYPE}=="0x0|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef",
 \
+  
ENV{ID_PART_ENTRY_TYPE}=="0x0|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x8e|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef|0xfd",
 \
   ENV{UDISKS_IGNORE}="1"
 
-# special GUID-identified partition types (EFI System Partition, BIOS Boot 
partition)
+# special GUID-identified partition types (EFI System Partition, BIOS Boot 
partition, RAID/LVM)
 # see http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
 ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
-  
ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649",
 \
+  
ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928",
 \
   ENV{UDISKS_IGNORE}="1"
 
 # MAC recovery/tool partitions which are useless on Linux
--
cgit v0.9.0.2-2-gbebe
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to