Commit Graph

287 Commits

Author SHA1 Message Date
Xiao Ni
ebabcd5c79 Update to latest upstream
Update to 4.3 and add gating test

Resolves: RHEL-30530

Signed-off-by: Xiao Ni <xni@redhat.com>
2024-05-16 10:36:42 -04:00
Xiao Ni
fbe794e269 Update to latest upstream
Update to 4.3 and backport other patches behind 4.3

Resolves: RHEL-30530

Signed-off-by: Xiao Ni <xni@redhat.com>
2024-03-29 17:30:23 +08:00
Fedora Release Engineering
fc9ebc2db4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 06:06:04 +00:00
Fedora Release Engineering
110a739c7d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 07:13:51 +00:00
Fedora Release Engineering
c3138fdc95 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 14:07:10 +00:00
Xiao Ni
a91fbc1088 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.

Resolves: bz#2175540

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-04-12 20:46:33 +08:00
Xiao Ni
cdf21d08ef Update to latest upstream
After updating to latest upstream, bug2163711 can be fixed.
We don't use rhel only udev rule anymore and we use the
udev rules from upstream. So we don't need to modify our
rhel only udev rule again.

Resolves: bz#2163711

Signed-off-by: Xiao Ni <xni@redhat.com>
2023-01-30 16:08:49 +08:00
Fedora Release Engineering
f2f7e34074 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 19:15:55 +00:00
Fedora Release Engineering
5ff6e957c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 20:49:03 +00:00
Xiao Ni
a5a30cdfb2 Update to mdadm-4.2
Resolves: bz#2066150

Signed-off-by: Xiao Ni <xni@redhat.com>
2022-03-21 15:08:03 +08:00
Fedora Release Engineering
d100e0a4c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 18:58:57 +00:00
Xiao Ni
a8468fd162 Update to upstream 4.2-rc2
Resolves: bz#1988236

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-09 10:58:51 +08:00
Fedora Release Engineering
d1e3cbd36a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 14:02:13 +00:00
Zbigniew Jędrzejewski-Szmek
781e39f37e Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:27 +01:00
Fedora Release Engineering
cecf96db4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 19:32:52 +00:00
Tom Stellard
60e75c3574 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-06 21:36:36 +00:00
Fedora Release Engineering
35305694b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 07:10:10 +00:00
Xiao Ni
eb623833d4 Don't enable raid-check.service
Now raid-check.service is enable and it can do raid check after every boot. We don't
want this. So disable it.

And for enable raid-check.timer, the right way is to add enalbe raid-check.timer in
/usr/lib/systemd/system-preset/90-default.preset. I already file a new bug for it
https://bugzilla.redhat.com/show_bug.cgi?id=1817491

Resolves: bz#1840519

Signed-off-by: Xiao Ni <xni@redhat.com>
2020-05-27 17:43:38 +08:00
Peter Robinson
b7388c1e29 Fix install location of udev rules (rhbz 1809117) 2020-03-08 17:19:39 +00:00
Alejandro Domínguez
8491dee042 Replace raid-check cron job with systemd timer 2020-02-09 08:35:31 +01:00
Fedora Release Engineering
798932b8b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 12:27:48 +00:00
Peter Robinson
0a57b8d3e6 Log the mdmonitor output to syslog (PR#3) 2020-01-13 09:35:55 +00:00
Peter Robinson
4a544f5274 4.1 GA, spec file cleanups, update all pieces for the /var/run -> /run changes 2020-01-13 09:05:54 +00:00
Julian Sikorski
3665f77990 Fix invalid substitution type error
Resolves bz1740662, bz1749859
2019-12-15 11:36:15 +01:00
Fedora Release Engineering
9d47343824 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 16:16:20 +00:00
Xiao Ni
05c4bbca38 Update pidfile path to non legacy location
Build a new package after merging.

Resolves: bz1704517

Signed-off-by: Xiao Ni <xni@redhat.com>
2019-06-04 12:51:37 +08:00
Xiao Ni
426ad2794d Merge #4 mdmonitor.service: update PIDFile path to non-legacy location 2019-06-04 03:26:54 +00:00
Xiao Ni
dfe51d0612 Change tmpfiles directory
Resolves: bz1691905

Signed-off-by: Xiao Ni <xni@redhat.com>
2019-04-22 13:48:58 +08:00
Christian Stadelmann
2c0d32847a mdmonitor.service: update PIDFile path to non-legacy location 2019-04-17 08:37:28 +00:00
Björn Esser
8919479e90
Add patch to build without -Werror, fixes FTBFS (#1675363) 2019-03-16 13:36:49 +01:00
Fedora Release Engineering
a5c747c373 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 10:04:33 +00:00
Adam Williamson
f8c5cc46d4 Fix DM_MULTIPATH_DEVICE_PATH check in mdadm.rules (#1628192)
This value can be explicitly set to 0 (meaning 'not a multipath
device'). The check as currently written will match on this, as
it just matches absolutely any one or more characters at all,
including 0. Fix the check to only look for '1', the value that
indicates the device is multipath. This is the same as how
68-del-part-nodes.rules and 69-dm-lvm-metad.rules do it.

Resolves: bz1628192

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-13 15:46:35 -07:00
Peter Robinson
9c6a0aeb2d Update to 4.1 rc2 2018-08-26 23:11:04 +01:00
Xiao Ni
9aa4b640d2 Add gcc into BuildRequires
Resolves: bz1604811

Singed-off-by: Xiao Ni <xni@redhat.com>
2018-07-20 15:29:45 +08:00
Fedora Release Engineering
2d59c92026 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 10:04:24 +00:00
Xiao Ni
245f9b044a Update to upstream 4.1-rc1
Now there are some patches after 4.1-rc1 and include them in this time
too. So we update to latest upstream version this time.

Resolves: bz1556591

Signed-off-by: Xiao Ni <xni@redhat.com>
2018-07-09 18:26:21 +08:00
Peter Robinson
9cf96bee0a Cleanup spec, use %%licenece, drop old sys-v migration bits 2018-07-04 14:17:20 +01:00
Igor Gnatenko
3670e47a52
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:21:01 +01:00
Igor Gnatenko
5d79ddbe2e Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:48:33 +01:00
Fedora Release Engineering
1a69456f91 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 01:31:36 +00:00
Fedora Release Engineering
dd54da95e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:11:17 +00:00
Fedora Release Engineering
4bb43e3648 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 21:12:44 +00:00
Xiao Ni
bf6fddd70e Fix building errors against newer gcc(>=7.0)
Resolves: bz#144756

Signed-off-by: Xiao Ni <xni@redhat.com>
2017-04-26 13:15:35 +08:00
Fedora Release Engineering
c922e70d98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 20:47:03 +00:00
Xiao Ni
104980a243 Update mdadm to upstream v4.0
Resolves: bz#1411555

Signed-off-by: Xiao Ni <xni@redhat.com>
2017-01-12 23:12:04 +08:00
Jes Sorensen
c950024ba2 mdadm.h - include sys/sysmacros.h directly to build against F26+ glibc
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-15 11:35:14 -04:00
Jes Sorensen
c64955485e Add missing patch to git
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 15:19:02 -04:00
Jes Sorensen
6e2d10d9a3 Backport various fixes for mdadm-3.4 from RHEL
Resolves: bz#1303380

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 15:18:59 -04:00
Jes Sorensen
79d2abf1e9 Update mdadm to upstream v3.4
Resolves: bz#1303380

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2016-08-12 13:48:31 -04:00
Xiao Ni
89f3275e06 Fix degraded raid1 array becomes inactive after rebooting
Resolves: bz#1337004

Signed-off-by: Xiao Ni <xni@redhat.com>
2016-05-31 09:43:21 +08:00