Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Tomas Bzatek
d15091ac2c * Thu Aug 06 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.2-1
- Version 2.11.2
2026-08-06 17:35:49 +02:00
Fedora Release Engineering
d0dc33ff99 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:06:45 +00:00
Tomas Bzatek
53368c732a * Wed Apr 01 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.1-2
- Use 'sys_tz' exfat mount option by default (#2403452)
2026-04-01 16:24:56 +02:00
Tomas Bzatek
c46c30a7bb * Wed Feb 25 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.1-1
- Version 2.11.1 (#2442584,#2442588)
2026-02-25 16:32:39 +01:00
Fedora Release Engineering
c73f9d51f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:32:36 +00:00
Tom spot Callaway
ff3d7f2ec7 rebuild for new libconfig 2025-12-17 13:51:06 -05:00
Tomas Bzatek
377b64ef21 * Thu Nov 06 2025 Tomas Bzatek <tbzatek@redhat.com> - 2.11.0-1
- Version 2.11.0
2025-11-06 17:36:04 +01:00
Tomas Bzatek
df9cdd8b16 * Fri Aug 29 2025 Tomas Bzatek <tbzatek@redhat.com> - 2.10.91-1
- Version 2.10.91
2025-08-29 14:50:43 +02:00
4 changed files with 33 additions and 50 deletions

4
.gitignore vendored
View file

@ -20,3 +20,7 @@
/udisks-2.10.0.tar.bz2
/udisks-2.10.1.tar.bz2
/udisks-2.10.90.tar.bz2
/udisks-2.10.91.tar.bz2
/udisks-2.11.0.tar.bz2
/udisks-2.11.1.tar.bz2
/udisks-2.11.2.tar.bz2

View file

@ -1 +1 @@
SHA512 (udisks-2.10.90.tar.bz2) = 7e2507ee9b235925af6d367a0d55608f7a2780a07efba9db3c4bc06a3d42728ce74fc9edc42255fc9259aa3426c83eb164e1e99740a2d2c1b80ec2265b51df90
SHA512 (udisks-2.11.2.tar.bz2) = 3996ac935cb330eb7f286f25a716da52ca374b14cc7b4f2e60a7e4b0b0745559607fa8c6d1e96e777b44eb8e07eb16e1ad6bc00b3051adea14e865df3efa2662

View file

@ -1,43 +0,0 @@
From 5e7277debea926370e587408517560afe87d28c9 Mon Sep 17 00:00:00 2001
From: Tomas Bzatek <tbzatek@redhat.com>
Date: Wed, 4 Jun 2025 15:26:46 +0200
Subject: [PATCH] udiskslinuxfilesystemhelpers: Mount private mounts with
'nodev,nosuid'
The private mount done in take_filesystem_ownership() should always
default to 'nodev,nosuid' for security and 'errors=remount-ro' for
selected filesystem types to handle an corrupted filesystem. This is
consistent with mount options calculation for regular mounts.
---
src/udiskslinuxfilesystemhelpers.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/udiskslinuxfilesystemhelpers.c b/src/udiskslinuxfilesystemhelpers.c
index 7c5fc037c4..9eb7742c77 100644
--- a/src/udiskslinuxfilesystemhelpers.c
+++ b/src/udiskslinuxfilesystemhelpers.c
@@ -123,6 +123,7 @@ take_filesystem_ownership (const gchar *device,
{
gchar *mountpoint = NULL;
+ const gchar *mount_opts;
GError *local_error = NULL;
gboolean unmount = FALSE;
gboolean success = TRUE;
@@ -151,8 +152,15 @@ take_filesystem_ownership (const gchar *device,
goto out;
}
+ mount_opts = "nodev,nosuid";
+ if (g_strcmp0 (fstype, "ext2") == 0 ||
+ g_strcmp0 (fstype, "ext3") == 0 ||
+ g_strcmp0 (fstype, "ext4") == 0 ||
+ g_strcmp0 (fstype, "jfs") == 0)
+ mount_opts = "nodev,nosuid,errors=remount-ro";
+
/* TODO: mount to a private mount namespace */
- if (!bd_fs_mount (device, mountpoint, fstype, NULL, NULL, &local_error))
+ if (!bd_fs_mount (device, mountpoint, fstype, mount_opts, NULL, &local_error))
{
g_set_error (error, UDISKS_ERROR, UDISKS_ERROR_FAILED,
"Cannot mount %s at %s: %s",

View file

@ -4,7 +4,7 @@
%global systemd_version 208
%global dbus_version 1.4.0
%global with_gtk_doc 1
%global libblockdev_version 3.2
%global libblockdev_version 3.4
%define with_btrfs 1
%ifnarch %{ix86}
@ -24,15 +24,12 @@
Name: udisks2
Summary: Disk Manager
Version: 2.10.90
Release: 4%{?dist}
Version: 2.11.2
Release: 1%{?dist}
License: GPL-2.0-or-later
URL: https://github.com/storaged-project/udisks
Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
# https://bugzilla.redhat.com/show_bug.cgi?id=2373301
Patch0: udisks-2.10.91-udiskslinuxfilesystemhelpers_nodev,nosuid.patch
BuildRequires: make
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version}
@ -200,6 +197,7 @@ rm -f src/tests/dbus-tests/config_h.py
rm -f src/udisks-daemon-resources.{c,h}
# default to ntfs-3g (#2182206)
sed -i data/builtin_mount_options.conf -e 's/ntfs_drivers=ntfs3,ntfs/ntfs_drivers=ntfs,ntfs3/'
sed -i data/builtin_mount_options.conf -e 's/exfat_defaults=uid=\$UID,gid=\$GID,iocharset=utf8,errors=remount-ro/exfat_defaults=uid=\$UID,gid=\$GID,iocharset=utf8,errors=remount-ro,sys_tz/'
%build
# autoreconf -ivf
@ -343,6 +341,30 @@ fi
%endif
%changelog
* Thu Aug 06 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.2-1
- Version 2.11.2
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Wed Apr 01 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.1-2
- Use 'sys_tz' exfat mount option by default (#2403452)
* Wed Feb 25 2026 Tomas Bzatek <tbzatek@redhat.com> - 2.11.1-1
- Version 2.11.1 (#2442584,#2442588)
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Dec 17 2025 Tom Callaway <spot@fedoraproject.org> - 2.11.0-2
- rebuild for new libconfig
* Thu Nov 06 2025 Tomas Bzatek <tbzatek@redhat.com> - 2.11.0-1
- Version 2.11.0
* Fri Aug 29 2025 Tomas Bzatek <tbzatek@redhat.com> - 2.10.91-1
- Version 2.10.91
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.90-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild