commit libstorage-ng for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2022-07-31 23:00:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libstorage-ng" Sun Jul 31 23:00:51 2022 rev:178 rq:991670 version:4.5.33 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2022-07-26 19:42:52.678142894 +0200 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.1533/libstorage-ng.changes 2022-07-31 23:01:07.043721975 +0200 @@ -1,0 +2,16 @@ +Fri Jul 29 07:16:59 UTC 2022 - aschnell@suse.com + +- merge gh#openSUSE/libstorage-ng#892 +- continue flushing pending holders if a device cannot be found + (see bsc#1201880) +- coding style +- removed unneeded mockups +- 4.5.33 + +-------------------------------------------------------------------- +Thu Jul 28 16:19:14 UTC 2022 - opensuse-packaging@opensuse.org + +- Translated using Weblate (Czech) (bsc#1149754) +- 4.5.32 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.5.31.tar.xz New: ---- libstorage-ng-4.5.33.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.9oqopt/_old 2022-07-31 23:01:07.683723834 +0200 +++ /var/tmp/diff_new_pack.9oqopt/_new 2022-07-31 23:01:07.691723857 +0200 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.5.31 +Version: 4.5.33 Release: 0 Summary: Library for storage management License: GPL-2.0-only ++++++ libstorage-ng-4.5.31.tar.xz -> libstorage-ng-4.5.33.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/VERSION new/libstorage-ng-4.5.33/VERSION --- old/libstorage-ng-4.5.31/VERSION 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/VERSION 2022-07-29 09:16:59.000000000 +0200 @@ -1 +1 @@ -4.5.31 +4.5.33 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/po/cs.po new/libstorage-ng-4.5.33/po/cs.po --- old/libstorage-ng-4.5.31/po/cs.po 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/po/cs.po 2022-07-29 09:16:59.000000000 +0200 @@ -13,10 +13,10 @@ "Project-Id-Version: YaST (@memory@)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-06-03 14:35+0200\n" -"PO-Revision-Date: 2022-04-06 23:12+0000\n" -"Last-Translator: Jan Pape�� <honyczek@centrum.cz>\n" -"Language-Team: Czech <https://l10n.opensuse.org/projects/libstorage/ng-" -"master/cs/>\n" +"PO-Revision-Date: 2022-07-28 19:12+0000\n" +"Last-Translator: Ale�� Kastner <alkas@volny.cz>\n" +"Language-Team: Czech <https://l10n.opensuse.org/projects/libstorage/" +"ng-master/cs/>\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -115,14 +115,14 @@ "%3$s" #. TRANSLATORS: progress message -#, fuzzy, c-format +#, c-format msgid "Activating BitLocker %s" -msgstr "Aktivuji LUKS %s" +msgstr "Aktivuje se Bitlocker %s" #. TRANSLATORS: error message -#, fuzzy, c-format +#, c-format msgid "Activating BitLocker %s failed" -msgstr "Aktivace LUKS %s selhala" +msgstr "Aktivace Bitlocker %s selhala" #. TRANSLATORS: progress message #, c-format @@ -2241,7 +2241,7 @@ #. TRANSLATORS: name of partition type msgid "Linux Server Data" -msgstr "" +msgstr "Data serveru Linux" #. TRANSLATORS: name of partition type msgid "Linux Swap" @@ -2392,7 +2392,7 @@ #. TRANSLATORS: name of object msgid "NILFS2" -msgstr "" +msgstr "NILFS2" #. TRANSLATORS: name of object msgid "NTFS" @@ -2426,14 +2426,12 @@ msgid "Plain Encryption" msgstr "Prost�� ��ifrov��n��" -#, fuzzy msgid "Probing BitLocker" -msgstr "BitLocker" +msgstr "Kontrola BitLocker" #. TRANSLATORS: error message -#, fuzzy msgid "Probing BitLocker failed" -msgstr "Testov��n�� disk�� selhalo" +msgstr "Kontrola BitLocker selhala" #. TRANSLATORS: error message #, c-format @@ -3228,7 +3226,7 @@ #. TRANSLATORS: name of partition type msgid "Unknown" -msgstr "" +msgstr "Nezn��m��" #. TRANSLATORS: displayed before action, #. %1$s is replaced by one or more device names (e.g /dev/sda1 (1.00 GiB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Devices/BitlockerV2Impl.cc new/libstorage-ng-4.5.33/storage/Devices/BitlockerV2Impl.cc --- old/libstorage-ng-4.5.31/storage/Devices/BitlockerV2Impl.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Devices/BitlockerV2Impl.cc 2022-07-29 09:16:59.000000000 +0200 @@ -100,7 +100,7 @@ if (!uuid.empty()) ret = "UUID=" + uuid; else - y2war("no uuid defined, using fallback"); + y2war("no bitlocker uuid defined, using fallback"); break; case MountByType::LABEL: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Devices/EncryptionImpl.cc new/libstorage-ng-4.5.33/storage/Devices/EncryptionImpl.cc --- old/libstorage-ng-4.5.31/storage/Devices/EncryptionImpl.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Devices/EncryptionImpl.cc 2022-07-29 09:16:59.000000000 +0200 @@ -165,11 +165,11 @@ switch (mount_by_type) { case MountByType::UUID: - y2war("no uuid possible, using fallback"); + y2war("no encryption uuid possible, using fallback"); break; case MountByType::LABEL: - y2war("no label possible, using fallback"); + y2war("no encryption label possible, using fallback"); break; case MountByType::ID: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Devices/LuksImpl.cc new/libstorage-ng-4.5.33/storage/Devices/LuksImpl.cc --- old/libstorage-ng-4.5.31/storage/Devices/LuksImpl.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Devices/LuksImpl.cc 2022-07-29 09:16:59.000000000 +0200 @@ -130,14 +130,14 @@ if (!uuid.empty()) ret = "UUID=" + uuid; else - y2war("no uuid defined, using fallback"); + y2war("no luks uuid defined, using fallback"); break; case MountByType::LABEL: if (!label.empty()) ret = "LABEL=" + label; else - y2war("no label defined, using fallback"); + y2war("no luks label defined, using fallback"); break; case MountByType::ID: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Devices/Partition.h new/libstorage-ng-4.5.33/storage/Devices/Partition.h --- old/libstorage-ng-4.5.31/storage/Devices/Partition.h 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Devices/Partition.h 2022-07-29 09:16:59.000000000 +0200 @@ -341,7 +341,7 @@ * Get the partition label. Can be empty. Only available for partitions on GPT. * * In the UEFI spec this is called name instead of label. But many tools, - * e.g. udev and blkid, use label. + * e.g. udev and blkid, use label. Also in fstab PARTLABEL= is used. */ const std::string& get_label() const; @@ -353,7 +353,7 @@ void set_label(const std::string& label); /** - * Get the partition UUID. Only available for partitions on GPT. + * Get the partition UUID. Only available for partitions on GPT. Experimental. */ const std::string& get_uuid() const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Devices/PartitionImpl.cc new/libstorage-ng-4.5.33/storage/Devices/PartitionImpl.cc --- old/libstorage-ng-4.5.31/storage/Devices/PartitionImpl.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Devices/PartitionImpl.cc 2022-07-29 09:16:59.000000000 +0200 @@ -135,8 +135,8 @@ // would be required (even in fstab) when a logical partition // gets renumbered. For UUIDs a rather odd behaviour. - if (!cmd_udevadm_info.get_by_part_uuid_links().empty() && is_gpt(partition_table)) - uuid = cmd_udevadm_info.get_by_part_uuid_links().front(); + if (!cmd_udevadm_info.get_by_partuuid_links().empty() && is_gpt(partition_table)) + uuid = cmd_udevadm_info.get_by_partuuid_links().front(); probe_topology(prober); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Filesystems/BlkFilesystemImpl.cc new/libstorage-ng-4.5.33/storage/Filesystems/BlkFilesystemImpl.cc --- old/libstorage-ng-4.5.31/storage/Filesystems/BlkFilesystemImpl.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Filesystems/BlkFilesystemImpl.cc 2022-07-29 09:16:59.000000000 +0200 @@ -669,18 +669,18 @@ { case MountByType::UUID: if (!is_permanent()) - y2war("no uuid possible for non-permanent filesystem, using fallback mount-by"); + y2war("no filesystem uuid possible for non-permanent filesystem, using fallback mount-by"); else if (uuid.empty()) - y2war("no uuid defined, using fallback mount-by"); + y2war("no filesystem uuid defined, using fallback mount-by"); else ret = "UUID=" + uuid; break; case MountByType::LABEL: if (!is_permanent()) - y2war("no label possible for non-permanent filesystem, using fallback mount-by"); + y2war("no filesystem label possible for non-permanent filesystem, using fallback mount-by"); else if (label.empty()) - y2war("no label defined, using fallback mount-by"); + y2war("no filesystem label defined, using fallback mount-by"); else ret = "LABEL=" + label; break; @@ -752,7 +752,7 @@ vector<ExtendedFstabEntry> ret; for (const BlkDevice* blk_device : get_blk_devices()) - { + { for (const FstabEntry* fstab_entry : proc_mounts.get_by_name(blk_device->get_name(), system_info)) { // See find_etc_fstab_entries_unfiltered(). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/Prober.cc new/libstorage-ng-4.5.33/storage/Prober.cc --- old/libstorage-ng-4.5.31/storage/Prober.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/Prober.cc 2022-07-29 09:16:59.000000000 +0200 @@ -29,6 +29,7 @@ #include "storage/Utils/StorageDefines.h" #include "storage/Utils/CallbacksImpl.h" #include "storage/Utils/SystemCmd.h" +#include "storage/Utils/Format.h" #include "storage/StorageImpl.h" #include "storage/DevicegraphImpl.h" #include "storage/Devices/DiskImpl.h" @@ -538,6 +539,8 @@ void Prober::flush_pending_holders() { + y2mil("flushing " << pending_holders.size() << " pending holders"); + for (const pending_holder_t& pending_holder : pending_holders) { try @@ -552,7 +555,10 @@ y2err("failed to find " << pending_holder.name << " for " << pending_holder.b->get_displayname()); - ST_RETHROW(exception); + // TRANSLATORS: error message + Text message = sformat(_("Failed to find device %s"), pending_holder.name); + + error_callback(probe_callbacks, message, exception); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/SystemInfo/CmdUdevadm.cc new/libstorage-ng-4.5.33/storage/SystemInfo/CmdUdevadm.cc --- old/libstorage-ng-4.5.31/storage/SystemInfo/CmdUdevadm.cc 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/SystemInfo/CmdUdevadm.cc 2022-07-29 09:16:59.000000000 +0200 @@ -72,8 +72,8 @@ const Link links[] = { { "S: disk/by-path/", by_path_links }, { "S: disk/by-id/", by_id_links }, - { "S: disk/by-partlabel/", by_part_label_links }, - { "S: disk/by-partuuid/", by_part_uuid_links } + { "S: disk/by-partlabel/", by_partlabel_links }, + { "S: disk/by-partuuid/", by_partuuid_links } }; for (const string& line : stdout) @@ -127,11 +127,11 @@ if (!cmd_udevadm_info.by_id_links.empty()) s << " by-id-links:" << cmd_udevadm_info.by_id_links; - if (!cmd_udevadm_info.by_part_label_links.empty()) - s << " by-part-label-links:" << cmd_udevadm_info.by_part_label_links; + if (!cmd_udevadm_info.by_partlabel_links.empty()) + s << " by-partlabel-links:" << cmd_udevadm_info.by_partlabel_links; - if (!cmd_udevadm_info.by_part_uuid_links.empty()) - s << " by-part-uuid-links:" << cmd_udevadm_info.by_part_uuid_links; + if (!cmd_udevadm_info.by_partuuid_links.empty()) + s << " by-partuuid-links:" << cmd_udevadm_info.by_partuuid_links; s << '\n'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/storage/SystemInfo/CmdUdevadm.h new/libstorage-ng-4.5.33/storage/SystemInfo/CmdUdevadm.h --- old/libstorage-ng-4.5.31/storage/SystemInfo/CmdUdevadm.h 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/storage/SystemInfo/CmdUdevadm.h 2022-07-29 09:16:59.000000000 +0200 @@ -59,8 +59,7 @@ const vector<string>& get_by_path_links() const { return by_path_links; } const vector<string>& get_by_id_links() const { return by_id_links; } - const vector<string>& get_by_part_label_links() const { return by_part_label_links; } - const vector<string>& get_by_part_uuid_links() const { return by_part_uuid_links; } + const vector<string>& get_by_partuuid_links() const { return by_partuuid_links; } friend std::ostream& operator<<(std::ostream& s, const CmdUdevadmInfo& cmd_udevadm_info); @@ -79,8 +78,8 @@ vector<string> by_path_links; vector<string> by_id_links; - vector<string> by_part_label_links; - vector<string> by_part_uuid_links; + vector<string> by_partlabel_links; + vector<string> by_partuuid_links; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.31/testsuite/probe/integrity-mockup.xml new/libstorage-ng-4.5.33/testsuite/probe/integrity-mockup.xml --- old/libstorage-ng-4.5.31/testsuite/probe/integrity-mockup.xml 2022-07-25 14:16:19.000000000 +0200 +++ new/libstorage-ng-4.5.33/testsuite/probe/integrity-mockup.xml 2022-07-29 09:16:59.000000000 +0200 @@ -21,18 +21,6 @@ <stdout>dm-3</stdout> </Command> <Command> - <name>/bin/mount --read-only '/dev/mapper/crypto' '/tmp/libstorage-UESimc/tmp-mount-9AqL85' -o subvol=/</name> - </Command> - <Command> - <name>/bin/mount --read-only '/dev/mapper/crypto' '/tmp/libstorage-UESimc/tmp-mount-gPRoAq' -o subvol=/</name> - </Command> - <Command> - <name>/bin/umount '/tmp/libstorage-UESimc/tmp-mount-9AqL85'</name> - </Command> - <Command> - <name>/bin/umount '/tmp/libstorage-UESimc/tmp-mount-gPRoAq'</name> - </Command> - <Command> <name>/sbin/blkid -c '/dev/null'</name> <stdout>/dev/loop1: UUID="9da09aa7-eb1d-48ca-b39d-4211bf9b8419" BLOCK_SIZE="4096" TYPE="ext4"</stdout> <stdout>/dev/mapper/live-base: UUID="9da09aa7-eb1d-48ca-b39d-4211bf9b8419" BLOCK_SIZE="4096" TYPE="ext4"</stdout>
participants (1)
-
Source-Sync