diff --git a/SOURCES/check-starttimer.patch b/SOURCES/check-starttimer.patch new file mode 100644 index 0000000..7902a06 --- /dev/null +++ b/SOURCES/check-starttimer.patch @@ -0,0 +1,11 @@ +--- mdadm/systemd/mdcheck_start.timer~ 2021-09-24 16:38:33.610083425 +0800 ++++ mdadm/systemd/mdcheck_start.timer 2021-09-24 16:46:36.968506057 +0800 +@@ -9,7 +9,7 @@ + Description=MD array scrubbing + + [Timer] +-OnCalendar=Sun *-*-1..7 1:00:00 ++OnCalendar=Sun *-*-01,02,03,04,05,06,07 1:00:00 + + [Install] + WantedBy= mdmonitor.service diff --git a/SPECS/mdadm.spec b/SPECS/mdadm.spec index 48cf8d6..4687bba 100644 --- a/SPECS/mdadm.spec +++ b/SPECS/mdadm.spec @@ -1,7 +1,7 @@ Summary: The mdadm program controls Linux md devices (software RAID arrays) Name: mdadm Version: 4.1 -Release: 7%{?dist} +Release: 8%{?dist} Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz Source1: mdmonitor.init Source2: raid-check @@ -84,6 +84,7 @@ Patch70: 0070-Manage-imsm-Write-metadata-before-add.patch Patch71: 0071-Assemble-print-error-message-if-mdadm-fails-assembli.patch # RHEL customization patches +Patch193: check-starttimer.patch Patch194: disable-journal.patch Patch195: mdadm-3.4-udev-race.patch Patch196: mdadm-3.3.2-skip-rules.patch @@ -187,6 +188,7 @@ file can be used to help with some common tasks. %patch71 -p1 -b .0071 # RHEL customization patches +%patch193 -p1 -b .starttimer %patch194 -p1 -b .disable %patch195 -p1 -b .race %patch196 -p1 -b .rules @@ -258,6 +260,10 @@ rm -rf %{buildroot} /usr/share/mdadm/mdcheck %changelog +* Fri Sep 24 2021 Xiao Ni - 4.1.8 +- mdcheck start timer starts failure +- Resolves rhbz#1830736 + * Mon Sep 21 2020 Xiao Ni - 4.1.7 - Disable raid5 journal - Resolves rhbz#1875457