commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2026-02-27 17:01:35
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.29461 (New)
Package is "udisks2"
Fri Feb 27 17:01:35 2026 rev:58 rq:1335266 version:2.11.0
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2026-02-14
21:36:21.046255799 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.29461/udisks2.changes
2026-02-27 17:02:53.818679451 +0100
@@ -1,0 +2,10 @@
+Thu Feb 26 09:31:26 UTC 2026 - Thomas Blume
+
+- (CVE-2026-26104) VUL-0: missing authorization check in `handle_header_backup`
+ (bsc#1258867)
+ + add 0001-udiskslinuxencrypted-Add-missing-polkit-check-for-He.patch
+- (CVE-2026-26103) VUL-0: missing authorization check in
`handle_restore_encrypted_header`
+ (bsc#1258868)
+ + add 0001-udiskslinuxblock-Add-missing-polkit-check-for-Restor.patch
+
+---
New:
0001-udiskslinuxblock-Add-missing-polkit-check-for-Restor.patch
0001-udiskslinuxencrypted-Add-missing-polkit-check-for-He.patch
--(New B)--
New: (bsc#1258868)
+ add 0001-udiskslinuxblock-Add-missing-polkit-check-for-Restor.patch
New: (bsc#1258867)
+ add 0001-udiskslinuxencrypted-Add-missing-polkit-check-for-He.patch
- (CVE-2026-26103) VUL-0: missing authorization check in
`handle_restore_encrypted_header`
--(New E)--
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.udOi7P/_old 2026-02-27 17:02:54.642713647 +0100
+++ /var/tmp/diff_new_pack.udOi7P/_new 2026-02-27 17:02:54.646713813 +0100
@@ -35,6 +35,8 @@
Patch0: harden_udisks2.service.patch
Patch1: 0001-move-config-files-to-usr-etc.patch
+Patch2: 0001-udiskslinuxencrypted-Add-missing-polkit-check-for-He.patch
+Patch3: 0001-udiskslinuxblock-Add-missing-polkit-check-for-Restor.patch
%if 0%{?suse_version} > 1500
BuildRequires: autoconf
BuildRequires: automake
++ 0001-udiskslinuxblock-Add-missing-polkit-check-for-Restor.patch ++
>From baa7b9820e4dfc5ba813eee03b3ae37acb31e570 Mon Sep 17 00:00:00 2001
From: Tomas Bzatek
Date: Fri, 13 Feb 2026 16:11:54 +0100
Subject: [PATCH] udiskslinuxblock: Add missing polkit check for
RestoreEncryptedHeader()
The handle_restore_encrypted_header() method call handler was missing
a polkit authorization check, allowing unprivileged local users to freely
invoke this D-Bus method.
CVE-ID: CVE-2026-26103
Reported-by: Asim Viladi Oglu Manizada
---
src/udiskslinuxblock.c | 28
1 file changed, 28 insertions(+)
diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c
index 174efe2a..55703f92 100644
--- a/src/udiskslinuxblock.c
+++ b/src/udiskslinuxblock.c
@@ -4244,6 +4244,7 @@ handle_restore_encrypted_header (UDisksBlock
*encrypted,
UDisksBlock *block;
UDisksDaemon *daemon;
UDisksState *state = NULL;
+const gchar *action_id;
uid_t caller_uid;
GError *error = NULL;
UDisksBaseJob *job = NULL;
@@ -4268,6 +4269,33 @@ handle_restore_encrypted_header (UDisksBlock
*encrypted,
goto out;
}
+action_id = "org.freedesktop.udisks2.modify-device";
+if (!udisks_daemon_util_setup_by_user (daemon, object, caller_uid))
+ {
+if (udisks_block_get_hint_system (block))
+ {
+action_id = "org.freedesktop.udisks2.modify-device-system";
+ }
+else if (!udisks_daemon_util_on_user_seat (daemon, object, caller_uid))
+ {
+action_id = "org.freedesktop.udisks2.modify-device-other-seat";
+ }
+ }
+
+if (!udisks_daemon_util_check_authorization_sync (daemon,
+ object,
+ action_id,
+ options,
+ /* Translators: Shown in
authentication dialog when restoring
+ * a LUKS header on a
device.
+ *
+ * Do not translate
$(device.name), it's a placeholder and will
+ * be replaced by the
name of the drive/device in question
+ */
+ N_("Authentication is
required to restore the encrypted header on $(device.name)"),
+
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2026-02-14 21:36:08 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.1977 (New) Package is "udisks2" Sat Feb 14 21:36:08 2026 rev:57 rq:1332807 version:2.11.0 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2025-11-14 16:12:41.131707058 +0100 +++ /work/SRC/openSUSE:Factory/.udisks2.new.1977/udisks2.changes 2026-02-14 21:36:21.046255799 +0100 @@ -1,0 +2,19 @@ +Tue Feb 10 07:55:53 UTC 2026 - Dominique Leuenberger + +- Update to version 2.11.0: + + ATA SMART handling has been ported over to libblockdev which +now offers two plugins, based on libatasmart (default, +recommended) and smartmontools (experimental). There is an +additional attribute validation layer in place in libblockdev, +some attributes may now be reported as 'unknown' or 'untrusted'. +Drive temperature reporting has been reworked as well. + + ATA SMART functionality has been made optional through +the --disable-smart configure switch (default: Enabled). + + ATA SMART can be also selectively turned off for some drives by +setting ID_ATA_SMART_ACCESS udev property to none. In such a case, +the Drive.Ata.SmartUpdated property will remain set to zero to +indicate it was never updated for a particular drive. + + ATA feature flags are now mostly retrieved from udev, skipping +additional probing done by UDisks in case of udev >= 257. + +--- Old: udisks-2.10.91.tar.bz2 New: udisks-2.11.0.tar.bz2 Other differences: -- ++ udisks2.spec ++ --- /var/tmp/diff_new_pack.1ik5ve/_old 2026-02-14 21:36:22.206303617 +0100 +++ /var/tmp/diff_new_pack.1ik5ve/_new 2026-02-14 21:36:22.206303617 +0100 @@ -1,7 +1,7 @@ # # spec file for package udisks2 # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ %define soversion 0 -%define libblockdev_version 3.3.1 +%define libblockdev_version 3.4 Name: udisks2 -Version:2.10.91 +Version:2.11.0 Release:0 Summary:Disk Manager License:GPL-2.0-or-later AND LGPL-2.0-or-later ++ udisks-2.10.91.tar.bz2 -> udisks-2.11.0.tar.bz2 ++ 29212 lines of diff (skipped)
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2025-09-08 13:05:13 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.1977 (New) Package is "udisks2" Mon Sep 8 13:05:13 2025 rev:55 rq:1303131 version:2.10.91 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2025-09-01 17:17:07.888251007 +0200 +++ /work/SRC/openSUSE:Factory/.udisks2.new.1977/udisks2.changes 2025-09-08 13:05:27.937071453 +0200 @@ -1,0 +2,150 @@ +Thu Sep 4 11:15:39 UTC 2025 - Thomas Blume + +- update to version 2.10.91 + - dropped merged upstream patches: +0001-udiskslinuxmanager-Add-lower-bounds-check-to-fd_inde.patch + - ported patch to upstream code: +usr_etc.patch -> 0001-move-config-files-to-usr-etc.patch + + - Add gzipped log files to .gitignore + - Add option to specify metadata version when creating MD RAID + - Add support for specifying extra PBKDF options for LUKS format + - Add support for specifying label when creating LUKS devices + - Allow using key files with BITLK devices + - Change several log levels from NOTICE to INFO + - Core: Add support for LUKS header backup. + - Do not overwrite CPPFLAGS + - Do not use label for DM name when unlocking BitLocker devices + - Fix docstring for udisks_spawned_job_start + - Fix using label as DM name when unlocking encrypted devices + - Include error message when loading config file fails + - Remove beakerlib tests + - Update Brazilian Portuguese translation + - Update French translation + - Update Georgian translation + - Update German translation + - Update Hindi translation + - Update Indonesian translation + - Update Polish translation + - Update Russian translation + - Update Slovenian translation + - Update Swedish translation + - Use label for DM device name when unlocking encrypted devices + - Use udisks_info() for (un)mount messages + - build: Fix 'make shortlog' + - build: use -export-dynamic instead of -export_dynamic + - ci: Add a simple tmt test and run it via packit + - ci: Bump actions/checkout from v3 to v4 + - ci: Fix running Cockpit reverse dependency tests + - ci: Install 'python3-libdnf5' for TMT test plans + - ci: Packit: Enable failure notifications for cockpit tests + - ci: Remove amazon-ec2-utils if installed + - ci: Remove priority from Testing farm repositories + - ci: Remove the custom GH action for RPM builds + - client: document NULL return for udisks_client_get_partition_table + - core: Add Encrypted.Convert method + - daemon: Add a logging function for libblockdev + - daemon: Align to the no_inhibit job argument change + - doc: Fix a typo + - doc: add missing closing bracket + - doc: fix docstring for udisks_client_get_partition_table_subtype_for_display + - doc: fix docstring for udisks_threaded_job_start + - doc: fix typos + - doc: remove duplicate dot + - docs(mdraid): update link to kernel docs + - helpers: fixed memleak and misprint check for creating second BDCrypto context + - infra: Add dependabot to automatically update GH actions + - infra: bump actions/checkout from 4 to 5 + - infra: bump actions/upload-artifact from 3 to 4 + - integration-test: Adapt to the new libmount context error messages + - integration-test: Fix change label test with exfatprogs 1.2.5 + - lvm2: Add a sync udev trigger after removing PV signatures + - lvm2: Align to the no_inhibit job argument change + - lvm2: Refactor udisks_daemon_util_lvm2_wipe_block() + - lvm2: Try opening for unused device detection harder + - lvm: Also look at symlinks for segment PVs + - lvm: Change the known keys for GetStatistics for VDO volumes + - lvm: Manually remove removed PVs from the LVM devices file + - lvm: Use pvremove when removing PVs after deleting a VG + - man: Document ID_ATA_SMART_ACCESS + - mdraid: Expose "consistency_policy" sysfs value + - misc: Add CentOS to the install-test-dependencies playbook + - misc: Add cryptsetup to test dependencies + - misc: Add parted to test dependencies + - misc: Add python3-packaging to test dependencies + - misc: Add vdo to the test dependencies + - misc: Do not use "with_items" when installing packages + - misc: Force DNF to enable C10S Copr instead of EPEL + - misc: Separate Ansible tasks into a different file + - modules/btrfs: add GetDefaultSubvolumeID + - modules/btrfs: add SetDefaultSubvolumeID + - modules/btrfs: fix copy paste typo in auth message + - mount options: Add 'map' and 'check' ISO9660 options + - mount options: Add some more f2fs options to the allow list + - mount options: Allow 'commit' option for ext3/ext4 + - objectinfo: adjust translator comment + - spec: Use SPDX license tags for subpackages + - tests: Adapt to c
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2025-07-01 11:33:25
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.7067 (New)
Package is "udisks2"
Tue Jul 1 11:33:25 2025 rev:53 rq:1289215 version:2.10.1
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2025-01-23
18:02:42.829449725 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.7067/udisks2.changes
2025-07-01 11:33:55.672747369 +0200
@@ -1,0 +2,6 @@
+Mon Jun 16 08:14:25 UTC 2025 - Stefan Schubert
+
+- Moved /etc/udisks2/modules.conf.d/udisks2_lsm.conf and
+ /etc/udisks2/udisks2.conf do /usr/etc. (patch usr_etc.patch)
+
+---
New:
usr_etc.patch
--(New B)--
New:- Moved /etc/udisks2/modules.conf.d/udisks2_lsm.conf and
/etc/udisks2/udisks2.conf do /usr/etc. (patch usr_etc.patch)
--(New E)--
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.yMy8fZ/_old 2025-07-01 11:33:56.484781016 +0200
+++ /var/tmp/diff_new_pack.yMy8fZ/_new 2025-07-01 11:33:56.488781182 +0200
@@ -34,7 +34,11 @@
# an exception will be silently removed with the next version update.
Patch0: harden_udisks2.service.patch
-
+Patch1: usr_etc.patch
+%if 0%{?suse_version} > 1500
+BuildRequires: autoconf
+BuildRequires: automake
+%endif
BuildRequires: chrpath
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel >= 0.6.2
@@ -206,6 +210,10 @@
%autosetup -p1 -n udisks-%{version}
%build
+%if 0%{?suse_version} > 1500
+autoreconf -f
+automake
+%endif
%configure \
--disable-static \
--disable-gtk-doc \
@@ -213,7 +221,11 @@
--enable-btrfs \
--enable-lsm \
--enable-lvm2 \
+%if 0%{?suse_version} > 1500
+--with-vendordir=%{_distconfdir} \
+%endif
%{nil}
+
%make_build
%install
@@ -232,14 +244,43 @@
# Move example config file to docs
mkdir -p %{buildroot}%{_docdir}/%{name}
+%if 0%{?suse_version} > 1500
+mv -v %{buildroot}%{_distconfdir}/udisks2/mount_options.conf.example \
+ %{buildroot}%{_docdir}/%{name}/mount_options.conf.example
+%else
mv -v %{buildroot}%{_sysconfdir}/udisks2/mount_options.conf.example \
%{buildroot}%{_docdir}/%{name}/mount_options.conf.example
+%endif
%post -n libudisks2-%{soversion} -p /sbin/ldconfig
%postun -n libudisks2-%{soversion} -p /sbin/ldconfig
%pre -n %{name}
%service_add_pre udisks2.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in udisks2/udisks2.conf; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans
+# Migration to /usr/etc, restore just created .rpmsave
+for i in udisks2/udisks2.conf; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i} ||:
+done
+
+%pre -n libudisks2-%{soversion}_lsm
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in udisks2/modules.conf.d/udisks2_lsm.conf; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans -n libudisks2-%{soversion}_lsm
+# Migration to /usr/etc, restore just created .rpmsave
+for i in udisks2/modules.conf.d/udisks2_lsm.conf; do
+ test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i} ||:
+done
+%endif
%post -n %{name}
%{?udev_rules_update:%udev_rules_update}
@@ -256,9 +297,15 @@
%doc AUTHORS NEWS
%{_bindir}/udisksctl
%{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
+%if 0%{?suse_version} > 1500
+%dir %{_distconfdir}/udisks2
+%dir %{_distconfdir}/udisks2/modules.conf.d
+%config %{_distconfdir}/udisks2/udisks2.conf
+%else
%dir %{_sysconfdir}/udisks2
%dir %{_sysconfdir}/udisks2/modules.conf.d
%config %{_sysconfdir}/udisks2/udisks2.conf
+%endif
%doc %{_docdir}/%{name}/mount_options.conf.example
%{_tmpfilesdir}/udisks2.conf
%ghost %{_rundir}/media
@@ -311,8 +358,13 @@
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.btrfs.policy
%files -n libudisks2-%{soversion}_lsm
+%if 0%{?suse_version} > 1500
+%dir %{_distconfdir}/udisks2/modules.conf.d
+%attr(0600,root,root) %config
%{_distconfdir}/udisks2/modules.conf.d/udisks2_lsm.conf
+%else
%dir %{_sysconfdir}/udisks2/modules.conf.d
%attr(0600,root,root) %config
%{_sysconfdir}/udisks2/modules.conf.d/udisks2_lsm.conf
+%endif
%dir %{_libdir}/udisks2
%dir %{_libdir}/udisks2/modules
%{_libdir}/udisks2/modules/libudisks2_lsm.so
++ usr_etc.patch ++
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2024-05-23 15:34:32 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.24587 (New) Package is "udisks2" Thu May 23 15:34:32 2024 rev:51 rq:1176042 version:2.10.1 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2023-10-13 23:13:57.577467010 +0200 +++ /work/SRC/openSUSE:Factory/.udisks2.new.24587/udisks2.changes 2024-05-23 15:34:45.382518465 +0200 @@ -1,0 +2,38 @@ +Wed May 22 13:17:26 UTC 2024 - Thomas Blume + +- update to version 2.10.1 + - Update Ukrainian translation + - tests: Wipe used devices for LVM2 RAID tests + - tests: Settle down before checking the LVM RAID MissingPhysicalVolumes property + - tests: Rescan vdevs after lvm raid tests + - Update German translation + - tests: Mark UDF fstab filesystem tests as unstable + - tests: Add offline and online filesystem grow tests + - doc: Clarify the Filesystem.Size property presence + - udiskslinuxfilesystem: Force native tools for mounted XFS fs size retrieval + - udiskslinuxfilesystem: Refactor internal whitelists + - tests: Fix Python class invocation in nvme tests + - udisksctl: Add "--no-partition-scan" option for "loop-setup" command + - tests: Fix regex escaping + - integration-test: Fix invalid escaping + - tests: Mark LVM RAID tests as unstable + - tests: Fix LSM drive objects crawl + - iscsi: Fix login on firmware-discovered nodes + - udiskslinuxmanager: Properly handle disabled modules + - tests: Replace deprecated unittest assert calls + - udisksctl: Guard object lookup + - Update ka.po + - udiskslinuxloop: Avoid warnings on empty loop devices + - Update Polish translation + - Limit getting filesystem size only to Ext and XFS + - build: Check for gobject-introspection m4 macro presence + - tests: start the polkitd mock with the corresponding user if it exists + + - Drop merged upstream patches: +0001-doc-Clarify-the-Filesystem.Size-property-presence.patch +0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch +0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch +0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch +0001-tests-Add-offline-and-online-filesystem-grow-tests.patch + +--- Old: 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch 0001-tests-Add-offline-and-online-filesystem-grow-tests.patch 0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch 0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch 0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch udisks-2.10.0.tar.bz2 New: udisks-2.10.1.tar.bz2 BETA DEBUG BEGIN: Old: - Drop merged upstream patches: 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch 0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch Old:0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch 0001-tests-Add-offline-and-online-filesystem-grow-tests.patch Old:0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch 0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch 0001-tests-Add-offline-and-online-filesystem-grow-tests.patch Old:0001-doc-Clarify-the-Filesystem.Size-property-presence.patch 0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch 0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch Old:0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch 0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch 0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch BETA DEBUG END: Other differences: -- ++ udisks2.spec ++ --- /var/tmp/diff_new_pack.i4xhFg/_old 2024-05-23 15:34:46.114545029 +0200 +++ /var/tmp/diff_new_pack.i4xhFg/_new 2024-05-23 15:34:46.118545173 +0200 @@ -1,7 +1,7 @@ # # spec file for package udisks2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define libblockdev_version 3.0 Name: udisks2 -Version:2.10.0 +Version:2.10.1 Release:0 Summary:Disk Manager License:GPL-2.0-or-later AND LGPL-2.0-or-later @@ -34,11 +34,6 @@ # an exception will be silently removed with the next version update. Patch0: harden_udisks2.service.patch -Patch1: 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch -Patch2: 0001-tests-Mark-UDF-fstab
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2023-10-13 23:13:49 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.20540 (New) Package is "udisks2" Fri Oct 13 23:13:49 2023 rev:50 rq:1117504 version:2.10.0 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2023-09-25 19:59:48.870830229 +0200 +++ /work/SRC/openSUSE:Factory/.udisks2.new.20540/udisks2.changes 2023-10-13 23:13:57.577467010 +0200 @@ -1,0 +2,11 @@ +Wed Oct 11 15:37:37 UTC 2023 - Thomas Blume + +- fix mount failure on ntfs formatted usb disks (bsc#1216055) + * add: +0001-doc-Clarify-the-Filesystem.Size-property-presence.patch +0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch +0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch +0001-tests-Add-offline-and-online-filesystem-grow-tests.patch +0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch + +--- New: 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch 0001-tests-Add-offline-and-online-filesystem-grow-tests.patch 0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch 0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch 0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch Other differences: -- ++ udisks2.spec ++ --- /var/tmp/diff_new_pack.DnyXgq/_old 2023-10-13 23:13:58.285492691 +0200 +++ /var/tmp/diff_new_pack.DnyXgq/_new 2023-10-13 23:13:58.285492691 +0200 @@ -34,6 +34,11 @@ # an exception will be silently removed with the next version update. Patch0: harden_udisks2.service.patch +Patch1: 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch +Patch2: 0001-tests-Mark-UDF-fstab-filesystem-tests-as-unstable.patch +Patch3: 0001-udiskslinuxfilesystem-Refactor-internal-whitelists.patch +Patch4: 0001-tests-Add-offline-and-online-filesystem-grow-tests.patch +Patch5: 0001-udiskslinuxfilesystem-Force-native-tools-for-mounted.patch BuildRequires: chrpath BuildRequires: docbook-xsl-stylesheets ++ 0001-doc-Clarify-the-Filesystem.Size-property-presence.patch ++ >From fee9a3a50c3d4f687ed0c310096b1cd0e21f8923 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 22 Aug 2023 14:33:07 +0200 Subject: [PATCH] doc: Clarify the Filesystem.Size property presence We've done many tweaks and introduced limits to some filesystem types, let's document that. --- data/org.freedesktop.UDisks2.xml | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml index bfa6e660..53194c70 100644 --- a/data/org.freedesktop.UDisks2.xml +++ b/data/org.freedesktop.UDisks2.xml @@ -2715,11 +2715,12 @@
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2023-09-25 19:59:46
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.1770 (New)
Package is "udisks2"
Mon Sep 25 19:59:46 2023 rev:49 rq:372 version:2.10.0
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2022-12-07
17:34:10.468279414 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.1770/udisks2.changes
2023-09-25 19:59:48.870830229 +0200
@@ -1,0 +2,67 @@
+Tue Aug 29 20:28:56 UTC 2023 - Luciano Santos
+
+- Add Obsoletes tags for libudisks2-0_bcache and libudisks2-0_zram
+ modules, dropped on latest version bump, so they get removed from
+ end users' systems upon system upgrade.
+- Drop unnecessary/discouraged %{?systemd_requires} from spec file.
+
+---
+Wed Aug 16 23:33:19 UTC 2023 - Luciano Santos
+
+- Update to version 2.10.0:
+ + This release brings large number of internal changes, while
+keeping the promise of API stability. This development cycle
+was mostly driven by libblockdev 3.0 API overhaul.
+ + Partitioning was ported to libfdisk.
+ + The kbd and vdo libblockdev plugins were removed and so were
+zram, bcache and vdo udisks modules.
+ + Definition of supported filesystems was moved to libblockdev
+and filesystem operations were unified.
+ + Native NVMe support has been added through libnvme.
+ + Syntax of configurable mount options was extended to separate
+filesystem signature and filesystem driver used for mounting.
+ + A number of workarounds was placed around the
+org.freedesktop.UDisks2.Filesystem.Size property value
+retrieval to avoid excessive I/O traffic whenever possible.
+ + Bash and Zsh completion enhancements.
+ + lvm2 module uevent handling improvements.
+ + ATA Secure Erase is now allowed only on top-level block
+objects.
+ + Extra iSCSI node parameters are now honoured properly.
+ + FIPS mode fixes.
+ + Added support for resolving devices by PARTLABEL and PARTUUID.
+ + Full support for setting filesystem and partition UUIDs.
+ + Dynamic mountpoint name sanitization and ACL fixes.
+ + Added support for LVM2 RAID.
+ + UUID of Bitlocker volumes is now properly exposed.
+ + Added an option to force/avoid creation of mdraid write-intent
+bitmap.
+ + Updated translations.
+- Drop default_luks_encryption macro definition. It's no longer
+ needed as upstream defaults to LUKS2 now.
+- Drop bcache, vdo and zram sub-packages, following upstream
+ changes, and libblockdev-kbd(-devel) BuildRequires/Requires.
+- Drop bogus build requirement on libblockdev-lvm-dbus-devel, and
+ move libblockdev-lvm-devel BuildRequires to the lvm2 module
+ sub-package.
+- Move libconfig and libstoragemgmt pkgconfig() BuildRequires to
+ the lsm module sub-package, and libblockdev-btrfs-devel
+ BuildRequires to the btrfs modules sub-package, which is where
+ they belong.
+- Add libblockdev-nvme-devel BuildRequires and libblockdev-nvme
+ Requires as new required dependencies.
+- Drop [email protected]: It's unneeded now
+ that the zram module has been deprecated.
+- Drop merged upstream patches:
+ 0001-udisksata-Move-the-low-level-PM-state-call.patch,
+ 0001-udiskslinuxfilesystem-Make-the-size-property-retriev.patch,
+ 0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch,
+ 0001-udiskslinuxprovider-Only-update-related-objects-on-u.patch.
+- Split Bash and Zsh (new to this release) completion scripts to
+ sub-packages of their own.
+- Amend GPL-2.0-or-later License tags to LGPL-2.0-or-later for the
+ btrfs, lvm2 and lsm UDisks modules sub-packages. This correction
+ is based on what's explicitly stated on the source code from
+ UDisks modules' folders under the modules/ top-level directory.
+
+---
Old:
0001-udisksata-Move-the-low-level-PM-state-call.patch
0001-udiskslinuxfilesystem-Make-the-size-property-retriev.patch
0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch
0001-udiskslinuxprovider-Only-update-related-objects-on-u.patch
[email protected]
udisks-2.9.4.tar.bz2
New:
udisks-2.10.0.tar.bz2
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.WHSMB1/_old 2023-09-25 19:59:50.458887483 +0200
+++ /var/tmp/diff_new_pack.WHSMB1/_new 2023-09-25 19:59:50.458887483 +0200
@@ -1,7 +1,7 @@
#
# spec file for package udisks2
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2022-12-07 17:33:42 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.1835 (New) Package is "udisks2" Wed Dec 7 17:33:42 2022 rev:48 rq:1040240 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2022-11-18 15:43:26.278537007 +0100 +++ /work/SRC/openSUSE:Factory/.udisks2.new.1835/udisks2.changes 2022-12-07 17:34:10.468279414 +0100 @@ -1,0 +2,9 @@ +Tue Nov 22 08:21:22 UTC 2022 - Thomas Blume + +- avoid wakening spun-down disks on unrelated events (bsc#1120608) + * add: +0001-udisksata-Move-the-low-level-PM-state-call.patch +0001-udiskslinuxfilesystem-Make-the-size-property-retriev.patch +0001-udiskslinuxprovider-Only-update-related-objects-on-u.patch + +--- New: 0001-udisksata-Move-the-low-level-PM-state-call.patch 0001-udiskslinuxfilesystem-Make-the-size-property-retriev.patch 0001-udiskslinuxprovider-Only-update-related-objects-on-u.patch Other differences: -- ++ udisks2.spec ++ --- /var/tmp/diff_new_pack.O7lNeu/_old 2022-12-07 17:34:11.552285350 +0100 +++ /var/tmp/diff_new_pack.O7lNeu/_new 2022-12-07 17:34:11.560285393 +0100 @@ -33,6 +33,9 @@ Patch0: [email protected] Patch1: harden_udisks2.service.patch Patch2: 0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch +Patch3: 0001-udisksata-Move-the-low-level-PM-state-call.patch +Patch4: 0001-udiskslinuxfilesystem-Make-the-size-property-retriev.patch +Patch5: 0001-udiskslinuxprovider-Only-update-related-objects-on-u.patch BuildRequires: chrpath BuildRequires: docbook-xsl-stylesheets BuildRequires: gobject-introspection-devel >= 0.6.2 ++ 0001-udisksata-Move-the-low-level-PM-state-call.patch ++ >From a7d9b97c9460f65a726b727e9eaee31ea5016538 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Wed, 5 Jan 2022 20:17:55 +0100 Subject: [PATCH] udisksata: Move the low-level PM state call (cherry picked from commit 4588dbeecd23c17d1cb7f7fa60afd56702acd455) --- doc/udisks2-sections.txt.daemon.sections.in | 2 + src/udisksata.c | 62 + src/udisksata.h | 13 + 3 files changed, 77 insertions(+) diff --git a/doc/udisks2-sections.txt.daemon.sections.in b/doc/udisks2-sections.txt.daemon.sections.in index 12935c4d..9a2bfa03 100644 --- a/doc/udisks2-sections.txt.daemon.sections.in +++ b/doc/udisks2-sections.txt.daemon.sections.in @@ -270,6 +270,8 @@ UDisksAtaCommandProtocol UDisksAtaCommandInput UDisksAtaCommandOutput udisks_ata_send_command_sync +udisks_ata_get_pm_state +UDISKS_ATA_PM_STATE_AWAKE diff --git a/src/udisksata.c b/src/udisksata.c index 9491af5e..e6da8c35 100644 --- a/src/udisksata.c +++ b/src/udisksata.c @@ -308,3 +308,65 @@ udisks_ata_send_command_sync (gint fd, out: return ret; } + +/** + * udisks_ata_get_pm_state: + * @device: ATA drive block device path. + * @error: Return location for error. + * @pm_state: Return location for the current power state value. + * + * Get the current power mode state. + * + * The format of @pm_state is the result obtained from sending the + * ATA command `CHECK POWER MODE` to the drive. + * + * Known values include: + * - `0x00`: Device is in PM2: Standby state. + * - `0x40`: Device is in the PM0: Active state, the NV Cache power mode is enabled, and the spindle is spun down or spinning down. + * - `0x41`: Device is in the PM0: Active state, the NV Cache power mode is enabled, and the spindle is spun up or spinning up. + * - `0x80`: Device is in PM1: Idle state. + * - `0xff`: Device is in the PM0: Active state or PM1: Idle State. + * + * Typically user interfaces will report "Drive is spun down" if @pm_state is + * 0x00 and "Drive is spun up" otherwise. + * + * Returns: %TRUE if the operation succeeded, %FALSE if @error is set. + */ +gboolean +udisks_ata_get_pm_state (const gchar *device, GError **error, guchar *count) +{ + int fd; + gboolean rc = FALSE; + /* ATA8: 7.8 CHECK POWER MODE - E5h, Non-Data */ + UDisksAtaCommandInput input = {.command = 0xe5}; + UDisksAtaCommandOutput output = {0}; + + g_warn_if_fail (device != NULL); + + fd = open (device, O_RDONLY|O_NONBLOCK); + if (fd == -1) +{ + g_set_error (error, UDISKS_ERROR, UDISKS_ERROR_FAILED, + "Error opening device file %s while getting PM state: %m", + device); + goto out; +} + + if (!udisks_ata_send_command_sync (
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2022-11-18 15:42:59
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.1597 (New)
Package is "udisks2"
Fri Nov 18 15:42:59 2022 rev:47 rq:1036406 version:2.9.4
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2022-06-10
15:57:36.676826181 +0200
+++ /work/SRC/openSUSE:Factory/.udisks2.new.1597/udisks2.changes
2022-11-18 15:43:26.278537007 +0100
@@ -1,0 +2,7 @@
+Wed Nov 16 08:14:50 UTC 2022 - Thomas Blume
+
+- fix crash during shutdown (bsc#1205371)
+ * add:
+0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch
+
+---
New:
0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.rqPLZT/_old 2022-11-18 15:43:27.906544159 +0100
+++ /var/tmp/diff_new_pack.rqPLZT/_new 2022-11-18 15:43:27.910544176 +0100
@@ -32,6 +32,7 @@
Source0:
%{url}/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
Patch0: [email protected]
Patch1: harden_udisks2.service.patch
+Patch2: 0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch
BuildRequires: chrpath
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel >= 0.6.2
++ 0001-udiskslinuxmountoptions-Do-not-free-static-daemon-re.patch ++
>From d205057296957d6064825252a3d3377e809d6fed Mon Sep 17 00:00:00 2001
From: Tomas Bzatek
Date: Wed, 6 Oct 2021 17:12:13 +0200
Subject: [PATCH] udiskslinuxmountoptions: Do not free static daemon resources
The GResource instance returned from udisks_daemon_resources_get_resource()
that calls g_static_resource_get_resource() internally is marked as
'(transfer none)' and should not be freed. In fact that causes double
free inside the g_static_resource_fini() atexit handler leading
to memory corruption causing random failures of further atexit
handlers such as cryptsetup and openssl destructors.
Invalid read of size 4
at 0x4BB03A4: g_resource_unref (gresource.c:527)
by 0x4BB2150: g_static_resource_fini (gresource.c:1449)
by 0x4010ADB: _dl_fini (dl-fini.c:139)
by 0x4EF0DF4: __run_exit_handlers (exit.c:113)
by 0x4EF0F6F: exit (exit.c:143)
by 0x4ED9566: __libc_start_call_main (libc_start_call_main.h:74)
by 0x4ED960B: __libc_start_main@@GLIBC_2.34 (libc-start.c:409)
by 0x128774: (below main) (in udisks/src/.libs/udisksd)
Address 0x5cc5fc0 is 0 bytes inside a block of size 16 free'd
at 0x48430E4: free (vg_replace_malloc.c:755)
by 0x4DB10BC: g_free (gmem.c:199)
by 0x4BB2148: g_static_resource_fini (gresource.c:1448)
by 0x4010ADB: _dl_fini (dl-fini.c:139)
by 0x4EF0DF4: __run_exit_handlers (exit.c:113)
by 0x4EF0F6F: exit (exit.c:143)
by 0x4ED9566: __libc_start_call_main (libc_start_call_main.h:74)
by 0x4ED960B: __libc_start_main@@GLIBC_2.34 (libc-start.c:409)
by 0x128774: (below main) (in udisks/src/.libs/udisksd)
Block was alloc'd at
at 0x484086F: malloc (vg_replace_malloc.c:380)
by 0x4DB47A8: g_malloc (gmem.c:106)
by 0x4BB19C7: UnknownInlinedFun (gresource.c:545)
by 0x4BB19C7: g_resource_new_from_data (gresource.c:613)
by 0x4BB1A88: register_lazy_static_resources_unlocked (gresource.c:1374)
by 0x4BB218C: UnknownInlinedFun (gresource.c:1393)
by 0x4BB218C: UnknownInlinedFun (gresource.c:1387)
by 0x4BB218C: g_static_resource_get_resource (gresource.c:1472)
by 0x14F6A3: UnknownInlinedFun (udisks-daemon-resources.c:284)
by 0x14F6A3: udisks_linux_mount_options_get_builtin
(udiskslinuxmountoptions.c:612)
by 0x12CC6E: udisks_daemon_constructed (udisksdaemon.c:441)
by 0x4D1ED96: g_object_new_internal (gobject.c:1985)
by 0x4D20227: g_object_new_valist (gobject.c:2288)
by 0x4D2075C: g_object_new (gobject.c:1788)
by 0x129A5F: udisks_daemon_new (udisksdaemon.c:619)
by 0x129AD5: on_bus_acquired (main.c:63)
by 0x4C35C95: connection_get_cb.lto_priv.0 (gdbusnameowning.c:504)
by 0x4BD3F99: g_task_return_now (gtask.c:1219)
by 0x4BD419A: UnknownInlinedFun (gtask.c:1289)
by 0x4BD419A: g_task_return (gtask.c:1245)
by 0x4C31D51: bus_get_async_initable_cb (gdbusconnection.c:7433)
by 0x4BD3F99: g_task_return_now (gtask.c:1219)
by 0x4BD3FDC: complete_in_idle_cb (gtask.c:1233)
by 0x4DA852A: g_idle_dispatch (gmain.c:5897)
by 0x4DAC33E: UnknownInlinedFun (gmain.c:3381)
by 0x4DAC33E: g_main_context_dispatch (gmain.c:4099)
---
src/udiskslinuxmountoptions.c | 1 -
1
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package udisks2 for openSUSE:Factory checked in at 2022-06-10 15:57:20 Comparing /work/SRC/openSUSE:Factory/udisks2 (Old) and /work/SRC/openSUSE:Factory/.udisks2.new.1548 (New) Package is "udisks2" Fri Jun 10 15:57:20 2022 rev:46 rq:981450 version:2.9.4 Changes: --- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2022-02-17 23:40:46.971700787 +0100 +++ /work/SRC/openSUSE:Factory/.udisks2.new.1548/udisks2.changes 2022-06-10 15:57:36.676826181 +0200 @@ -1,0 +2,7 @@ +Fri May 20 07:45:36 UTC 2022 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Added patch(es): + * [email protected] + * harden_udisks2.service.patch + +--- New: [email protected] harden_udisks2.service.patch Other differences: -- ++ udisks2.spec ++ --- /var/tmp/diff_new_pack.EVrhHm/_old 2022-06-10 15:57:37.180826792 +0200 +++ /var/tmp/diff_new_pack.EVrhHm/_new 2022-06-10 15:57:37.184826796 +0200 @@ -30,6 +30,8 @@ Group: System/Daemons URL:https://github.com/storaged-project/udisks Source0: %{url}/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2 +Patch0: [email protected] +Patch1: harden_udisks2.service.patch BuildRequires: chrpath BuildRequires: docbook-xsl-stylesheets BuildRequires: gobject-introspection-devel >= 0.6.2 ++ [email protected] ++ Index: udisks-2.9.4/modules/zram/data/[email protected] === --- udisks-2.9.4.orig/modules/zram/data/[email protected] +++ udisks-2.9.4/modules/zram/data/[email protected] @@ -5,6 +5,11 @@ After=dev-%i.device Requires=dev-%i.device [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectHostname=true +RestrictRealtime=true +# end of automatic additions Type=oneshot RemainAfterExit=no EnvironmentFile=-@zramconfdir@/%i ++ harden_udisks2.service.patch ++ Index: udisks-2.9.4/data/udisks2.service.in === --- udisks-2.9.4.orig/data/udisks2.service.in +++ udisks-2.9.4/data/udisks2.service.in @@ -3,6 +3,11 @@ Description=Disk Manager Documentation=man:udisks(8) [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectHostname=true +RestrictRealtime=true +# end of automatic additions Type=dbus BusName=org.freedesktop.UDisks2 ExecStart=@udisksdprivdir@/udisksd
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2022-02-17 23:39:57
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.1958 (New)
Package is "udisks2"
Thu Feb 17 23:39:57 2022 rev:45 rq:955414 version:2.9.4
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2022-01-29
21:01:44.474811517 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.1958/udisks2.changes
2022-02-17 23:40:46.971700787 +0100
@@ -1,0 +2,7 @@
+Mon Jan 31 15:28:11 UTC 2022 - Bj??rn Lie
+
+- Drop gtk-doc BuildRequires, and pass disable-gtk-doc to
+ configure, the included gtk-docs are fine, we do not need to
+ build them ourselves.
+
+---
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.JzDuoI/_old 2022-02-17 23:40:47.611700782 +0100
+++ /var/tmp/diff_new_pack.JzDuoI/_new 2022-02-17 23:40:47.615700782 +0100
@@ -33,7 +33,6 @@
BuildRequires: chrpath
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel >= 0.6.2
-BuildRequires: gtk-doc
BuildRequires: libacl-devel
BuildRequires: libblockdev-btrfs-devel >= %{libblockdev_version}
BuildRequires: libblockdev-crypto-devel >= %{libblockdev_version}
@@ -205,7 +204,7 @@
%build
%configure \
--disable-static \
- --enable-gtk-doc \
+ --disable-gtk-doc \
--docdir=%{_docdir}/%{name} \
--enable-bcache \
--enable-btrfs \
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2022-01-29 21:01:12
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.1898 (New)
Package is "udisks2"
Sat Jan 29 21:01:12 2022 rev:44 rq:949467 version:2.9.4
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2021-12-12
00:56:48.754551542 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.1898/udisks2.changes
2022-01-29 21:01:44.474811517 +0100
@@ -1,0 +2,16 @@
+Thu Jan 27 08:00:22 UTC 2022 - Bj??rn Lie
+
+- Stop packaging libudisks_vdo standalone module, it is deprecated.
+ Do this via passing explicit disable-vdo to configure and
+ dropping libblockdev-vdo-devel BuildRequires. Add a
+ libudisks2_0_vdo Obsoletes to ease updates.
+- No longer remove upstream config files, we want to be able to
+ load modules on demand. Note that we move an example file to docs
+ to keep sysconfdir clean of non-conf files.
+- Add a default_luks_encryption define, and set it to luks2, sed
+ this macro into source, future versions of udisks will not need
+ this, as upstream moves to luks2 by default.
+- Ghost a dir/file created by us.
+- Split out API docs into separate docs sub-package.
+
+---
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.HBP969/_old 2022-01-29 21:01:45.118807188 +0100
+++ /var/tmp/diff_new_pack.HBP969/_new 2022-01-29 21:01:45.134807080 +0100
@@ -1,7 +1,7 @@
#
# spec file for package udisks2
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,8 @@
%define somajor 0
%define libudisks lib%{name}-%{somajor}
%define libblockdev_version 2.19
+# valid options are 'luks1' or 'luks2' - Note, remove this and the sed call,
as upstream moves to luks2 as default
+%define default_luks_encryption luks2
Name: udisks2
Version:2.9.4
@@ -43,7 +45,6 @@
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
-BuildRequires: libblockdev-vdo-devel >= %{libblockdev_version}
BuildRequires: lvm2-devel
BuildRequires: pkgconfig
BuildRequires: xsltproc
@@ -92,6 +93,8 @@
# For mkfs.xfs, xfs_admin
Requires: xfsprogs
Recommends: %{libudisks}_btrfs
+# Add Obsoletes to ease removal of deprecated standalone vdo module
+Obsoletes: libudisks2-0_vdo <= 2.9.4
%{?systemd_requires}
# Upstream First - Policy:
# Never add any patches to this package without the upstream commit id
@@ -133,6 +136,13 @@
This package contains the development files for the library libUDisks2, a
dynamic library, which provides access to the UDisksd daemon.
+%package docs
+Summary:Developer documentation for %{name}
+BuildArch: noarch
+
+%description docs
+This package contains developer documentation for %{name}.
+
%package -n %{libudisks}_bcache
Summary:UDisks module for Bcache
License:GPL-2.0-or-later
@@ -174,19 +184,6 @@
%description -n %{libudisks}_lvm2
This package contains the UDisks module for LVM2 support.
-%package -n %{libudisks}_vdo
-Summary:UDisks module for VDO
-License:GPL-2.0-or-later
-Group: System/Libraries
-Requires: %{libudisks} >= %{version}
-Requires: libblockdev-vdo >= %{libblockdev_version}
-
-%description -n %{libudisks}_vdo
-This package contains the UDisks module for VDO support.
-
-Virtual Data Optimizer (VDO) is a block virtualization technology that allows
-creating compressed and deduplicated pools of block storage.
-
%package -n %{libudisks}_zram
Summary:UDisks module for Zram
License:GPL-2.0-or-later
@@ -202,6 +199,8 @@
%prep
%autosetup -p1 -n udisks-%{version}
+# Move to luks2 as default
+sed -i udisks/udisks2.conf.in -e
"s/encryption=luks1/encryption=%{default_luks_encryption}/"
%build
%configure \
@@ -214,7 +213,7 @@
--enable-lvm2 \
--enable-lvmcache \
--enable-zram \
- --enable-vdo \
+ --disable-vdo \
%{nil}
%make_build
@@ -226,13 +225,14 @@
chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd
%find_lang udisks2
-# Loading storaged modules is not wanted.
-rm -r %{buildroot}%{_sysconfdir}/udisks2
-
# Create udisks2 rclink
mkdir -p %{buildroot}/%{_sbindir}
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
+# Move example config fil
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2021-12-12 00:56:04
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.2520 (New)
Package is "udisks2"
Sun Dec 12 00:56:04 2021 rev:43 rq:936226 version:2.9.4
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2021-02-18
20:50:09.843312446 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.2520/udisks2.changes
2021-12-12 00:56:48.754551542 +0100
@@ -1,0 +2,17 @@
+Wed Nov 17 18:30:14 UTC 2021 - Luciano Santos
+
+- Update to version 2.9.4:
+ + Many fixes, improvements, and additions to the code.
+ + Mount options:
+- Always use errors=remount-ro for ext filesystems;
+- Add ntfs3 kernel driver options.
+ + Build: Remove warnings unknown to clang.
+ + Tests: Adapt to clang differences when causing a segfault.
+
+- Changes from version 2.9.3:
+ + Many fixes, improvements, and additions to the code and test.
+- Add "%tmpfiles_create %{_tmpfilesdir}/udisks2.conf" call in %post
+ section to make sure /run/media will be created right after the
+ instalation of udisks2.
+
+---
@@ -10 +27,2 @@
- * udiskslinuxblock: Reflect fstab "noauto" mount option in HintAuto
+ * udiskslinuxblock: Reflect fstab "noauto" mount option in
+HintAuto
@@ -14,3 +32,6 @@
- * tests: Extend filesystem test_take_ownership tests with symlinks
- * mount options: Allow 'nosymfollow' mount option for unprivileged mounts
- * udisksstate: Silence the block device busy messages on cleanup lock
+ * tests: Extend filesystem test_take_ownership tests with
+symlinks
+ * mount options: Allow 'nosymfollow' mount option for
+unprivileged mounts
+ * udisksstate: Silence the block device busy messages on cleanup
+lock
@@ -19 +40,2 @@
- * udiskslinuxdrive: Tweak the 'removable'/'ejectable' hints for mmcblk-class
devices
+ * udiskslinuxdrive: Tweak the 'removable'/'ejectable' hints for
+mmcblk-class devices
@@ -21 +43,2 @@
- * udisksdaemonutil: Refactor udisks_daemon_util_trigger_uevent() out of
UDisksLinuxBlockObject
+ * udisksdaemonutil: Refactor udisks_daemon_util_trigger_uevent()
+out of UDisksLinuxBlockObject
@@ -30 +53,2 @@
-- drop udisks2-Fix-memory-leaks.patch,
udisks2-lvm2-Fix-leaking-BDLVMVDOPooldata.patch (upstream)
+- Drop udisks2-Fix-memory-leaks.patch, and
+ udisks2-lvm2-Fix-leaking-BDLVMVDOPooldata.patch (upstream).
Old:
udisks-2.9.2.tar.bz2
New:
udisks-2.9.4.tar.bz2
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.Jgvtc1/_old 2021-12-12 00:56:49.186551839 +0100
+++ /var/tmp/diff_new_pack.Jgvtc1/_new 2021-12-12 00:56:49.190551842 +0100
@@ -21,7 +21,7 @@
%define libblockdev_version 2.19
Name: udisks2
-Version:2.9.2
+Version:2.9.4
Release:0
Summary:Disk Manager
License:GPL-2.0-or-later AND LGPL-2.0-or-later
@@ -242,6 +242,7 @@
%post -n %{name}
%{?udev_rules_update:%udev_rules_update}
%service_add_post udisks2.service
+%tmpfiles_create %{_tmpfilesdir}/udisks2.conf
%preun -n %{name}
%service_del_preun udisks2.service
@@ -265,7 +266,7 @@
%doc AUTHORS NEWS
%{_bindir}/udisksctl
%config %{_datadir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
-%{_prefix}/lib/tmpfiles.d/udisks2.conf
+%{_tmpfilesdir}/udisks2.conf
%{_datadir}/bash-completion/completions/udisksctl
%{_unitdir}/udisks2.service
%dir %{_udevrulesdir}
++ udisks-2.9.2.tar.bz2 -> udisks-2.9.4.tar.bz2 ++
48086 lines of diff (skipped)
commit udisks2 for openSUSE:Factory
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package udisks2 for openSUSE:Factory checked
in at 2021-02-18 20:39:35
Comparing /work/SRC/openSUSE:Factory/udisks2 (Old)
and /work/SRC/openSUSE:Factory/.udisks2.new.28504 (New)
Package is "udisks2"
Thu Feb 18 20:39:35 2021 rev:42 rq:872519 version:2.9.2
Changes:
--- /work/SRC/openSUSE:Factory/udisks2/udisks2.changes 2020-12-23
14:20:59.949711515 +0100
+++ /work/SRC/openSUSE:Factory/.udisks2.new.28504/udisks2.changes
2021-02-18 20:50:09.843312446 +0100
@@ -1,0 +2,31 @@
+Fri Feb 12 00:00:13 UTC 2021 - Dirk M??ller
+
+- update to 2.9.2:
+ * udiskslinuxblock: Survive a missing /etc/crypttab
+ * lvm2: Fix leaking BDLVMVDOPooldata
+ * tests: Test modules that are actually enabled during build
+ * build: Exclude VDO module from distcheck build
+ * udisksfstabentry: Add udisks_fstab_entry_has_opt()
+ * udiskslinuxblock: Reflect fstab "noauto" mount option in HintAuto
+ * udiskslinuxblock: Update hints after fstab change
+ * tests: Add tests for Block hints
+ * udiskslinuxfilesystemhelpers: Make TakeOwnership() race free
+ * tests: Extend filesystem test_take_ownership tests with symlinks
+ * mount options: Allow 'nosymfollow' mount option for unprivileged mounts
+ * udisksstate: Silence the block device busy messages on cleanup lock
+ * udev: Distinguish mmcblk-class device types
+ * udev: Propagate mmcblk disk attributes to mmcblk_boot devices
+ * udiskslinuxdrive: Tweak the 'removable'/'ejectable' hints for mmcblk-class
devices
+ * udiskslinuxblock: Tweak the hints for mmcblk-class devices
+ * udisksdaemonutil: Refactor udisks_daemon_util_trigger_uevent() out of
UDisksLinuxBlockObject
+ * udiskslinuxmanager: Trigger uevent after loop device setup
+ * tests: Remove scsi_debug serial number checks
+ * tests: Skip zram tests if zram module is already loaded
+ * treewide: Fix typos
+ * AUTHORS: Add tbzatek as the maintainer
+ * tests: Do not use nilfs2 as an example of non-resizable FS
+ * Memory leak fixes
+ * doc: Update config file path
+- drop udisks2-Fix-memory-leaks.patch,
udisks2-lvm2-Fix-leaking-BDLVMVDOPooldata.patch (upstream)
+
+---
Old:
udisks-2.9.1.tar.bz2
udisks2-Fix-memory-leaks.patch
udisks2-lvm2-Fix-leaking-BDLVMVDOPooldata.patch
New:
udisks-2.9.2.tar.bz2
Other differences:
--
++ udisks2.spec ++
--- /var/tmp/diff_new_pack.wXYiBw/_old 2021-02-18 20:50:10.379312970 +0100
+++ /var/tmp/diff_new_pack.wXYiBw/_new 2021-02-18 20:50:10.383312974 +0100
@@ -1,7 +1,7 @@
#
# spec file for package udisks2
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,16 +21,13 @@
%define libblockdev_version 2.19
Name: udisks2
-Version:2.9.1
+Version:2.9.2
Release:0
Summary:Disk Manager
License:GPL-2.0-or-later AND LGPL-2.0-or-later
Group: System/Daemons
URL:https://github.com/storaged-project/udisks
Source0:
%{url}/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
-Patch0: udisks2-Fix-memory-leaks.patch
-Patch1: udisks2-lvm2-Fix-leaking-BDLVMVDOPooldata.patch
-
BuildRequires: chrpath
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel >= 0.6.2
++ udisks-2.9.1.tar.bz2 -> udisks-2.9.2.tar.bz2 ++
97216 lines of diff (skipped)
