From bcbad9cf97fa2fe781f14e351350820e247fe49b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 21:29:05 +0000 Subject: [PATCH 1/2] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- mdadm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mdadm.spec b/mdadm.spec index f942712..5f8b499 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -2,7 +2,7 @@ Name: mdadm Version: 4.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The mdadm program controls Linux md devices (software RAID arrays) URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ License: GPL-2.0-or-later @@ -132,6 +132,9 @@ install -Dm644 raid6check.man %{buildroot}/%{_mandir}/man8/raid6check.man %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 4.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Apr 06 2025 Adam Williamson - 4.3-7 - revert 'posix' name check to fix rhbz#2325906 From 8e12c0fe9b3f373a88dafc0db0313da9d9e32f18 Mon Sep 17 00:00:00 2001 From: Xiao Ni Date: Thu, 14 Aug 2025 08:00:13 -0400 Subject: [PATCH 2/2] Don't submit stop ioctl in assemble The kernel commit 9e59d609763f ('md: call del_gendisk in control path') breaks mdadm --assemble command. mdadm pr https://github.com/md-raid-utilities/mdadm/pull/182 fixes this problem. Resolves: bz#2388480 Signed-off-by: Xiao Ni --- 0002-dont-stop-in-assemble.patch | 11 +++++++++++ mdadm.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 0002-dont-stop-in-assemble.patch diff --git a/0002-dont-stop-in-assemble.patch b/0002-dont-stop-in-assemble.patch new file mode 100644 index 0000000..6eaf564 --- /dev/null +++ b/0002-dont-stop-in-assemble.patch @@ -0,0 +1,11 @@ +--- a/Assemble.c~ 2025-08-13 22:05:00.416132027 -0400 ++++ b/Assemble.c 2025-08-13 22:13:16.650837070 -0400 +@@ -1597,8 +1597,6 @@ + goto try_again; + goto out; + } +- /* just incase it was started but has no content */ +- ioctl(mdfd, STOP_ARRAY, NULL); + } + + if (content != &info) { diff --git a/mdadm.spec b/mdadm.spec index 5f8b499..c04bb8c 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -2,7 +2,7 @@ Name: mdadm Version: 4.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: The mdadm program controls Linux md devices (software RAID arrays) URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ License: GPL-2.0-or-later @@ -26,6 +26,7 @@ Source11: https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/6 # this is a reversion of the initial 'posix check' patch # that causes all the trouble Patch: 0001-Revert-mdadm-Follow-POSIX-Portable-Character-Set.patch +Patch: 0002-dont-stop-in-assemble.patch # Fedora customization patches Patch: mdadm-udev.patch @@ -132,6 +133,10 @@ install -Dm644 raid6check.man %{buildroot}/%{_mandir}/man8/raid6check.man %changelog +* Thu Aug 14 2025 Xiao Ni - 4.3-9 +- Don't submit stop ioctl in assemble +- Resolves bz#2388480 + * Thu Jul 24 2025 Fedora Release Engineering - 4.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild