Commit Graph

217 Commits

Author SHA1 Message Date
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
Jes Sorensen
adb522038d Avoid resync progress getting lost during expansion of IMSM metadata RAID1/5
Resolves bz948745

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-23 12:31:42 +02:00
Jes Sorensen
2f8071afbc Reorder patches to allow for udev query patch to apply on Fedora 17
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-23 08:52:18 +02:00
Jes Sorensen
ae351a031e Rely on rpm macros to place files in correct directories to match /usr move
Resolves bz955248

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-04-22 18:12:58 +02:00
Jes Sorensen
0a98c0ed35 Only run make install-systemd on F18 and higher
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-03-07 16:42:31 +01:00
Jes Sorensen
7da68c88d7 Cleanup .spec file handling of different Fedora versions
Resolves bz914629

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-03-07 15:49:34 +01:00
Jes Sorensen
23c3fb197b Resync with final version of upstream patches for launching mdmon via systemctl.
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-02-05 16:21:25 +01:00
Jes Sorensen
23db92efcc Merge branch 'f18' of ssh://pkgs.fedoraproject.org/mdadm into f18 2013-01-21 14:52:29 +01:00
Jes Sorensen
40b9ebaee0 Add mdmon systemd service files forgotten in the previous commit
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:51:46 +01:00
Jes Sorensen
b10778ff60 Merge branch 'f18' of ssh://pkgs.fedoraproject.org/mdadm into f18 2013-01-21 14:44:12 +01:00
Jes Sorensen
d467710db7 Merge branch 'master' of ssh://pkgs.fedoraproject.org/mdadm 2013-01-21 14:43:44 +01:00
Jes Sorensen
34d880fc4c Launch mdmon via systemctl to avoid it ending up in the wrong cgroup
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:42:51 +01:00
Jes Sorensen
352851ee4a Launch mdmon via systemctl to avoid it ending up in the wrong cgroup
Resolves bz879327

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-21 14:36:26 +01:00
Jes Sorensen
d047b34df2 Fix code to make mdmon leave the udev cgroup correctly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-08 16:35:00 +01:00
Jes Sorensen
4335bd6f0f Add missing changelog entry for 3.2.6-10
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-08 16:32:44 +01:00
Jes Sorensen
157ee38ddb Fix mdmonitor-takeover.service dangling symlink for real this time
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-07 17:50:35 +01:00
Jes Sorensen
fe785fe1f6 Reintroduce fix for dangling systemd symlink for mdmonitor-takeover.service
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-07 10:53:55 +01:00
Jes Sorensen
b1a4d82044 Remove mdmonitor-takeover.service
Resolves bz834245

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2013-01-04 16:56:10 +01:00
Jes Sorensen
5e97b2a025 Update version number for this build correctly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-11 16:54:25 +01:00
Jes Sorensen
ca9ac096b5 Fix problem with failed disks in failed RAID volume not being removed
Resolves bz886123

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-11 16:50:43 +01:00
Jes Sorensen
6093eddf83 Obsolete mdadm-sysvinit as we no longer support sysvinit booting
Resolves bz#884993

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-10 18:39:38 +01:00
Jes Sorensen
ef87d82060 Fix typo in error message in fix for 880972. No functional changes
Resolves bz880972

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-12-10 18:05:19 +01:00
Jes Sorensen
bbba7e024c Fix two IMSM bugs
- Disallow creating a second IMSM RAID array size 0 (bz880972)
- Disallow creating IMSM RAIDs that spans multiple controllers (bz880974)

Resolves bz880972, bz880974

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-11-30 17:52:41 +01:00
Jes Sorensen
d631eadf39 Only apply cgroups workaround on Fedora 18 and higher
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-11-30 16:31:39 +01:00
Jes Sorensen
ecbec5e0c4 Fix build issue with cgroups workaround patch
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-11-30 15:54:40 +01:00
Doug Ledford
14c7631f2d Try to resolve cgroup issue
Udev wants us to not start mdmon under its cgroup (it kills mdmon if we
leave it in udev's cgroup), so as part of the mdmon startup process, set
the child process to be part of the systemd cgroup instead.  However, if
we don't have cgroups, or there is no systemd cgroup, then just silently
move on.

Signed-off-by: Doug Ledford <dledford@redhat.com>
2012-11-15 17:15:05 -05:00
Jes Sorensen
5fca48bd6d Upgrade to mdadm-3.2.6
Resolves bz#869930

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-25 11:03:41 +02:00
Jes Sorensen
41680b0eaa Bump revision to work around bodhi breakage
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-19 18:18:37 +02:00
Jes Sorensen
70a5b98ce5 Relax requirements for abrt script to depend on just libreport-filesystem
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-19 10:28:46 +02:00
Jes Sorensen
eb7fecee11 Add abrt script to retrieve /proc/mdstat output in case of crash
Resolves bz#867842

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-18 14:49:42 +02:00
Jes Sorensen
dee78ce96b Remove package requirements for udev and initscripts for F18+
Resolves bz#864562

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-17 12:11:07 +02:00
Jes Sorensen
7a29d2e669 dummy update - bump release to match f15/f16
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-17 11:57:25 +02:00
Jes Sorensen
50f2b3362c Resolve issue with ambiguous licenses
This resolves bz#862761

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-10-03 15:50:44 +02:00
Jes Sorensen
6e6b5143a1 Switch to new systemd macros for F18+
Resolves bz850202

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-09-10 10:05:43 +02:00
Jes Sorensen
ddb12f7a60 Remove bogus rogue patch applied in 3.2.5-5 with justification and
without following the structure of the mdadm package.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-08-07 20:02:53 +02:00
Dennis Gilmore
d0e7bf320d Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-27 00:53:16 -05:00
Karsten Hopp
8233a5a683 include <linux/types.h> in some to avoid type clashes.
same problem as rhbz #840902
2012-07-18 16:47:43 +02:00
Jes Sorensen
d4500164ba Move /etc/tmpfiles.d/mdadm.conf to /lib/tmpfiles.d/
Resolves bz840187

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-07-16 13:34:18 +02:00
Jes Sorensen
44f4b5d516 Bugfix release:
- Fix problem where reshape of RAID volume is broken after trying to
  stop all MD devices.
- Enhance raid-check to allow the adming to specify the max number of
  concurrent arrays to be checked at any given time.
- Resolves bz830177, bz820124

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-06-25 19:47:51 +02:00
Jes Sorensen
d45e40da1b Fix uninstall script to remove dangling symlink
This fix removes a dangling symlink to mdmonitor-takeover.service, if
the mdadm package is uninstalled from the system.

Resolves bz828354

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-06-13 17:57:26 +02:00
Jes Sorensen
96e611c399 Update to mdadm-3.2.5
Resolves: bz#822850

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-05-21 13:04:33 +02:00
Jes Sorensen
aa53f3daa8 Fix mdadm-3.2.4 introduced bug where --add fails in common cases
Resolves: bz821717 (f17) bz821718 (f16) bz821719 (f15)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-05-15 14:30:56 +02:00
Jes Sorensen
d8666fccff Fix mdadm.conf to use 'd' for /var/run/mdadm creation, to avoid the map file getting deleted during boot.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-05-10 14:08:42 +02:00
Jes Sorensen
76ff773cd6 Upgrade to mdadm-3.2.4
Resolves: bz820534 (rawhide) bz820527 (f17) bz820531 (f16) bz820532 (f15)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-05-10 13:08:42 +02:00
Jes Sorensen
252d3d6557 Added mdadm-3.2.4 2012-05-10 12:08:02 +02:00
Jes Sorensen
6148d71c1d Fix a large number of bzs:
- Fix Monitor mode sometimes crashes when a resync completes
- Fix missing symlink for mdadm container device when incremental creates
  the array
- Make sure when creating a second array in a container that the second
  array uses all available space since leaving space for a third array
  is invalid
- Validate the number of imsm volumes per controller
- Fix issues with imsm arrays and disks larger than 2TB
- Add support for expanding imsm arrays/containers
- The support for expanding imsm arrays/containers was accepted upstream,
  update to the official patches from there
- Fix for the issue of --add not being very smart
- Fix an issue causing rebuilds to fail to restart on reboot (data
  corrupter level problem)
- Reset the bad flag on map file updates
- Correctly fix failure when trying to add internal bitmap to 1.0 arrays
- Resolves: bz817023 (f17) bz817024 (f17) bz817026 (f17) bz817028 (f17)
- Resolves: bz817029 (f17) bz817032 (f17) bz817038 (f17) bz808774 (f17)
- Resolves: bz817039 (f17) bz817042 (f17)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-04-30 17:50:18 +02:00