Commit Graph

262 Commits

Author SHA1 Message Date
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
Dennis Gilmore
34117320ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 05:12:18 +00:00
Jes Sorensen
0a54d98388 Fix race when assembling or stopping IMSM RAID arrays
Resolves: bz#1268955

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2015-10-22 12:31:52 -04:00
Jes Sorensen
48f7551bf7 Upgrade to mdadm-3.3.4
Resolves: bz#1246474

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2015-10-22 12:31:45 -04:00
Dennis Gilmore
a65dee76e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 19:54:16 +00:00
Jes Sorensen
cb6db4c08b Upgrade to mdadm-3.3.2
Resolves: bz#1132847

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-08-26 19:49:51 +02:00
Peter Robinson
31c96f63e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 09:03:32 +00:00
Jes Sorensen
e6006ccee9 Apply proper fix for bz1125883
Resolves bz1125883

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-08-05 10:06:03 +02:00
Dan Horák
4360983a2c - revert the previous fix, not upstream yet 2014-08-04 10:59:53 +02:00
Dan Horák
a4247a8798 - fix FTBFS on ppc64 (#1125883) 2014-08-04 10:34:24 +02:00
Jes Sorensen
2439aace63 Fix two mdadm bugs
1) Improve error message when trying to use --grow -n<X> on a Linear
   array
2) Allow assembly of explicitly specified arrays, even if they are
   disabled in /etc/mdadm.conf

Resolves: bz#1122146, bz#1124310

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-07-29 10:20:09 +02:00
Jes Sorensen
0e06f1f68a Revert 'change' udev event change from 3.3.1-1.
This needs thorough testing if we are to consider enabling it in
Fedora

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-12 16:30:14 +02:00
Jes Sorensen
5901b88a33 Revert "Make mdadm.rules honor 'change' events"
This reverts commit e77c97f845.

Acting on change events has side affects I hadn't taken into
account. While upstream does it per default, this requires more
testing before we do this in Fedora.
2014-06-12 09:04:38 +02:00
Jes Sorensen
e444603605 Update to mdadm-3.3.1
Resolves bz#1105136

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-10 15:12:22 +02:00
Jes Sorensen
e77c97f845 Make mdadm.rules honor 'change' events
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-06-10 13:35:15 +02:00
Dennis Gilmore
93bdb09290 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:49:46 -05:00
Jes Sorensen
9cfefe3283 Don't depend on syslog.target in mdmonitor.service
Resolves bz#1055202

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-03-14 13:49:28 +01:00
Jes Sorensen
b00ad520fd Revert changes introduced in 3.3-5 - the original code was correct
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-01-31 17:50:06 +01:00
Jes Sorensen
91fc6ba763 Do not create /var/run/mdadm in the rpm, this is created by tmpfiles
Resolves bz#1053176

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2014-01-30 18:17:21 +01:00
Jes Sorensen
b946c84e0b Fix building on big-endian architectures again
Resolves bz#1015494

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-10 09:46:06 +02:00
Jes Sorensen
a73c68d519 Use DM_UDEV_DISABLE_OTHER_RULES_FLAG in rules files
Resolves bz1015514

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-09 16:28:38 +02:00
Jes Sorensen
2971b66bcb Require dracut 034-1
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-10-08 15:32:10 +02:00
Jes Sorensen
812436111f Update to mdadm-3.3
Resolves bz977826

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-09-05 15:37:23 +02:00
Jes Sorensen
f7e88a8ef4 Fix problem with first stop command of IMSM raid during reshape
In addition
- Remove Fedora 17 support
- Fix pointless noise from rpm tools over date mismatches

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-08-13 21:29:05 +02:00
Dennis Gilmore
6d157ec6dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 04:54:11 -05:00
Jes Sorensen
ec874c830f Fix problem where rebuild of IMSM RAID5 volume started in OROM, does not proceed in OS
Resolves bz956021 (f18), bz956026 (f17), bz956031 (f19)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-24 10:25:43 +02:00