6 Commits

6 changed files with 296 additions and 91 deletions

View File

@@ -1,7 +1,26 @@
diff -ur a/configure.ac b/configure.ac
--- a/configure.ac 2023-09-07 14:25:58.000000000 +0200
+++ b/configure.ac 2025-06-13 15:14:59.846832219 +0200
@@ -246,6 +246,37 @@
From 80ec4f57cc92654518d830a2d2db79934eb812f9 Mon Sep 17 00:00:00 2001
From: Thomas Blume <Thomas.Blume@suse.com>
Date: Thu, 4 Sep 2025 12:32:53 +0200
Subject: [PATCH] move config files to /usr/etc
---
configure.ac | 33 +++++
doc/man/Makefile.am | 12 +-
doc/man/udisks2.conf.5.xml.in.in | 10 ++
doc/man/udisks2_lsm.conf.5.xml.in.in | 6 +
modules/lsm/Makefile.am | 9 +-
modules/lsm/lsm_data.c | 30 +++-
src/Makefile.am | 18 ++-
src/udisksconfigmanager.c | 207 +++++++++++++++++++++++----
udisks/Makefile.am | 4 +
udisks/modules.conf.d/Makefile.am | 5 +-
10 files changed, 292 insertions(+), 42 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3aeb3669..51ef2a02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,6 +247,37 @@ if test "x$with_tmpfilesdir" != "xno"; then
AC_SUBST([tmpfilesdir], [$with_tmpfilesdir])
fi
@@ -39,7 +58,7 @@ diff -ur a/configure.ac b/configure.ac
# kernel modules
AC_ARG_WITH([modloaddir],
[AS_HELP_STRING([--with-modloaddir=DIR], [Directory for configuring kernel modules to load at boot])],
@@ -673,6 +704,7 @@
@@ -676,6 +707,7 @@ echo "
sbindir: ${sbindir}
datadir: ${datadir}
sysconfdir: ${sysconfdir}
@@ -47,7 +66,7 @@ diff -ur a/configure.ac b/configure.ac
localstatedir: ${localstatedir}
docdir: ${docdir}
introspection: ${found_introspection}
@@ -684,6 +716,7 @@
@@ -687,6 +719,7 @@ echo "
using libelogind: ${have_libelogind}
use /media for mounting: ${fhs_media}
acl support: ${have_acl}
@@ -55,10 +74,11 @@ diff -ur a/configure.ac b/configure.ac
compiler: ${CC}
cflags: ${CFLAGS}
diff -ur a/doc/man/Makefile.am b/doc/man/Makefile.am
--- a/doc/man/Makefile.am 2023-09-07 14:11:56.000000000 +0200
+++ b/doc/man/Makefile.am 2025-06-13 15:14:59.858832219 +0200
@@ -22,6 +22,12 @@
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 32593cea..be934a5c 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -22,6 +22,12 @@ man_MANS += udisks2_lsm.conf.5
endif # HAVE_LSM
endif # ENABLE_MAN
@@ -71,7 +91,7 @@ diff -ur a/doc/man/Makefile.am b/doc/man/Makefile.am
udisksctl.1 : udisksctl.xml
$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
@@ -40,7 +46,8 @@
@@ -40,7 +46,8 @@ udisks2.conf.5.xml: udisks2.conf.5.xml.in
$(SED) "s|\$${prefix}|${prefix}|" $< > $@
udisks2.conf.5 : udisks2.conf.5.xml
@@ -81,7 +101,7 @@ diff -ur a/doc/man/Makefile.am b/doc/man/Makefile.am
if HAVE_LSM
# Hack: Autotools expand @sysconfdir@ as %{prefix}/etc; that's why we sed this
@@ -49,7 +56,8 @@
@@ -49,7 +56,8 @@ udisks2_lsm.conf.5.xml: udisks2_lsm.conf.5.xml.in
$(SED) "s|\$${prefix}|${prefix}|" $< > $@
udisks2_lsm.conf.5 : udisks2_lsm.conf.5.xml
@@ -91,9 +111,10 @@ diff -ur a/doc/man/Makefile.am b/doc/man/Makefile.am
endif # HAVE_LSM
EXTRA_DIST = \
diff -ur a/doc/man/udisks2.conf.5.xml.in.in b/doc/man/udisks2.conf.5.xml.in.in
--- a/doc/man/udisks2.conf.5.xml.in.in 2023-09-07 14:11:56.000000000 +0200
+++ b/doc/man/udisks2.conf.5.xml.in.in 2025-06-13 15:14:59.858832219 +0200
diff --git a/doc/man/udisks2.conf.5.xml.in.in b/doc/man/udisks2.conf.5.xml.in.in
index be364a8b..caae2f62 100644
--- a/doc/man/udisks2.conf.5.xml.in.in
+++ b/doc/man/udisks2.conf.5.xml.in.in
@@ -37,6 +37,16 @@
the configuration file placed at
<emphasis>@sysconfdir@/udisks2/udisks2.conf</emphasis>.
@@ -111,9 +132,10 @@ diff -ur a/doc/man/udisks2.conf.5.xml.in.in b/doc/man/udisks2.conf.5.xml.in.in
</refsect1>
<refsect1>
diff -ur a/doc/man/udisks2_lsm.conf.5.xml.in.in b/doc/man/udisks2_lsm.conf.5.xml.in.in
--- a/doc/man/udisks2_lsm.conf.5.xml.in.in 2023-09-07 14:11:56.000000000 +0200
+++ b/doc/man/udisks2_lsm.conf.5.xml.in.in 2025-06-13 15:14:59.858832219 +0200
diff --git a/doc/man/udisks2_lsm.conf.5.xml.in.in b/doc/man/udisks2_lsm.conf.5.xml.in.in
index 8115b9e8..efbdf67a 100644
--- a/doc/man/udisks2_lsm.conf.5.xml.in.in
+++ b/doc/man/udisks2_lsm.conf.5.xml.in.in
@@ -35,6 +35,12 @@
Some storage systems require extra configuration in
<emphasis>@sysconfdir@/udisks2/modules.conf.d/udisks2_lsm.conf</emphasis>.
@@ -127,9 +149,30 @@ diff -ur a/doc/man/udisks2_lsm.conf.5.xml.in.in b/doc/man/udisks2_lsm.conf.5.xml
</refsect1>
<refsect1>
diff -ur a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
--- a/modules/lsm/lsm_data.c 2023-09-07 14:11:56.000000000 +0200
+++ b/modules/lsm/lsm_data.c 2025-06-13 15:14:59.862832219 +0200
diff --git a/modules/lsm/Makefile.am b/modules/lsm/Makefile.am
index b9866028..fc27a1ba 100644
--- a/modules/lsm/Makefile.am
+++ b/modules/lsm/Makefile.am
@@ -20,8 +20,13 @@ AM_CPPFLAGS = \
$(GIO_CFLAGS) \
$(GUDEV_CFLAGS) \
$(BLOCKDEV_CFLAGS) \
- $(WARN_CFLAGS) \
- $(NULL)
+ $(WARN_CFLAGS)
+if USE_VENDORDIR
+CPPFLAGS += \
+ -D_PATH_VENDORDIR=\"${vendordir}\"
+endif
+
+CPPFLAGS += $(NULL)
if ENABLE_DAEMON
diff --git a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
index 55165408..b3319dbb 100644
--- a/modules/lsm/lsm_data.c
+++ b/modules/lsm/lsm_data.c
@@ -33,6 +33,7 @@
#include <libconfig.h>
#include <string.h>
@@ -138,7 +181,7 @@ diff -ur a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
#define _STD_LSM_SIM_URI "sim://"
#define _STD_LSM_HPSA_URI "hpsa://"
@@ -177,8 +178,21 @@
@@ -177,8 +178,21 @@ _lsm_raid_type_to_str (lsm_volume_raid_type raid_type)
}
}
@@ -161,7 +204,7 @@ diff -ur a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
{
UDisksConfigManager *config_manager;
@@ -211,6 +225,9 @@
@@ -211,6 +225,9 @@ _load_module_conf (UDisksDaemon *daemon, GError **error)
char *conf_path;
int i;
gboolean ret = TRUE;
@@ -171,7 +214,7 @@ diff -ur a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
udisks_debug ("LSM: loading config file");
@@ -221,7 +238,16 @@
@@ -221,7 +238,16 @@ _load_module_conf (UDisksDaemon *daemon, GError **error)
}
/* Get the abs config file path. */
@@ -189,29 +232,11 @@ diff -ur a/modules/lsm/lsm_data.c b/modules/lsm/lsm_data.c
config_init (&cfg);
if (config_read_file (&cfg, conf_path) != CONFIG_TRUE)
diff -ur a/modules/lsm/Makefile.am b/modules/lsm/Makefile.am
--- a/modules/lsm/Makefile.am 2023-09-07 14:11:56.000000000 +0200
+++ b/modules/lsm/Makefile.am 2025-06-13 15:14:59.862832219 +0200
@@ -20,8 +20,13 @@
$(GIO_CFLAGS) \
$(GUDEV_CFLAGS) \
$(BLOCKDEV_CFLAGS) \
- $(WARN_CFLAGS) \
- $(NULL)
+ $(WARN_CFLAGS)
+if USE_VENDORDIR
+CPPFLAGS += \
+ -D_PATH_VENDORDIR=\"${vendordir}\"
+endif
+
+CPPFLAGS += $(NULL)
if ENABLE_DAEMON
diff -ur a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am 2023-09-07 14:11:56.000000000 +0200
+++ b/src/Makefile.am 2025-06-13 15:14:59.874832218 +0200
@@ -27,8 +27,13 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 63b2250c..9f7aed82 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,8 +27,13 @@ AM_CPPFLAGS = \
$(GIO_CFLAGS) \
$(GMODULE_CFLAGS) \
$(BLOCKDEV_CFLAGS) \
@@ -227,7 +252,7 @@ diff -ur a/src/Makefile.am b/src/Makefile.am
# ------------------------------------------------------------------------------
@@ -148,8 +153,13 @@
@@ -146,8 +151,13 @@ libudisks_daemon_la_LIBADD = \
$(LIBELOGIND_LIBS) \
$(PART_LDFLAGS) \
$(SWAP_LIBS) \
@@ -243,9 +268,10 @@ diff -ur a/src/Makefile.am b/src/Makefile.am
# ------------------------------------------------------------------------------
diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
--- a/src/udisksconfigmanager.c 2023-09-07 14:11:56.000000000 +0200
+++ b/src/udisksconfigmanager.c 2025-06-13 15:14:59.874832218 +0200
diff --git a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
index ae612335..77562484 100644
--- a/src/udisksconfigmanager.c
+++ b/src/udisksconfigmanager.c
@@ -22,6 +22,10 @@
#include <string.h>
@@ -257,7 +283,7 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
#include "udiskslogging.h"
#include "udisksdaemontypes.h"
@@ -91,6 +95,43 @@
@@ -91,6 +95,43 @@ udisks_config_manager_get_property (GObject *object,
}
}
@@ -301,23 +327,27 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
static const gchar *
get_encryption_config (const gchar *encryption)
{
@@ -138,6 +179,136 @@
@@ -138,20 +179,148 @@ udisks_config_manager_set_property (GObject *object,
}
}
+#if defined (HAVE_LIBECONF) && defined (USE_VENDORDIR)
+
+static void
+parse_config_file (UDisksConfigManager *manager,
+ UDisksModuleLoadPreference *out_load_preference,
+ const gchar **out_encryption,
+ GList **out_modules)
+{
static void
parse_config_file (UDisksConfigManager *manager,
UDisksModuleLoadPreference *out_load_preference,
const gchar **out_encryption,
GList **out_modules)
{
- GKeyFile *config_file;
+ gchar *conf_dir;
+ gchar *conf_filename;
+ gchar *load_preference;
+ gchar *encryption;
+ gchar **modules;
gchar *conf_filename;
gchar *load_preference;
gchar *encryption;
- gchar *module_i;
gchar **modules;
- gchar **modules_tmp;
GError *l_error = NULL;
+ econf_err econf_ret = ECONF_SUCCESS;
+ econf_file *key_file = NULL;
+ gchar *val;
@@ -435,20 +465,21 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
+
+#else /* using vendordir and libeconf */
+
static void
parse_config_file (UDisksConfigManager *manager,
UDisksModuleLoadPreference *out_load_preference,
@@ -148,9 +319,7 @@
gchar *conf_filename;
gchar *load_preference;
gchar *encryption;
- gchar *module_i;
gchar **modules;
- gchar **modules_tmp;
+static void
+parse_config_file (UDisksConfigManager *manager,
+ UDisksModuleLoadPreference *out_load_preference,
+ const gchar **out_encryption,
+ GList **out_modules)
+{
+ GKeyFile *config_file;
+ gchar *conf_filename;
+ gchar *load_preference;
+ gchar *encryption;
+ gchar **modules;
/* Get modules and means of loading */
conf_filename = g_build_filename (G_DIR_SEPARATOR_S,
@@ -171,18 +340,7 @@
@@ -172,18 +341,7 @@ parse_config_file (UDisksConfigManager *manager,
/* Read the list of modules to load. */
if (modules)
{
@@ -468,7 +499,7 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
g_strfreev (modules);
}
}
@@ -193,28 +351,14 @@
@@ -194,28 +352,14 @@ parse_config_file (UDisksConfigManager *manager,
load_preference = g_key_file_get_string (config_file, MODULES_GROUP_NAME, MODULES_LOAD_PREFERENCE_KEY, NULL);
if (load_preference)
{
@@ -499,7 +530,7 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
encryption = g_key_file_get_string (config_file, DEFAULTS_GROUP_NAME, DEFAULTS_ENCRYPTION_KEY, NULL);
if (encryption)
{
@@ -231,6 +375,7 @@
@@ -241,6 +385,7 @@ parse_config_file (UDisksConfigManager *manager,
g_key_file_free (config_file);
g_free (conf_filename);
}
@@ -507,10 +538,11 @@ diff -ur a/src/udisksconfigmanager.c b/src/udisksconfigmanager.c
static void
udisks_config_manager_constructed (GObject *object)
diff -ur a/udisks/Makefile.am b/udisks/Makefile.am
--- a/udisks/Makefile.am 2023-09-07 14:11:56.000000000 +0200
+++ b/udisks/Makefile.am 2025-06-13 15:15:29.930832035 +0200
@@ -5,7 +5,11 @@
diff --git a/udisks/Makefile.am b/udisks/Makefile.am
index 59365008..f9c846da 100644
--- a/udisks/Makefile.am
+++ b/udisks/Makefile.am
@@ -5,7 +5,11 @@ SUBDIRS = modules.conf.d
NULL =
if ENABLE_DAEMON
@@ -522,9 +554,10 @@ diff -ur a/udisks/Makefile.am b/udisks/Makefile.am
moduleconf_DATA = udisks2.conf mount_options.conf
endif
diff -ur a/udisks/modules.conf.d/Makefile.am b/udisks/modules.conf.d/Makefile.am
--- a/udisks/modules.conf.d/Makefile.am 2023-09-07 14:11:56.000000000 +0200
+++ b/udisks/modules.conf.d/Makefile.am 2025-06-13 15:15:14.250832131 +0200
diff --git a/udisks/modules.conf.d/Makefile.am b/udisks/modules.conf.d/Makefile.am
index b3abb6c6..70cb0fe8 100644
--- a/udisks/modules.conf.d/Makefile.am
+++ b/udisks/modules.conf.d/Makefile.am
@@ -1,6 +1,9 @@
## Process this file with automake to produce Makefile.in
-
@@ -536,3 +569,6 @@ diff -ur a/udisks/modules.conf.d/Makefile.am b/udisks/modules.conf.d/Makefile.am
if ENABLE_DAEMON
--
2.51.0

5
_service Normal file
View File

@@ -0,0 +1,5 @@
<services>
<service name="download_files" mode="localonly">
<param name="enforceupstream">yes</param>
</service>
</services>

Binary file not shown.

3
udisks-2.10.91.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2247ef8860a2846339240387ac1da5a7ed3432410d607fd9254a7dbe00335b1b
size 1822848

View File

@@ -1,3 +1,165 @@
-------------------------------------------------------------------
Thu Nov 13 08:22:41 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Fix dbus daemon requires, it's dbus-service, not dbus-1
-------------------------------------------------------------------
Thu Sep 4 11:15:39 UTC 2025 - Thomas Blume <thomas.blume@suse.com>
- 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 clang differences when causing a segfault
- tests: Add Manager.LoopSetup() invalid fd test case
- tests: Add NVMe persistent discovery controller tests
- tests: Add a more robust test case for LVM devices file
- tests: Add locked LUKS teardown test
- tests: Add property name to failed asserts in test_40_drive
- tests: Allow adding optional message to failed assert calls
- tests: Avoid creating intermediary loop devices for nvme target devices
- tests: Backport safe_dbus.py from blivet
- tests: Check for dm-vdo kernel module instead of kvdo
- tests: Compress the flight_recorder.log when running tests
- tests: Enable Exfat UUID tests on Fedora
- tests: Enable LVM VDO tests on CentOS/RHEL 10
- tests: Fix expected error message with util-linux 2.41
- tests: Fix expected rotation rate for SCSI debug drives in tests
- tests: Fix running tests on systems without /etc/fstab
- tests: Fix running tests on systems without fstab and crypttab
- tests: Fix targetcli_config.json
- tests: Force Python to use 'fork' method to start child processes
- tests: Make sure /etc/iscsi/initiatorname.iscsi exists for tests
- tests: Move creation of the test devices after arguments parsing
- tests: Remove unused helper functions
- tests: Remove usage of python-six
- tests: Rework nvme revision check
- tests: Skip ExFAT UUID tests with recent exfatprogs
- tests: Skip exFAT UUID tests also on Fedora 39
- tests: Skip vdo tests on RHEL/CentOS 10
- tests: Stop trying to fully fill the VG in LVM tests
- tests: Use seek_realtime when saving journal data
- tests: Use sfdisk instead of parted to create partitions in tests
- tests: Various small Python fixes
- udisksata: Fix sense code format check
- udisksbasejob: Keep the original data when adding object path
- udisksdaemon: Add 'no_inhibit' argument for job creation functions
- udiskslinuxblock: Fix leaking string
- udiskslinuxblock: Survive a missing /etc/fstab
- udiskslinuxblockobject: Try issuing BLKRRPART ioctl harder
- udiskslinuxdevice: Fix dm-multipath ATA drives handling
- udiskslinuxdevice: Ignore ID_ATA on USB devices
- udiskslinuxdevice: Lower the severity of ATA IDENTIFY command errors
- udiskslinuxdrive: Mark external NVMe removable
- udiskslinuxdriveata: Port to libblockdev SMART plugin
- udiskslinuxdriveata: Prefer udev ID_ATA_* attributes
- udiskslinuxdriveata: Respect ID_ATA_SMART_ACCESS=none
- udiskslinuxdriveata: Trigger uevent after enabling/disabling SMART
- udiskslinuxdriveobject: Avoid refreshing NVMe health data on non-I/O controllers
- udiskslinuxdriveobject: Only refresh health information on live NVMe controllers
- udiskslinuxfilesystem: Add squashfs to well_known_filesystems
- udiskslinuxfilesystemhelpers: Add 'noexec' to the default take-ownership mount options
- udiskslinuxfilesystemhelpers: Mount private mounts with 'nodev,nosuid'
- udiskslinuxloop: Fix GError use-after-free
- udiskslinuxmanager: Add lower bounds check to fd_index
(bsc#1248502)
- udiskslinuxmanager:use dbus interface after free
- udiskslinuxmdraid: Add 'no-inhibit-lock' RequestSyncAction() option
- udiskslinuxmdraid: Avoid putting inhibit lock for externally started operations
- udiskslinuxmdraid: Refactor error reporting
- udiskslinuxnvmecontroller: Check for controller type on fetching health info
- udiskslinuxprovider: Move udev monitor in a separate thread
- udiskslinuxprovider: Properly finalize GTaskThreadFunc
- udisksstate: Always allocate store buffer for empty variants
- update Docbook DTD version to latest stable 4.5
-------------------------------------------------------------------
Fri Aug 29 13:17:17 UTC 2025 - Thomas Blume <Thomas.Blume@suse.com>
- (CVE-2025-8067) VUL-0: missing bounds check can lead to out-of-bounds
read in udisks daemon (bsc#1248502)
+ add 0001-udiskslinuxmanager-Add-lower-bounds-check-to-fd_inde.patch
-------------------------------------------------------------------
Mon Jun 16 08:14:25 UTC 2025 - Stefan Schubert <schubi@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package udisks2
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 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.0
%define libblockdev_version 3.3.1
Name: udisks2
Version: 2.10.1
Version: 2.10.91
Release: 0
Summary: Disk Manager
License: GPL-2.0-or-later AND LGPL-2.0-or-later
@@ -34,7 +34,7 @@ Source0: %{url}/releases/download/udisks-%{version}/udisks-%{version}.tar
# an exception will be silently removed with the next version update.
Patch0: harden_udisks2.service.patch
Patch1: usr_etc.patch
Patch1: 0001-move-config-files-to-usr-etc.patch
%if 0%{?suse_version} > 1500
BuildRequires: autoconf
BuildRequires: automake
@@ -49,6 +49,7 @@ BuildRequires: libblockdev-loop-devel >= %{libblockdev_version}
BuildRequires: libblockdev-mdraid-devel >= %{libblockdev_version}
BuildRequires: libblockdev-nvme-devel >= %{libblockdev_version}
BuildRequires: libblockdev-part-devel >= %{libblockdev_version}
BuildRequires: libblockdev-smart-devel >= %{libblockdev_version}
BuildRequires: libblockdev-swap-devel >= %{libblockdev_version}
BuildRequires: lvm2-devel
BuildRequires: pkgconfig
@@ -72,7 +73,7 @@ Requires: libudisks2-%{soversion} = %{version}
# For LUKS devices
Requires: cryptsetup
# Needed to pull in the system bus daemon
Requires: dbus-1 >= 1.4.0
Requires: dbus-service
# For mkfs.vfat
Requires: dosfstools
# For mkfs.ext3, mkfs.ext3, e2label
@@ -90,6 +91,7 @@ Requires: libblockdev-loop >= %{libblockdev_version}
Requires: libblockdev-mdraid >= %{libblockdev_version}
Requires: libblockdev-nvme >= %{libblockdev_version}
Requires: libblockdev-part >= %{libblockdev_version}
Requires: libblockdev-smart >= %{libblockdev_version}
Requires: libblockdev-swap >= %{libblockdev_version}
# Needed to pull in the udev daemon
Requires: udev >= 208