From 8959573c01479e52d684e0cc1d4affd9054b9b4d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 9 Nov 2021 05:06:58 -0500 Subject: [PATCH] import mdadm-4.2-rc1_2.el8 --- SOURCES/mdadm.rules | 2 +- SPECS/mdadm.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SOURCES/mdadm.rules b/SOURCES/mdadm.rules index b622c6b..85d741d 100644 --- a/SOURCES/mdadm.rules +++ b/SOURCES/mdadm.rules @@ -25,7 +25,7 @@ ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="md_end" # anything here, just regular disks, and this also won't get any imsm # array members either) SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \ - IMPORT{program}="/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot ${DEVLINKS}" + IMPORT{program}="/sbin/mdadm -I $env{DEVNAME} --export $devnode --offroot $env{DEVLINKS}" SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \ ENV{MD_STARTED}=="*unsafe*", ENV{MD_FOREIGN}=="no", ENV{SYSTEMD_WANTS}+="mdadm-last-resort@$env{MD_DEVICE}.timer" SUBSYSTEM=="block", ACTION=="remove", ENV{ID_PATH}=="?*", \ diff --git a/SPECS/mdadm.spec b/SPECS/mdadm.spec index 521fb49..285484e 100644 --- a/SPECS/mdadm.spec +++ b/SPECS/mdadm.spec @@ -2,7 +2,7 @@ Summary: The mdadm program controls Linux md devices (software RAID arrays) Name: mdadm Version: 4.2 %define subversion rc1 -Release: rc1_1%{?dist} +Release: rc1_2%{?dist} Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}-%{subversion}.tar.xz Source1: mdmonitor.init Source2: raid-check @@ -119,6 +119,10 @@ rm -rf %{buildroot} /usr/lib/mdadm/mdadm_env.sh %changelog +* Thu Jun 10 2021 Xiao Ni - 4.2-rc1-2 +- Fix udev rule syntax error +- Resolves rhbz#1945780 + * Fri May 07 2021 Xiao Ni - 4.2-rc1 - Update to upstream 4.2-rc1 - Resovles rhbz#1920384