Hello community,

here is the log from the commit of package libstorage-ng for openSUSE:Factory 
checked in at 2019-01-24 14:01:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Thu Jan 24 14:01:17 2019 rev:38 rq:668092 version:4.1.78

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2019-01-10 15:15:55.818770923 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.28833/libstorage-ng.changes   
2019-01-24 14:01:18.700195438 +0100
@@ -1,0 +2,26 @@
+Wed Jan 23 13:17:29 UTC 2019 - [email protected]
+
+- merge gh#openSUSE/libstorage-ng#606
+- Evaluating correct block size for DASD devices. (Workaround for a
+  parted bug). (bsc#1089554)
+- 4.1.78
+
+--------------------------------------------------------------------
+Mon Jan 21 18:29:50 UTC 2019 - [email protected]
+
+- Translated using Weblate (Indonesian)
+- Translated using Weblate (Spanish)
+- 4.1.77
+
+--------------------------------------------------------------------
+Fri Jan 18 12:21:32 UTC 2019 - [email protected]
+
+- merge gh#openSUSE/libstorage-ng#605
+- merge gh#openSUSE/libstorage-ng#604
+- Relax check for luks correctness bsc#1120070, bsc#1101870
+- Unit tests for the fix of bsc#1120070, bsc#1101870
+- Merge to master: Relax check for luks correctness bsc#1120070,
+  bsc#1101870
+- 4.1.76
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.1.75.tar.xz

New:
----
  libstorage-ng-4.1.78.tar.xz

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.Ic9PAl/_old  2019-01-24 14:01:19.152194923 +0100
+++ /var/tmp/diff_new_pack.Ic9PAl/_new  2019-01-24 14:01:19.152194923 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.1.75
+Version:        4.1.78
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.1.75.tar.xz -> libstorage-ng-4.1.78.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/VERSION 
new/libstorage-ng-4.1.78/VERSION
--- old/libstorage-ng-4.1.75/VERSION    2019-01-07 11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/VERSION    2019-01-23 14:17:29.000000000 +0100
@@ -1 +1 @@
-4.1.75
+4.1.78
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/po/es.po 
new/libstorage-ng-4.1.78/po/es.po
--- old/libstorage-ng-4.1.75/po/es.po   2019-01-07 11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/po/es.po   2019-01-23 14:17:29.000000000 +0100
@@ -17,16 +17,16 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-11-23 14:23+0100\n"
-"PO-Revision-Date: 2018-11-30 23:06+0000\n"
-"Last-Translator: jc sl <[email protected]>\n"
-"Language-Team: Spanish <https://l10n.opensuse.org/projects/libstorage/ng-";
-"master/es/>\n"
+"PO-Revision-Date: 2019-01-21 18:29+0000\n"
+"Last-Translator: Jorge Gallegos Carrasco <[email protected]>\n"
+"Language-Team: Spanish <https://l10n.opensuse.org/projects/libstorage/";
+"ng-master/es/>\n"
 "Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 2.18\n"
+"X-Generator: Weblate 3.3\n"
 "X-Poedit-Language: Spanish\n"
 
 msgid ""
@@ -39,9 +39,9 @@
 #. TRANSLATORS:
 #. %1$s is replaced with the device name (e.g. /dev/sdc1),
 #. %2$s is replaced with the size (e.g. 60 GiB)
-#, c-format
+#, c-format, fuzzy
 msgid "%1$s (%2$s)"
-msgstr ""
+msgstr "%1$s (%2$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the the bcache name (e.g. /dev/bcache0),
@@ -222,7 +222,7 @@
 #. %1$s is replaced by device name (e.g. /dev/sda1),
 #. %2$s is replaced by device name (e.g. /dev/bcache0),
 #. %3$s is replaced by size (e.g. 2 GiB)
-#, c-format, fuzzy
+#, c-format
 msgid "Attach Bcache cache set on %1$s to Bcache %2$s (%3$s)"
 msgstr ""
 "Conectar el conjunto de caché de bcache en %1$s para usar Bcache con %2$s "
@@ -232,7 +232,7 @@
 #. %1$s is replaced by device name (e.g. /dev/sda1),
 #. %2$s is replaced by device name (e.g. /dev/bcache0),
 #. %3$s is replaced by size (e.g. 2 GiB)
-#, c-format, fuzzy
+#, c-format
 msgid "Attaching Bcache cache set on %1$s to Bcache %2$s (%3$s)"
 msgstr ""
 "Conectando el conjunto de caché de Bcache en %1$s para usar Bcache con %2$s "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/po/id.po 
new/libstorage-ng-4.1.78/po/id.po
--- old/libstorage-ng-4.1.75/po/id.po   2019-01-07 11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/po/id.po   2019-01-23 14:17:29.000000000 +0100
@@ -10,28 +10,30 @@
 "Project-Id-Version: YaST (@memory@)\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-11-23 14:23+0100\n"
-"PO-Revision-Date: 2018-10-05 12:59+0000\n"
+"PO-Revision-Date: 2019-01-21 18:29+0000\n"
 "Last-Translator: Kukuh Syafaat <[email protected]>\n"
-"Language-Team: Indonesian <https://l10n.opensuse.org/projects/libstorage/ng-";
-"master/id/>\n"
+"Language-Team: Indonesian <https://l10n.opensuse.org/projects/libstorage/";
+"ng-master/id/>\n"
 "Language: id\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 2.18\n"
+"X-Generator: Weblate 3.3\n"
 
 msgid ""
 "\n"
 "are you serious?!"
 msgstr ""
+"\n"
+"apakah kamu serius?!"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the device name (e.g. /dev/sdc1),
 #. %2$s is replaced with the size (e.g. 60 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "%1$s (%2$s)"
-msgstr "Tambah %1$s ke %2$s"
+msgstr "%1$s (%2$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the the bcache name (e.g. /dev/bcache0),
@@ -39,7 +41,7 @@
 #. (e.g. "/dev/sdb1 (64 GiB), /dev/sdc1 (160 GiB)")
 #, c-format
 msgid "%1$s is cached by %2$s"
-msgstr ""
+msgstr "%1$s di-cache oleh %2$s"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by device name (e.g. /dev/sda1)
@@ -223,9 +225,8 @@
 msgstr "B"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "BIOS Boot Partition"
-msgstr "Partisi"
+msgstr "Partisi boot BIOS"
 
 #. TRANSLATORS: name of object
 msgid "Bcache"
@@ -302,11 +303,13 @@
 #. %6$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create %1$s %2$s (%3$s) for %4$s with %5$s\n"
 "from %6$s"
-msgstr "Buat partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr ""
+"Buat %1$s %2$s (%3$s) untuk %4$s dengan %5$s\n"
+"dari %6$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
@@ -315,11 +318,13 @@
 #. %4$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create %1$s %2$s (%3$s) for swap\n"
 "from %4$s"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr ""
+"Buat %1$s %2$s (%3$s) untuk swap\n"
+"dari %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
@@ -328,9 +333,9 @@
 #. %4$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create %1$s %2$s (%3$s) from %4$s"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Buat %1$s %2$s (%3$s) dari %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md name (e.g. /dev/md0),
@@ -340,11 +345,13 @@
 #. %5$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create %1$s %2$s (%3$s) with %4$s\n"
 "from %5$s"
-msgstr "Buat partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr ""
+"Buat %1$s %2$s (%3$s) dengan %4$s\n"
+"dari %5$s"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by file system name (e.g. ext4),
@@ -421,9 +428,9 @@
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
 #. %2$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create LVM physical volume over %1$s (%2$s)"
-msgstr "Buat volume physical LVM melalui %1$s (%2$s) terenkripsi"
+msgstr "Buat volume fisik LVM lebih dari %1$s (%2$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
@@ -457,9 +464,9 @@
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create bcache %1$s on %2$s (%3$s)"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Buat bcache %1$s pada %2$s (%3$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
@@ -467,26 +474,26 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Create bcache %1$s on %2$s (%3$s) for %4$s with %5$s"
-msgstr "Buat partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Buat bcache %1$s pada %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create bcache %1$s on %2$s (%3$s) for swap"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Buat bcache %1$s pada %2$s (%3$s) untuk swap"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Create bcache %1$s on %2$s (%3$s) with %4$s"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Buat bcache %1$s pada %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md name (e.g. /dev/md0),
@@ -495,11 +502,13 @@
 #. %4$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create encrypted %1$s %2$s (%3$s)\n"
 "from %4$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr ""
+"Buat %1$s %2$s terenkripsi (%3$s)\n"
+"dari %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md name (e.g. /dev/md0),
@@ -510,11 +519,13 @@
 #. %6$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create encrypted %1$s %2$s (%3$s) for %4$s with %5$s\n"
 "from %6$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr ""
+"Buat %1$s %2$s (%3$s) terenkripsi untuk %4$s dengan %5$s\n"
+"dari %6$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
@@ -523,11 +534,13 @@
 #. %4$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create encrypted %1$s %2$s (%3$s) for swap\n"
 "from %4$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk swap"
+msgstr ""
+"Buat %1$s %2$s (%3$s) terenkripsi untuk swap\n"
+"dari %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md name (e.g. /dev/md0),
@@ -537,11 +550,13 @@
 #. %5$s is replaced with a comma-spearated list of the devices
 #. the RAID is built from and their sizes: e.g.
 #. /dev/sda (512 GiB), /dev/sdb (512 GiB), /dev/sdc (512 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid ""
 "Create encrypted %1$s %2$s (%3$s) with %4$s\n"
 "from %5$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr ""
+"Buat %1$s %2$s (%3$s) terenkripsi dengan %4$s\n"
+"dari %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the logical volume name (e.g. root),
@@ -593,9 +608,9 @@
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create encrypted bcache %1$s on %2$s (%3$s)"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Buat bcache terenkripsi %1$s pada %2$s (%3$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
@@ -603,26 +618,26 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Create encrypted bcache %1$s on %2$s (%3$s) for %4$s with %5$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Buat bcache terenkripsi %1$s pada %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Create encrypted bcache %1$s on %2$s (%3$s) for swap"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk swap"
+msgstr "Buat bcache terenkripsi %1$s pada %2$s (%3$s) untuk swap"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Create encrypted bcache %1$s on %2$s (%3$s) with %4$s"
-msgstr "Buat partisi terenkripsi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Buat bcache terenkripsi %1$s pada %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
@@ -900,9 +915,9 @@
 #. TRANSLATORS: displayed during action,
 #. %1$s is replaced by the device name (e.g. /dev/vda),
 #. %2$s is replaced by the size (e.g. 20 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Creating hard disk %1$s (%2$s)"
-msgstr "Buat hard disk %1$s (%2$s)"
+msgstr "Membuat hard disk %1$s (%2$s)"
 
 #. TRANSLATORS: displayed during action,
 #. %1$s is replaced by partition name (e.g. /dev/dasda1),
@@ -1117,9 +1132,9 @@
 #. %1$s is replaced with the md level (e.g. RAID1),
 #. %2$s is replaced with the md name (e.g. /dev/md0)
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Delete %1$s %2$s (%3$s)"
-msgstr "Hapus %1$s pada %2$s (%3$s)"
+msgstr "Hapus %1$s %2$s (%3$s)"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by file system name (e.g. ext4),
@@ -1173,9 +1188,9 @@
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Delete bcache %1$s on %2$s (%3$s)"
-msgstr "Hapus %1$s pada %2$s (%3$s)"
+msgstr "Hapus bcache %1$s pada %2$s (%3$s)"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by device name (e.g. /dev/sda1)
@@ -1420,9 +1435,8 @@
 msgstr "Menghapus grup volume %1$s (%2$s)"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "Diagnostics Partition"
-msgstr "Partisi"
+msgstr "Partisi Diagnostik"
 
 #. TRANSLATORS: name of object
 msgid "Disk"
@@ -1437,9 +1451,8 @@
 msgstr "EB"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "EFI System Partition"
-msgstr "Partisi"
+msgstr "Partisi Sistem EFI"
 
 #. TRANSLATORS: symbol for "exbi bytes" (best keep untranslated)
 msgid "EiB"
@@ -1449,9 +1462,9 @@
 #. %1$s is replaced with the md level (e.g. RAID1),
 #. %2$s is replaced with the md name (e.g. /dev/md0),
 #. %3$s is replaced with the size (e.g. 2 GiB),
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt %1$s %2$s (%3$s)"
-msgstr "Buat MD %1$s %2$s (%3$s)"
+msgstr "Enkripsi %1$s %2$s (%3$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
@@ -1459,18 +1472,18 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt %1$s %2$s (%3$s) for %4$s with %5$s"
-msgstr "Enkripsi partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Enkripsi %1$s %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
 #. %2$s is replaced with the md name (e.g. /dev/md0),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt %1$s %2$s (%3$s) with %4$s"
-msgstr "Enkripsi partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Enkripsi %1$s %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the logical volume name (e.g. root),
@@ -1508,9 +1521,9 @@
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt bcache %1$s on %2$s (%3$s)"
-msgstr "Buat %1$s pada %2$s (%3$s)"
+msgstr "Enkripsi bcache %1$s pada %2$s (%3$s)"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
@@ -1518,18 +1531,18 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt bcache %1$s on %2$s (%3$s) for %4$s with %5$s"
-msgstr "Enkripsi partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Enkripsi bcache %1$s pada %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Encrypt bcache %1$s on %2$s (%3$s) with %4$s"
-msgstr "Enkripsi partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Enkripsi bcache %1$s pada %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
@@ -1581,18 +1594,18 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Format %1$s %2$s (%3$s) for %4$s with %5$s"
-msgstr "Format partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Format %1$s %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
 #. %2$s is replaced with the md name (e.g. /dev/md0),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system type (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Format %1$s %2$s (%3$s) with %4$s"
-msgstr "Format partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Format %1$s %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the logical volume name (e.g. root),
@@ -1623,32 +1636,32 @@
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home),
 #. %5$s is replaced with the file system name (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Format bcache %1$s on %2$s (%3$s) for %4$s with %5$s"
-msgstr "Format partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Format bcache %1$s pada %2$s (%3$s) untuk %4$s dengan %5$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the bcache name (e.g. /dev/bcache0),
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the file system type (e.g. ext4)
-#, fuzzy, c-format
+#, c-format
 msgid "Format bcache %1$s on %2$s (%3$s) with %4$s"
-msgstr "Format partisi %1$s (%2$s) untuk %3$s dengan %4$s"
+msgstr "Format bcache %1$s pada %2$s (%3$s) dengan %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
 #. %2$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Format partition %1$s (%2$s) as encryped swap"
-msgstr "Buat partisi %1$s (%2$s) untuk swap"
+msgstr "Format partisi %1$s (%2$s) sebagai swap terenkripsi"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
 #. %2$s is replaced with the size (e.g. 2 GiB)
-#, fuzzy, c-format
+#, c-format
 msgid "Format partition %1$s (%2$s) as swap"
-msgstr "Buat partisi %1$s (%2$s) untuk swap"
+msgstr "Format partisi %1$s (%2$s) sebagai swap"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the partition name (e.g. /dev/sda1),
@@ -1822,7 +1835,7 @@
 
 #. TRANSLATORS: name of partition type
 msgid "Intel RST"
-msgstr ""
+msgstr "Intel RST"
 
 #. TRANSLATORS: name of object
 msgid "JFS"
@@ -1850,20 +1863,19 @@
 
 #. TRANSLATORS: name of partition type
 msgid "Linux"
-msgstr ""
+msgstr "Linux"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "Linux LVM"
-msgstr "Memeriksa LVM"
+msgstr "Linux LVM"
 
 #. TRANSLATORS: name of partition type
 msgid "Linux RAID"
-msgstr ""
+msgstr "Linux RAID"
 
 #. TRANSLATORS: name of partition type
 msgid "Linux Swap"
-msgstr ""
+msgstr "Linux Swap"
 
 #. TRANSLATORS: symbol for "mega" (best keep untranslated)
 msgid "M"
@@ -1887,16 +1899,16 @@
 
 #. TRANSLATORS: name of partition type
 msgid "Microsoft Reserved Partition"
-msgstr ""
+msgstr "Partisi cadangan Microsoft"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the md level (e.g. RAID1),
 #. %2$s is replaced with the md name (e.g. /dev/md0),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home)
-#, fuzzy, c-format
+#, c-format
 msgid "Mount %1$s %2$s (%3$s) at %4$s"
-msgstr "Kaitkan %1$s di %2$s"
+msgstr "Kaitkan %1$s %2$s (%3$s) di %4$s"
 
 #. TRANSLATORS: displayed before action,
 #. %1$s is replaced by device name (e.g. /dev/sda1),
@@ -1930,9 +1942,9 @@
 #. %2$s is replaced with the device name (e.g. /dev/sda1),
 #. %3$s is replaced with the size (e.g. 2 GiB),
 #. %4$s is replaced with the mount point (e.g. /home)
-#, fuzzy, c-format
+#, c-format
 msgid "Mount bcache %1$s on %2$s (%3$s) at %4$s"
-msgstr "Kaitkan subvolume %1$s pada %2$s di %3$s"
+msgstr "Kaitkan bcache %1$s pada %2$s (%3$s) pada %4$s"
 
 #. TRANSLATORS:
 #. %1$s is replaced with the names of the devices separated by comma (e.g. 
/dev/sda1, /dev/sda2),
@@ -1993,9 +2005,8 @@
 msgstr "PB"
 
 #. TRANSLATORS: name of partition type
-#, fuzzy
 msgid "PReP Boot Partition"
-msgstr "Partisi"
+msgstr "Partisi Boot PReP"
 
 #. TRANSLATORS: name of object
 msgid "Partition"
@@ -2658,7 +2669,7 @@
 
 #. TRANSLATORS: name of partition type
 msgid "Windows Data Partition"
-msgstr ""
+msgstr "Partisi Data Windows"
 
 #. TRANSLATORS: name of object
 msgid "XFS"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/storage/Devices/LuksImpl.cc 
new/libstorage-ng-4.1.78/storage/Devices/LuksImpl.cc
--- old/libstorage-ng-4.1.75/storage/Devices/LuksImpl.cc        2019-01-07 
11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/storage/Devices/LuksImpl.cc        2019-01-23 
14:17:29.000000000 +0100
@@ -77,7 +77,7 @@
        if (!has_single_parent_of_type<const BlkDevice>())
            ST_THROW(Exception("Luks has no BlkDevice parent"));
 
-       if (get_size() + metadata_size > get_blk_device()->get_size())
+       if (get_size() > get_blk_device()->get_size())
            ST_THROW(Exception("Luks bigger than parent BlkDevice"));
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-ng-4.1.75/storage/Devices/PartitionImpl.cc 
new/libstorage-ng-4.1.78/storage/Devices/PartitionImpl.cc
--- old/libstorage-ng-4.1.75/storage/Devices/PartitionImpl.cc   2019-01-07 
11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/storage/Devices/PartitionImpl.cc   2019-01-23 
14:17:29.000000000 +0100
@@ -720,6 +720,10 @@
        // See fix_dasd_sector_size() in class Parted.
        if (is_dasd_pt(partition_table) && get_region().get_block_size() == 
4096)
            cmd_line += to_string(get_region().get_start() * 8) + " " + 
to_string(get_region().get_end() * 8 + 7);
+       else if (is_dasd_pt(partition_table) && get_region().get_block_size() 
== 2048)
+           cmd_line += to_string(get_region().get_start() * 4) + " " + 
to_string(get_region().get_end() * 4 + 3);
+       else if (is_dasd_pt(partition_table) && get_region().get_block_size() 
== 1024)
+           cmd_line += to_string(get_region().get_start() * 2) + " " + 
to_string(get_region().get_end() * 2 + 1);
        else
            cmd_line += to_string(get_region().get_start()) + " " + 
to_string(get_region().get_end());
 
@@ -1101,6 +1105,10 @@
        // See fix_dasd_sector_size() in class Parted.
        if (is_dasd_pt(partition_table) && get_region().get_block_size() == 
4096)
            cmd_line += to_string(partition_rhs->get_region().get_end() * 8 + 
7);
+       else if (is_dasd_pt(partition_table) && get_region().get_block_size() 
== 2048)
+           cmd_line += to_string(get_region().get_start() * 4) + " " + 
to_string(get_region().get_end() * 4 + 3);
+       else if (is_dasd_pt(partition_table) && get_region().get_block_size() 
== 1024)
+           cmd_line += to_string(get_region().get_start() * 2) + " " + 
to_string(get_region().get_end() * 2 + 1);
        else
            cmd_line += to_string(partition_rhs->get_region().get_end());
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/storage/SystemInfo/CmdParted.cc 
new/libstorage-ng-4.1.78/storage/SystemInfo/CmdParted.cc
--- old/libstorage-ng-4.1.75/storage/SystemInfo/CmdParted.cc    2019-01-07 
11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/storage/SystemInfo/CmdParted.cc    2019-01-23 
14:17:29.000000000 +0100
@@ -278,20 +278,23 @@
     void
     Parted::fix_dasd_sector_size()
     {
-       if (label == PtType::DASD && logical_sector_size == 512 && 
physical_sector_size == 4096)
+        // see do_resize() and do_create() in PartitionImpl.cc
+       if (label == PtType::DASD && logical_sector_size == 512 &&
+           (physical_sector_size == 4096 || physical_sector_size == 1024 || 
physical_sector_size == 2048))
        {
-           y2mil("fixing sector size reported by parted");
+           int factor = physical_sector_size / logical_sector_size;
+           y2mil("fixing sector size reported by parted by factor:" << factor);
 
-           region.set_length(region.get_length() / 8);
-           region.set_block_size(region.get_block_size() * 8);
+           region.set_length(region.get_length() / factor);
+           region.set_block_size(region.get_block_size() * factor);
 
            for (Entry& entry : entries)
            {
                Region& region = entry.region;
 
-               region.set_start(region.get_start() / 8);
-               region.set_length(region.get_length() / 8);
-               region.set_block_size(region.get_block_size() * 8);
+               region.set_start(region.get_start() / factor);
+               region.set_length(region.get_length() / factor);
+               region.set_block_size(region.get_block_size() * factor);
            }
        }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/testsuite/Makefile.am 
new/libstorage-ng-4.1.78/testsuite/Makefile.am
--- old/libstorage-ng-4.1.75/testsuite/Makefile.am      2019-01-07 
11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/testsuite/Makefile.am      2019-01-23 
14:17:29.000000000 +0100
@@ -15,12 +15,13 @@
        dynamic.test ensure-mounted.test environment.test find-vertex.test      
\
        fstab.test crypttab.test output.test probe.test range.test stable.test  
\
        relatives.test mount-opts.test etc-mdadm.test mount-by.test btrfs.test  
\
-       md1.test md2.test md3.test md4.test encryption1.test lvm1.test          
\
-       graphviz.test copy-individual.test mountpoint.test bcache1.test
+       md1.test md2.test md3.test md4.test encryption1.test encryption2.test   
\
+       lvm1.test graphviz.test copy-individual.test mountpoint.test            
\
+       bcache1.test
 
 AM_DEFAULT_SOURCE_EXT = .cc
 
 TESTS = $(check_PROGRAMS)
 
-EXTRA_DIST = probe.xml
+EXTRA_DIST = probe.xml wrong-luks.xml luks-no-header.xml
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/testsuite/SystemInfo/parted.cc 
new/libstorage-ng-4.1.78/testsuite/SystemInfo/parted.cc
--- old/libstorage-ng-4.1.75/testsuite/SystemInfo/parted.cc     2019-01-07 
11:19:31.000000000 +0100
+++ new/libstorage-ng-4.1.78/testsuite/SystemInfo/parted.cc     2019-01-23 
14:17:29.000000000 +0100
@@ -166,6 +166,23 @@
 }
 
 
+BOOST_AUTO_TEST_CASE(parse_dasd_good3)
+{
+    vector<string> input = {
+       "BYT;",
+        "/dev/dasda:144540s:dasd:512:1024:dasd:IBM S390 DASD drive:;",
+        "1:6s:144539s:144534s:::;"
+    };
+
+    vector<string> output = {
+        "device:/dev/dasda label:DASD region:[0, 72270, 1024 B]",
+        "number:1 region:[3, 72267, 1024 B] type:primary id:0x83"
+    };
+
+    check("/dev/dasda", input, output);
+}
+
+
 BOOST_AUTO_TEST_CASE(parse_loop_good)
 {
     vector<string> input = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/testsuite/encryption2.cc 
new/libstorage-ng-4.1.78/testsuite/encryption2.cc
--- old/libstorage-ng-4.1.75/testsuite/encryption2.cc   1970-01-01 
01:00:00.000000000 +0100
+++ new/libstorage-ng-4.1.78/testsuite/encryption2.cc   2019-01-23 
14:17:29.000000000 +0100
@@ -0,0 +1,72 @@
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE libstorage
+
+#include <boost/test/unit_test.hpp>
+
+#include "storage/Devices/Disk.h"
+#include "storage/Devicegraph.h"
+#include "storage/Storage.h"
+#include "storage/Environment.h"
+#include "storage/Utils/Region.h"
+
+using namespace std;
+using namespace storage;
+
+
+BOOST_AUTO_TEST_CASE(test_check1)
+{
+    set_logger(get_stdout_logger());
+
+    Environment environment(true, ProbeMode::READ_DEVICEGRAPH, 
TargetMode::DIRECT);
+    environment.set_devicegraph_filename("wrong-luks.xml");
+
+    Storage storage(environment);
+    storage.probe();
+
+    const Devicegraph* probed = storage.get_probed();
+
+    {
+       // An exception must be raised if the luks device is BIGGER than
+       // the device being encrypted
+       BOOST_CHECK_THROW(probed->check(), Exception);
+    }
+}
+
+BOOST_AUTO_TEST_CASE(test_check2)
+{
+    set_logger(get_stdout_logger());
+
+    Environment environment(true, ProbeMode::READ_DEVICEGRAPH, 
TargetMode::DIRECT);
+    environment.set_devicegraph_filename("luks-no-header.xml");
+
+    Storage storage(environment);
+    storage.probe();
+
+    const Devicegraph* probed = storage.get_probed();
+
+    {
+       // A luks with very small metadata header of with no header at all is
+       // acceptable (regression test for bsc#1120070 and bsc#1101870)
+       BOOST_CHECK_NO_THROW(probed->check());
+    }
+}
+
+BOOST_AUTO_TEST_CASE(test_check3)
+{
+    set_logger(get_stdout_logger());
+
+    Environment environment(true, ProbeMode::NONE, TargetMode::DIRECT);
+
+    Storage storage(environment);
+
+    Devicegraph* staging = storage.get_staging();
+    Disk* sda = Disk::create(staging, "/dev/sda", Region(0, 1048576, 512));
+
+    sda->create_encryption("cr-test");
+
+    {
+       // Our API should not create an invalid luks
+       BOOST_CHECK_NO_THROW(staging->check());
+    }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/testsuite/luks-no-header.xml 
new/libstorage-ng-4.1.78/testsuite/luks-no-header.xml
--- old/libstorage-ng-4.1.75/testsuite/luks-no-header.xml       1970-01-01 
01:00:00.000000000 +0100
+++ new/libstorage-ng-4.1.78/testsuite/luks-no-header.xml       2019-01-23 
14:17:29.000000000 +0100
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!-- generated by libstorage-ng version 4.1.73, guanche.site.(none), 
2019-01-17 10:18:51 GMT -->
+<Devicegraph>
+  <Devices>
+    <Disk>
+      <sid>42</sid>
+      <name>/dev/sda</name>
+      <region>
+        <length>31457280</length>
+        <block-size>512</block-size>
+      </region>
+      <topology/>
+      <range>256</range>
+    </Disk>
+    <Xfs>
+      <sid>43</sid>
+    </Xfs>
+    <Luks>
+      <sid>45</sid>
+      <name>/dev/mapper/cr_sda</name>
+      <region>
+        <length>31457280</length>
+        <block-size>512</block-size>
+      </region>
+      <dm-table-name>cr_sda</dm-table-name>
+      <mount-by>id</mount-by>
+      <in-etc-crypttab>true</in-etc-crypttab>
+      <uuid></uuid>
+    </Luks>
+  </Devices>
+  <Holders>
+    <User>
+      <source-sid>42</source-sid>
+      <target-sid>45</target-sid>
+    </User>
+    <FilesystemUser>
+      <source-sid>45</source-sid>
+      <target-sid>43</target-sid>
+    </FilesystemUser>
+  </Holders>
+</Devicegraph>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.1.75/testsuite/wrong-luks.xml 
new/libstorage-ng-4.1.78/testsuite/wrong-luks.xml
--- old/libstorage-ng-4.1.75/testsuite/wrong-luks.xml   1970-01-01 
01:00:00.000000000 +0100
+++ new/libstorage-ng-4.1.78/testsuite/wrong-luks.xml   2019-01-23 
14:17:29.000000000 +0100
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!-- generated by libstorage-ng version 4.1.73, guanche.site.(none), 
2019-01-17 10:18:51 GMT -->
+<Devicegraph>
+  <Devices>
+    <Disk>
+      <sid>42</sid>
+      <name>/dev/sda</name>
+      <region>
+        <length>31457280</length>
+        <block-size>512</block-size>
+      </region>
+      <topology/>
+      <range>256</range>
+    </Disk>
+    <Xfs>
+      <sid>43</sid>
+    </Xfs>
+    <Luks>
+      <sid>45</sid>
+      <name>/dev/mapper/cr_sda</name>
+      <region>
+        <length>32000000</length>
+        <block-size>512</block-size>
+      </region>
+      <dm-table-name>cr_sda</dm-table-name>
+      <mount-by>id</mount-by>
+      <in-etc-crypttab>true</in-etc-crypttab>
+      <uuid></uuid>
+    </Luks>
+  </Devices>
+  <Holders>
+    <User>
+      <source-sid>42</source-sid>
+      <target-sid>45</target-sid>
+    </User>
+    <FilesystemUser>
+      <source-sid>45</source-sid>
+      <target-sid>43</target-sid>
+    </FilesystemUser>
+  </Holders>
+</Devicegraph>


Reply via email to