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
Jes Sorensen
4ac0f8fa3e
Fix bug where IMSM arrays stay inactive in case of reboot during reshape
...
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-04-30 14:29:26 +02:00
Jes Sorensen
71165988bf
Fix issue when re-adding drive to a raid1 array with bitmap
...
Resolves: bz807743 (f17) bz769323 (f16) bz791159 (f15)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-03-28 17:24:12 +02:00
Jes Sorensen
e2bea3e210
Fix a double free and a segfault bug
...
Fix double free on buggy old kernel sysfs read
Fix segfault if trying to write superblock to non existing device
Resolves: bz795707 (f17) bz795747 (f16) bz795748 (f15)
Resolves: bz795461 (f17) bz795749 (f16) bz795750 (f15)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-02-23 11:19:49 +01:00
Jes Sorensen
15adacde4b
Fix failure of devices refusing to add to raids using bitmaps
...
This fixes an issue with devices failing to be added to a raid using
bitmaps, due to trying to write the bitmap with mis-aligned buffers
using O_DIRECT
Resolves bz789898 (f16) bz791189 (f15)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-02-16 13:43:22 +01:00
Jes Sorensen
c68d736ff4
Backport --offroot patches from upstream
...
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-01-30 17:05:23 +01:00
Jes Sorensen
9d26a69f72
Make sure to retry in case a remove fails due to an array being busy
...
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
2012-01-12 13:39:08 +01:00
Jes Sorensen
67924ca9b5
Merge branch 'master' of ssh://pkgs.fedoraproject.org/mdadm
2012-01-05 14:22:52 +01:00