Commit Graph

21 Commits

Author SHA1 Message Date
Xiao Ni
8cc5f2a344 To fix build flag error
It didn't specify -rhel-target exception when building 4.2-11.
This is wrong and osci/errata can't work well. So add a version
number and build a new one

Resolves: RHEL-26272

Signed-off-by: Xiao Ni <xni@redhat.com>
2024-03-20 20:56:10 +08:00
Xiao Ni
b72c4114d4 Revert mdadm: remove container_enough logic
Resolves: RHEL-26272

Signed-off-by: Xiao Ni <xni@redhat.com>
2024-03-15 15:50:18 +08:00
Xiao Ni
7552580e17 Rhel9.4 Update mdadm to latest upstream
Update to latest upstream and remove disable error patch. In upstream patch
55a1150c7, it adds more flags to let errors come out.

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-11-03 13:40:19 +08:00
Xiao Ni
72c1204567 Update to latest upstream and fix mdcheck service bug
Now mdcheck service can't be run successfully. We need to put mdcheck in to the
right place (/usr/share/mdadm/mdcheck) and it needs to remove the dependency of
mdadm_env.sh which is fixed in patch 76c224c6c.

And there is a history problem. It needed KillMode=none before, so it removed
the upstream patch 52c67fcdd. Now this problem has been fixed, so we can do the
backport more easilly now. We don't need to remove the upstream patch here again.

It adds a rhel only feature too for transient failure.

Resolves: rhbz#2159923, rhbz#2150865, rhbz#2124071, rhbz#2203859

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-05-16 10:41:01 +08:00
Xiao Ni
02e1f69890 Update to latest upstream
There some bugs need to be fixed.

bug2127101 Reshape is started with not allowed chunk size
patch (super-intel: make freesize not required for chunk size migration)

bug2139789 Installation hangs after RAID degradation
bug2149292 mdadm: Couldn't open /dev/vda3 for write - not zeroing
patch (mdadm/udev: Don't handle change event on raw devices)

bug2151209 Can't remove disk when unplugging a disk
patch (incremental, manage: do not verify if remove is safe)

bug2148945 mdadm --fail /dev/md0 /dev/pmem1s failed
patch (Manage: do not check array state when drive is removed)

Resolves: rhbz#2127101, rhbz#2139789, rhbz#2149292, rhbz#2151209, rhbz#2148945

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-01-06 21:58:10 +08:00
Xiao Ni
f1f5914fae Update to latest upstream
This commit is used to backport to latest upstream. And it's
used to keep udev rule to close to upstream.

Resolves: rhbz#2107147, rhbz#2129087, rhbz#2126428

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-11-15 20:34:09 +08:00
Xiao Ni
d5146fa1c9 Add ddf auto-assemble in udev rule
Resolves: rhbz#2120690

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-09-05 08:45:54 +08:00
Xiao Ni
8efcbf0515 Update mdadm to latest upstream
Resolves: rhbz#2092330

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-08-25 19:59:23 +08:00
Xiao Ni
d084804dfe Add Killmode=none for mdmon systemd service
Resolves: rhbz#2109042

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-08-10 16:55:22 +08:00
Xiao Ni
4bc609db47 Update to latest upstream
Resolves: rhbz#2052029, rhbz#1974184

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-05-30 12:50:53 +08:00
Xiao Ni
5d4b4d1c30 mdadm re-add fault/removed disk failed
Resolves: rhbz#2047567

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-02-24 14:00:03 +08:00
Xiao Ni
bf2a5ebf8b Update to latest upstream 4.2
It also adds some comments in spec file to describe we should use
EXTRAVERSION against make command when we have a subversion.

Resolves: rhbz#2026723, rhbz#2026532, rhbz#1995587

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-12-31 13:21:58 +08:00
Xiao Ni
c5a8bb3e1e Fix gating test error and rpminspect error
Resolves: rhbz#1870487, rhbz#1880529

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-13 21:05:59 +08:00
Mohan Boddu
e43676e18e Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:13:32 +00:00
Xiao Ni
58123c41fc Change the release version
In last commit, I tried to add gating test. The Release version
doesn't change in last commit. But centpkg build complains it
needs to change the Release version.

So this commit changes the Release version.

Resolves: rhbz#1870487, rhbz#1880529

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-09 23:31:38 +08:00
Xiao Ni
d17c0d22c3 Add gating test
Resolves: rhbz#1870487, rhbz#1880529

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-09 22:34:16 +08:00
Xiao Ni
35b3220e55 Update to latest upstream
Resolves: rhbz#1870487, rhbz#1880529

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-03 22:34:11 +08:00
Mohan Boddu
51639c6c51 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 02:06:32 +00:00
DistroBaker
219d6e79f9 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/mdadm.git#cecf96db4ed0b081c18f245db18983ede7d905fa
2021-02-02 22:20:53 +00:00
Petr Šabata
a0a8c08c8f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/mdadm#35305694b4c62f86205dcccd37f10e8361463cee
2020-10-15 19:31:25 +02:00
Release Configuration Management
599b96a7ae New branch setup 2020-10-08 18:07:06 +00:00