dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SPECS/mdadm.spec

2c1b57
Summary:     The mdadm program controls Linux md devices (software RAID arrays)
2c1b57
Name:        mdadm
2c1b57
Version:     4.0
2c1b57
Release:     13%{?dist}
2c1b57
Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
2c1b57
Source1:     mdmonitor.init
2c1b57
Source2:     raid-check
2c1b57
Source3:     mdadm.rules
2c1b57
Source4:     mdadm-raid-check-sysconfig
2c1b57
Source5:     mdadm-cron
2c1b57
Source6:     mdmonitor.service
2c1b57
Source7:     mdadm.conf
2c1b57
Source8:     mdadm_event.conf
2c1b57
2c1b57
Patch1:      Makefile-Fix-date-to-be-output-in-ISO-format.patch
2c1b57
Patch2:      imsm-fix-missing-error-message-during-migration1.patch
2c1b57
Patch3:      Fix-oddity-where-mdadm-did-not-recognise-a-relative-.patch
2c1b57
Patch4:      mdadm-fix-typo1-in-comment.patch
2c1b57
Patch5:      mdadm-check-the-nodes-when-operate-clustered1-array.patch
2c1b57
Patch6:      examine-tidy-up-some-code.patch
2c1b57
Patch7:      add-man-page-for-symlinks.patch
2c1b57
Patch8:      mdadm-add-checking-clustered2-bitmap-in-assemble-mode.patch
2c1b57
Patch9:      mdadm-Add-Wimplicit-fallthrough-0-in-Makefile.patch
2c1b57
Patch10:     specify-enough-length-when-write-to-buffer.patch
2c1b57
Patch11:     mdadm-fixed-some-trivial-typos-in-comments-of-mdadm.patch
2c1b57
Patch12:     mdadm-it-doesn-t-make-sense-to-set-bitmap-twice.patch
2c1b57
Patch13:     mdadm-mdmon-deleted-the-abort_reshape-never-invoked.patch
2c1b57
Patch14:     mdadm-Monitor-Fix-NULL-pointer-dereference-when-stat.patch
2c1b57
Patch15:     Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch
2c1b57
Patch16:     mdadm-Forced-type-conversion-to-avoid-truncation.patch
2c1b57
Patch17:     super1-ignore-failfast-flag-for-setting-device-role.patch
2c1b57
Patch18:     mdadm-bitmap-fixed-typos-in-comments1-of-bitmap.h.patch
2c1b57
Patch19:     udev-md-raid-assembly.rules-Skip-non-ready-devices.patch
2c1b57
Patch20:     Retry-HOT_REMOVE_DISK-a-few-times.patch
2c1b57
Patch21:     mdadm-Build1-check-the-level-parameter-when-build-new.patch
2c1b57
Patch22:     Introduce1-sys_hot_remove_disk.patch
2c1b57
Patch23:     Add-force-flag1-to-hot_remove_disk.patch
2c1b57
Patch24:     Detail-handle-non-existent-arrays-better.patch
2c1b57
Patch25:     generic-support-for-consistency-policy-and-PPL.patch
2c1b57
Patch26:     detail-show-consistency-policy.patch
2c1b57
Patch27:     imsmppl-support.patch
2c1b57
Patch28:     super1ppl-support.patch
2c1b57
Patch29:     add-ppl-and-no-ppl-options-for-update.patch
2c1b57
Patch30:     support-consistency-policy1-change.patch
2c1b57
Patch31:     mdadm.h-struct-mdinfo-reorganize-ppl-elements-for-be.patch
2c1b57
Patch32:     super1-replace-hard-coded-values-with-bit-definition.patch
2c1b57
Patch33:     mdadm-Clean-up-some-ugly-multiple-actions-on-single-.patch
2c1b57
Patch34:     mdadm-Fixup-a-number-of-whitespace-inconsistency-cas.patch
2c1b57
Patch35:     util-Cosmetic-changes.patch
2c1b57
Patch36:     Grow-Fixup-a-pile-of-cosmetic-issues.patch
2c1b57
Patch37:     util-Introduce2-md_get_array_info.patch
2c1b57
Patch38:     Incremental-Remove-redundant-call-for-GET_ARRAY_INFO.patch
2c1b57
Patch39:     util-Introduce3-md_get_disk_info.patch
2c1b57
Patch40:     util-Introduce4-md_set_array_info.patch
2c1b57
Patch41:     md_u-Remove-some-unused-ioctl-declarations.patch
2c1b57
Patch42:     Grow-Remove-unnecessary-optimization.patch
2c1b57
Patch43:     Grow-Do-not-shadow-an-existing-variable.patch
2c1b57
Patch44:     mdadm-grow-reshape-would1-be-stuck-from-raid1-to-raid.patch
2c1b57
Patch45:     imsm-use-rounded-size-for-metadata-initialization.patch
2c1b57
Patch46:     mdadm.c-fix-compile-error-switch-condition-has-boole.patch
2c1b57
Patch47:     sysfs-Use-the-presence-of-sys-block-dev-md-as-indica.patch
2c1b57
Patch48:     sysfs-Make-sysfs_init-return-an-error-code.patch
2c1b57
Patch49:     mdadm-Create-declaring1-an-existing-struct-within-sam.patch
2c1b57
Patch50:     Create-Fixup-bad-placement-of-logical-in-multi-line-.patch
2c1b57
Patch51:     Create-Fixup-various-whitespace-issues1.patch
2c1b57
Patch52:     util-must_be-container1-Use-sysfs_read-GET_VERSION-to.patch
2c1b57
Patch53:     util-set_array_info-Simplify-code-since-md_get-versi.patch
2c1b57
Patch54:     Assemble-Assemble-Stop-checking-kernel-md-driver-ver.patch
2c1b57
Patch55:     Build2-Stop-bothering-about-supporting-md-driver-olde.patch
2c1b57
Patch56:     Grow-Stop-bothering-about-md-driver-versions-older-t.patch
2c1b57
Patch57:     Detail-Stop-bothering1-about-md-drivers-older-than-0..patch
2c1b57
Patch58:     Create-Remove-all-attemps-to-handle-md-driver-older-.patch
2c1b57
Patch59:     Manage-Remove-all-references1-to-md_get_version.patch
2c1b57
Patch60:     Query-Remove-all-references-to-md_get_version.patch
2c1b57
Patch61:     bitmap-Remove-use-of-md-get-version1.patch
2c1b57
Patch62:     mdmon-Stop-bothering-about-md-get-version2.patch
2c1b57
Patch63:     mdopen-open_mddev-Use-md_get_array_info-to-determine1.patch
2c1b57
Patch64:     mdassemble-Use-md_get_array_info-to-check-for-valid-.patch
2c1b57
Patch65:     Assemble-Assemble-Get-rid-of-last-use-of-md_get-vers.patch
2c1b57
Patch66:     util-Finally-kill-off-md_get_version.patch
2c1b57
Patch67:     mdadm-Fail-for-kernels-older-than-2.6.15.patch
2c1b57
Patch68:     mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch
2c1b57
Patch69:     Revert-mdadm-grow-reshape-would-be-stuck-from-raid1-.patch
2c1b57
Patch70:     Retire-mdassemble.patch
2c1b57
Patch71:     super1-Clean-up-various-style-abuses.patch
2c1b57
Patch72:     mdopen-use-parameters-new_array-to-create-arrays-whe.patch
2c1b57
Patch73:     mdadm-manpage-update-manpage-for-readonly-parameter.patch
2c1b57
Patch74:     mdadm-manpage-clustered3-arrays-don-t-support-array-s.patch
2c1b57
Patch75:     Assemble-Clean1-up-start_array.patch
2c1b57
Patch76:     Detail-Remove-pre-2.6-code-for-printing-info-on-rebu.patch
2c1b57
Patch77:     Assemble-Remove-obsolete-test-for-kernels1-older-than.patch
2c1b57
Patch78:     Detail-Fixup-ugly-if-foo-abuse.patch
2c1b57
Patch79:     Query-Handle-error-returned-by-fstat.patch
2c1b57
Patch80:     Query-Use-sysfs-to-obtain-data-if-possible.patch
2c1b57
Patch81:     sysfs-Parse-array_state-in-sysfs_read.patch
2c1b57
Patch82:     util-Introduce6-md_array_active-helper.patch
2c1b57
Patch83:     maps-Terminate-modes-map-correctly.patch
2c1b57
Patch84:     maps-Use-keyvalue-for-null-terminator-to-indicate-un.patch
2c1b57
Patch85:     util-Get-rid-of-unused-enoughfd.patch
2c1b57
Patch86:     mdadm-retire-mdassemble-in-make-everything.patch
2c1b57
Patch87:     Grow_continue_command-ensure-content-is-properly-ini.patch
2c1b57
Patch88:     systemd-mdadm-last-resort-use-ConditionPathExists-in.patch
2c1b57
Patch89:     Detail-ensure-export-names-are-acceptable-as-shell-v.patch
2c1b57
Patch90:     Query-Quiet-gcc-since-it-cannot-know-errno-0-in-this.patch
2c1b57
Patch91:     Makefile-Default-to-O2-optimization1.patch
2c1b57
Patch92:     maps-Remove-incorrect-comment-about-strcmp.patch
2c1b57
Patch93:     maps-Simplify-implementation-of-map_name.patch
2c1b57
Patch94:     Don-t-use-UnSet-with-consistency_policy.patch
2c1b57
Patch95:     Detail-determine2-array-state-from-sysfs.patch
2c1b57
Patch96:     Detail-Respect-code-lines-are-80-character-wide.patch
2c1b57
Patch97:     Detail-Reinstate-support-for-not-having-sysfs.patch
2c1b57
Patch98:     Incremental-Use-md_array_active-where-applicable.patch
2c1b57
Patch99:     Incremental-Cleanup-some-if-statement-spaghetti.patch
2c1b57
Patch100:    Create-tell-udev-md-device-is-not-ready-when-first-c.patch
2c1b57
Patch101:    Incremental-Use-md_array_active-to-determine3-state-o.patch
2c1b57
Patch102:    Manage-Manage-ro-Use-md_array_active.patch
2c1b57
Patch103:    IMSM-Initialize-my_vol_raid_dev_num-during-vol-creat.patch
2c1b57
Patch104:    Grow-Grow_continue_command-Avoid-aliasing-array-vari.patch
2c1b57
Patch105:    change-back-0644-permission-for-Grow.c.patch
2c1b57
Patch106:    util-md_array_valid-Introduce5-md_array_valid-helper.patch
2c1b57
Patch107:    kernel-patch-Remove-obsolete-kernel-patches-against-.patch
2c1b57
Patch108:    mdassemble-Kill-off-the-last-remains.patch
2c1b57
Patch109:    mdadm-util-unify-fstat-checking-blkdev1-into-function.patch
2c1b57
Patch110:    mdadm-util-unify-stat-checking-blkdev-into-function.patch
2c1b57
Patch111:    Fix-typo2-in-new-udev-rule.patch
2c1b57
Patch112:    Incremental-returnis-not-a-function.patch
2c1b57
Patch113:    sysfs-sysfs_read-Count-activedisks-and-failed_disks.patch
2c1b57
Patch114:    container_members_max-degradation-Switch-to-using-sy.patch
2c1b57
Patch115:    IncrementalScan-Use-md_array_active-instead-of-mdge.patch
2c1b57
Patch116:    Mention-endian-in-documentation-for-update-byte-orde.patch
2c1b57
Patch117:    Monitor-Use-md_array_active-instead-of-manually-fidd.patch
2c1b57
Patch118:    Monitor-Code-is-80-characters-per-line.patch
2c1b57
Patch119:    mdadm-md.4-set-page-length-as-1000-to-avoid-warnings.patch
2c1b57
Patch120:    allow-drives-in-a-container-regardless-of-sector-size.patch
2c1b57
Patch121:    allocate-buffer-to-support-maximum-sector-size.patch
2c1b57
Patch122:    dont-allow-disks-with-different-sector-sizein-one.patch
2c1b57
Patch123:    Allow-more-spare-selection-criteria.patch
2c1b57
Patch124:    Add-sector-size-as-spare-selection-criterion.patch
2c1b57
Patch125:    Monitor-check_array-Centralize-exit-path.patch
2c1b57
Patch126:    Monitor-check_array-reduce-duplicated-error-handling.patch
2c1b57
Patch127:    Monitor-check_array-declate-mdinfo-instance-globally.patch
2c1b57
Patch128:    Monitor-check_array-Read-sysfs-entry-earlier.patch
2c1b57
Patch129:    Monitor-check_array-Obtain-RAID-level-fromsyfs.patch
2c1b57
Patch130:    Monitor-check_array-Get-faileddisks-from-sysfs.patch
2c1b57
Patch131:    Monitor-check_array-Get-arraydisks-from-sysfs.patch
2c1b57
Patch132:    Monitor-check_array-Get-nrdisks-active_disks-and-sp.patch
2c1b57
Patch133:    sysfs-sysfs_read-Count-workingdisks.patch
2c1b57
Patch134:    Monitor-checkarray-Use-working_disks-from-sysfs.patch
2c1b57
Patch135:    Correct-examine-output-for-4kdisks.patch
2c1b57
Patch136:    retire-the-APIs-that-driver-nolonger-supports.patch
2c1b57
Patch137:    Monitor-Not-much-point-declaring-mdlist-in-both-fork.patch
2c1b57
Patch138:    Monitor-mailfrom-is-initialized-correctly.patch
2c1b57
Patch139:    Monitor-Fixup-apile-of-whitespace-issues.patch
2c1b57
Patch140:    mdadm-Uninitialized-variable-rdev.patch
2c1b57
Patch141:    super-ddf-sysfs_read-takes-a-pointer-as-devicename-.patch
2c1b57
Patch142:    mdadm-Fixup-a-large-number-of-bad-formatting-of-logi.patch
2c1b57
Patch143:    mdadm-Fixup-morebroken-logical-operator-formatting.patch
2c1b57
Patch144:    mdadm-Fix-broken-formatting1.patch
2c1b57
Patch145:    mdadm-Fixup-broken-formatting2.patch
2c1b57
Patch146:    manpage-badblock-support-for-IMSM.patch
2c1b57
Patch147:    Detail-don-t-exit-if-ioctl-has-been-successful.patch
2c1b57
Patch148:    super1-fix-sb-max_dev-when-adding-a-new-disk-inline.patch
2c1b57
Patch149:    md_u-Remove-unused-ioctl-declaration-of-START_ARRAY.patch
2c1b57
Patch150:    Grow-set-component-size-prior-to-array-size.patch
2c1b57
Patch151:    Get-failed-disk-count-fromarray-state.patch
2c1b57
Patch152:    dont-allow-array-geometry-change-with-ppl-enabled.patch
2c1b57
Patch153:    dont-allow-to-enable-PPL-reshape-in-progress.patch
2c1b57
Patch154:    mdadm-test-Convert-code-formatto-use-Tab.patch
2c1b57
Patch155:    mdadm-test-Refactor-and-revamp-test-script.patch
2c1b57
Patch156:    mdadm-test-Add-raidtype-to-run-different-raidlevel-c.patch
2c1b57
Patch157:    mdadm-test-Add-disks-to-support-testing-phsical-devi.patch
2c1b57
Patch158:    Monitor-don-t-assume-mdadm-parameter-is-a-blockdevi.patch
2c1b57
Patch159:    super1-Always-round-data-offset-to-1M.patch
2c1b57
Patch160:    mdadm-r5cache-allow-adding-journal-to-array-without-.patch
2c1b57
Patch161:    Detail-correct-outputfor-active-arrays.patch
2c1b57
Patch162:    imsm-rebuild-from-2-disk-RAID10.patch
2c1b57
Patch163:    Error-messages-should-end-with-a-newline-character.patch
2c1b57
Patch164:    Use-correct-syntax-for-passing-DEVLINKS-to-mdadm-fro.patch
2c1b57
Patch165:    super1-only-set-clustered4-flag2-when-bitmap-is-presen.patch
2c1b57
Patch166:    Don-t-use-exit-ERANGE.patch
2c1b57
Patch167:    Monitor-containers-don-t-have-the-same-sysfs-propert.patch
2c1b57
Patch168:    Monitor-Include-containers-in-spare-migration2.patch
2c1b57
Patch169:    Detail-differentiate-between-container-and-inactive-.patch
2c1b57
Patch170:    mdadm-bitmap-examine-bitmap-failed1-when-bitmap-is-ex.patch
2c1b57
Patch171:    mdadm-install-twomore-udev-rules-in-mdadm.spec.patch
2c1b57
Patch172:    mdadm-set-journal_clean-after-scanning-all-disks.patch
2c1b57
Patch173:    lib-devid2kname-should-take-a-dev_t.patch
2c1b57
Patch174:    sysfs_init_dev-takea-dev_t-argument.patch
2c1b57
Patch175:    Manage-subdevs-Use-a-dev_t.patch
2c1b57
Patch176:    util-Code-is-80-characterswide.patch
2c1b57
#The above patches are backported from RHEL7.5 upstream rebase
2c1b57
Patch177:    Don-t-abort-starting-the-array-if-kernel-does-not-su.patch
2c1b57
Patch178:    super1add-support-for-multiple-ppls.patch
2c1b57
Patch179:    imsmadd-support-for-multiple-ppls.patch
2c1b57
Patch180:    imsm-validate-multiple-ppls-during-assemble.patch
2c1b57
Patch181:    Zeroout-whole-ppl-space-during-creation-force-assemb.patch
2c1b57
Patch182:    imsm-switch-to-multiple-ppls-automatically-during-as.patch
2c1b57
Patch183:    Grow-fix-switching-on-PPL-during-recovery.patch
2c1b57
Patch184:    imsm-don-t-skip-resync-when-an-invalid-ppl-header-is.patch
2c1b57
Patch185:    imsm-Write-empty-PPL-header-if-assembling-regular-cl.patch
2c1b57
Patch186:    imsm-always-do-ppl-recovery-when-starting-a-rebuildi.patch
2c1b57
Patch187:    imsm-use-correct-map-when-validating-ppl.patch
2c1b57
Patch188:    imsm-write-initial-ppl-on-a-disk-added-for-rebuild.patch
2c1b57
Patch189:    mdmon-get-safe-mode-delay-file.patch
2c1b57
Patch190:    imsm-continue-resync-on-3disk-RAID10.patch
2c1b57
Patch191:    imsm-Set-disk-slot-number.patch
2c1b57
Patch192:    managemon-Dont-add-disk-to-the-array-after-it.patch
2c1b57
Patch193:    Avoid-to-take-spare-without-defined-domain-by-imsm.patch
2c1b57
Patch194:    stop-previous-reshape-process-first.patch
2c1b57
2c1b57
# RHEL customization patches
2c1b57
Patch195:    mdadm-3.4-udev-race.patch
2c1b57
Patch196:    mdadm-3.3.2-skip-rules.patch
2c1b57
Patch197:    mdadm-3.3-udev.patch
2c1b57
Patch198:    mdadm-2.5.2-static.patch
2c1b57
Patch199:    disable-journal.patch
2c1b57
URL:         http://www.kernel.org/pub/linux/utils/raid/mdadm/
2c1b57
License:     GPLv2+
2c1b57
Group:       System Environment/Base
2c1b57
BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2c1b57
Obsoletes:   mdctl,raidtools
2c1b57
Obsoletes:   mdadm-sysvinit
2c1b57
Conflicts:   dracut < 024-25
2c1b57
Requires(post): systemd-units chkconfig coreutils
2c1b57
BuildRequires: systemd-units binutils-devel
2c1b57
Requires(preun): systemd-units
2c1b57
Requires(postun): systemd-units coreutils
2c1b57
Requires: libreport-filesystem
2c1b57
2c1b57
%define _hardened_build 1
2c1b57
2c1b57
%description
2c1b57
The mdadm program is used to create, manage, and monitor Linux MD (software
2c1b57
RAID) devices.  As such, it provides similar functionality to the raidtools
2c1b57
package.  However, mdadm is a single program, and it can perform
2c1b57
almost all functions without a configuration file, though a configuration
2c1b57
file can be used to help with some common tasks.
2c1b57
2c1b57
%prep
2c1b57
%setup -q
2c1b57
2c1b57
%patch1  -p1 -b .ISO
2c1b57
%patch2  -p1 -b .migration1
2c1b57
%patch3  -p1 -b .oddity
2c1b57
%patch4  -p1 -b .typo1
2c1b57
%patch5  -p1 -b .clustered1
2c1b57
%patch6  -p1 -b .tidy
2c1b57
%patch7  -p1 -b .symlinks
2c1b57
%patch8  -p1 -b .clustered2
2c1b57
%patch9  -p1 -b .Wimplicit
2c1b57
%patch10 -p1 -b .specify
2c1b57
%patch11 -p1 -b .trivial
2c1b57
%patch12 -p1 -b .twice
2c1b57
%patch13 -p1 -b .invoked
2c1b57
%patch14 -p1 -b .dereference
2c1b57
%patch15 -p1 -b .Replace
2c1b57
%patch16 -p1 -b .Forced
2c1b57
%patch17 -p1 -b .ignore
2c1b57
%patch18 -p1 -b .comments1
2c1b57
%patch19 -p1 -b .assembly
2c1b57
%patch20 -p1 -b .Retry
2c1b57
%patch21 -p1 -b .Build1
2c1b57
%patch22 -p1 -b .Introduce1
2c1b57
%patch23 -p1 -b .force
2c1b57
%patch24 -p1 -b .existent
2c1b57
%patch25 -p1 -b .generic
2c1b57
%patch26 -p1 -b .detail
2c1b57
%patch27 -p1 -b .imsmppl
2c1b57
%patch28 -p1 -b .super1ppl
2c1b57
%patch29 -p1 -b .options
2c1b57
%patch30 -p1 -b .policy1
2c1b57
%patch31 -p1 -b .reorganize
2c1b57
%patch32 -p1 -b .hard
2c1b57
%patch33 -p1 -b .multiple
2c1b57
%patch34 -p1 -b .inconsistency
2c1b57
%patch35 -p1 -b .Cosmetic
2c1b57
%patch36 -p1 -b .cosmetic
2c1b57
%patch37 -p1 -b .Introduce2
2c1b57
%patch38 -p1 -b .redundant
2c1b57
%patch39 -p1 -b .Introduce3
2c1b57
%patch40 -p1 -b .Introduce4
2c1b57
%patch41 -p1 -b .declarations
2c1b57
%patch42 -p1 -b .unnecessary
2c1b57
%patch43 -p1 -b .shadow
2c1b57
%patch44 -p1 -b .would1
2c1b57
%patch45 -p1 -b .rounded
2c1b57
%patch46 -p1 -b .switch
2c1b57
%patch47 -p1 -b .presence
2c1b57
%patch48 -p1 -b .Make
2c1b57
%patch49 -p1 -b .declaring1
2c1b57
%patch50 -p1 -b .multi
2c1b57
%patch51 -p1 -b .issues1
2c1b57
%patch52 -p1 -b .container1
2c1b57
%patch53 -p1 -b .versi
2c1b57
%patch54 -p1 -b .ver
2c1b57
%patch55 -p1 -b .Build2
2c1b57
%patch56 -p1 -b .versions
2c1b57
%patch57 -p1 -b .bothering1
2c1b57
%patch58 -p1 -b .attemps
2c1b57
%patch59 -p1 -b .references1
2c1b57
%patch60 -p1 -b .references
2c1b57
%patch61 -p1 -b .version1
2c1b57
%patch62 -p1 -b .version2
2c1b57
%patch63 -p1 -b .determine1
2c1b57
%patch64 -p1 -b .valid
2c1b57
%patch65 -p1 -b .vers
2c1b57
%patch66 -p1 -b .Finally
2c1b57
%patch67 -p1 -b .kernels
2c1b57
%patch68 -p1 -b .uninitialized
2c1b57
%patch69 -p1 -b .Revert
2c1b57
%patch70 -p1 -b .Retire
2c1b57
%patch71 -p1 -b .abuses
2c1b57
%patch72 -p1 -b .parameters
2c1b57
%patch73 -p1 -b .readonly
2c1b57
%patch74 -p1 -b .clustered3
2c1b57
%patch75 -p1 -b .Clean1
2c1b57
%patch76 -p1 -b .pre
2c1b57
%patch77 -p1 -b .kernels1
2c1b57
%patch78 -p1 -b .abuse
2c1b57
%patch79 -p1 -b .Handle
2c1b57
%patch80 -p1 -b .obtain
2c1b57
%patch81 -p1 -b .Parse
2c1b57
%patch82 -p1 -b .Introduce6
2c1b57
%patch83 -p1 -b .Terminate
2c1b57
%patch84 -p1 -b .keyvalue
2c1b57
%patch85 -p1 -b .enoughfd
2c1b57
%patch86 -p1 -b .everything
2c1b57
%patch87 -p1 -b .ini
2c1b57
%patch88 -p1 -b .ConditionPathExists
2c1b57
%patch89 -p1 -b .export
2c1b57
%patch90 -p1 -b .Quiet
2c1b57
%patch91 -p1 -b .optimization1
2c1b57
%patch92 -p1 -b .incorrect
2c1b57
%patch93 -p1 -b .implementation
2c1b57
%patch94 -p1 -b .UnSet
2c1b57
%patch95 -p1 -b .determine2
2c1b57
%patch96 -p1 -b .Respect
2c1b57
%patch97 -p1 -b .Reinstate
2c1b57
%patch98 -p1 -b .applicable
2c1b57
%patch99 -p1 -b .Cleanup
2c1b57
%patch100 -p1 -b .first
2c1b57
%patch101 -p1 -b .determine3
2c1b57
%patch102 -p1 -b .ro
2c1b57
%patch103 -p1 -b .Initialize
2c1b57
%patch104 -p1 -b .vari
2c1b57
%patch105 -p1 -b .back
2c1b57
%patch106 -p1 -b .Introduce5
2c1b57
%patch107 -p1 -b .against
2c1b57
%patch108 -p1 -b .remains
2c1b57
%patch109 -p1 -b .blkdev1
2c1b57
%patch110 -p1 -b .blkdev
2c1b57
%patch111 -p1 -b .typo2
2c1b57
%patch112 -p1 -b .returnis
2c1b57
%patch113 -p1 -b .activedisks
2c1b57
%patch114 -p1 -b .degradation
2c1b57
%patch115 -p1 -b .mdge
2c1b57
%patch116 -p1 -b .orde
2c1b57
%patch117 -p1 -b .fidd
2c1b57
%patch118 -p1 -b .characters
2c1b57
%patch119 -p1 -b .warnings
2c1b57
%patch120 -p1 -b .regardless
2c1b57
%patch121 -p1 -b .allocate
2c1b57
%patch122 -p1 -b .sizein
2c1b57
%patch123 -p1 -b .criteria
2c1b57
%patch124 -p1 -b .criterion
2c1b57
%patch125 -p1 -b .Centralize
2c1b57
%patch126 -p1 -b .reduce
2c1b57
%patch127 -p1 -b .declate
2c1b57
%patch128 -p1 -b .earlier
2c1b57
%patch129 -p1 -b .fromsyfs
2c1b57
%patch130 -p1 -b .faileddisks
2c1b57
%patch131 -p1 -b .arraydisks
2c1b57
%patch132 -p1 -b .nrdisks
2c1b57
%patch133 -p1 -b .workingdisks
2c1b57
%patch134 -p1 -b .checkarray
2c1b57
%patch135 -p1 -b .4kdisks
2c1b57
%patch136 -p1 -b .nolonger
2c1b57
%patch137 -p1 -b .fork
2c1b57
%patch138 -p1 -b .mailfrom
2c1b57
%patch139 -p1 -b .apile
2c1b57
%patch140 -p1 -b .rdev
2c1b57
%patch141 -p1 -b .devicename
2c1b57
%patch142 -p1 -b .logi
2c1b57
%patch143 -p1 -b .morebroken
2c1b57
%patch144 -p1 -b .formatting1
2c1b57
%patch145 -p1 -b .formatting2
2c1b57
%patch146 -p1 -b .badblock
2c1b57
%patch147 -p1 -b .successful
2c1b57
%patch148 -p1 -b .inline
2c1b57
%patch149 -p1 -b .declaration
2c1b57
%patch150 -p1 -b .prior
2c1b57
%patch151 -p1 -b .fromarray
2c1b57
%patch152 -p1 -b .pplgeometry
2c1b57
%patch153 -p1 -b .pplreshape
2c1b57
%patch154 -p1 -b .formatto
2c1b57
%patch155 -p1 -b .revamp
2c1b57
%patch156 -p1 -b .raidlevel
2c1b57
%patch157 -p1 -b .phsical
2c1b57
%patch158 -p1 -b .blockdevi
2c1b57
%patch159 -p1 -b .offset
2c1b57
%patch160 -p1 -b .without
2c1b57
%patch161 -p1 -b .outputfor
2c1b57
%patch162 -p1 -b .rebuild
2c1b57
%patch163 -p1 -b .newline
2c1b57
%patch164 -p1 -b .fro
2c1b57
%patch165 -p1 -b .flag2
2c1b57
%patch166 -p1 -b .ERANGE
2c1b57
%patch167 -p1 -b .propert
2c1b57
%patch168 -p1 -b .migration2
2c1b57
%patch169 -p1 -b .differentiate
2c1b57
%patch170 -p1 -b .failed1
2c1b57
%patch171 -p1 -b .twomore
2c1b57
%patch172 -p1 -b .scanning
2c1b57
%patch173 -p1 -b .devid2kname
2c1b57
%patch174 -p1 -b .takea
2c1b57
%patch175 -p1 -b .subdevs
2c1b57
%patch176 -p1 -b .characterswide
2c1b57
%patch177 -p1 -b .abort
2c1b57
%patch178 -p1 -b .super1add
2c1b57
%patch179 -p1 -b .imsmadd
2c1b57
%patch180 -p1 -b .validate
2c1b57
%patch181 -p1 -b .Zeroout
2c1b57
%patch182 -p1 -b .automatically
2c1b57
%patch183 -p1 -b .switching
2c1b57
%patch184 -p1 -b .invalid
2c1b57
%patch185 -p1 -b .assembling
2c1b57
%patch186 -p1 -b .rebuildi
2c1b57
%patch187 -p1 -b .validating
2c1b57
%patch188 -p1 -b .initial
2c1b57
%patch189 -p1 -b .safe
2c1b57
%patch190 -p1 -b .3disk
2c1b57
%patch191 -p1 -b .slot
2c1b57
%patch192 -p1 -b .Dont
2c1b57
%patch193 -p1 -b .defined
2c1b57
%patch194 -p1 -b .previous
2c1b57
2c1b57
# RHEL customization patches
2c1b57
%patch195 -p1 -b .race
2c1b57
%patch196 -p1 -b .rules
2c1b57
%patch197 -p1 -b .udev
2c1b57
%patch198 -p1 -b .static
2c1b57
%patch199 -p1 -b .disable
2c1b57
2c1b57
%build
2c1b57
make %{?_smp_mflags} CXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
2c1b57
2c1b57
%install
2c1b57
rm -rf %{buildroot}
2c1b57
make DESTDIR=%{buildroot} MANDIR=%{_mandir} BINDIR=%{_sbindir} SYSTEMD_DIR=%{_unitdir} install install-systemd
2c1b57
install -Dp -m 755 %{SOURCE2} %{buildroot}%{_sbindir}/raid-check
2c1b57
install -Dp -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/65-md-incremental.rules
2c1b57
install -Dp -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/raid-check
2c1b57
install -Dp -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/cron.d/raid-check
2c1b57
mkdir -p -m 700 %{buildroot}/var/run/mdadm
2c1b57
2c1b57
# systemd
2c1b57
mkdir -p %{buildroot}%{_unitdir}
2c1b57
install -m644 %{SOURCE6} %{buildroot}%{_unitdir}
2c1b57
2c1b57
# tmpfile
2c1b57
mkdir -p %{buildroot}%{_tmpfilesdir}
2c1b57
install -m 0644 %{SOURCE7} %{buildroot}%{_tmpfilesdir}/%{name}.conf
2c1b57
mkdir -p %{buildroot}%{_localstatedir}/run/
2c1b57
install -d -m 0710 %{buildroot}%{_localstatedir}/run/%{name}/
2c1b57
2c1b57
# abrt
2c1b57
mkdir -p %{buildroot}/etc/libreport/events.d
2c1b57
install -m644 %{SOURCE8} %{buildroot}/etc/libreport/events.d
2c1b57
2c1b57
%clean
2c1b57
rm -rf %{buildroot}
2c1b57
2c1b57
%post
2c1b57
%systemd_post mdmonitor.service
2c1b57
/usr/bin/systemctl disable mdmonitor-takeover.service  >/dev/null 2>&1 || :
2c1b57
2c1b57
%preun
2c1b57
%systemd_preun mdmonitor.service
2c1b57
2c1b57
%postun
2c1b57
%systemd_postun_with_restart mdmonitor.service
2c1b57
2c1b57
%triggerun --  %{name} < 3.2.2-3
2c1b57
%{_bindir}/systemd-sysv-convert --save mdmonitor >/dev/null 2>&1 || :
2c1b57
/bin/systemctl --no-reload enable mdmonitor.service  >/dev/null 2>&1 || :
2c1b57
/sbin/chkconfig --del mdmonitor >/dev/null 2>&1 || :
2c1b57
/bin/systemctl try-restart mdmonitor.service >/dev/null 2>&1 || :
2c1b57
2c1b57
%files
2c1b57
%defattr(-,root,root,-)
2c1b57
%doc TODO ChangeLog mdadm.conf-example COPYING misc/*
2c1b57
%{_udevrulesdir}/*
2c1b57
%{_sbindir}/*
2c1b57
%{_unitdir}/*
2c1b57
%{_mandir}/man*/md*
2c1b57
/usr/lib/systemd/system-shutdown/*
2c1b57
%config(noreplace) %{_sysconfdir}/cron.d/*
2c1b57
%config(noreplace) %{_sysconfdir}/sysconfig/*
2c1b57
%dir %{_localstatedir}/run/%{name}/
2c1b57
%config(noreplace) %{_tmpfilesdir}/%{name}.conf
2c1b57
/etc/libreport/events.d/*
2c1b57
2c1b57
%changelog
2c1b57
* Wed Feb 07 2018 Xiao Ni <xni@redhat.com> - 4.0-13
2c1b57
- stop previous reshape process first 
2c1b57
- Resolves rhbz#1507415
2c1b57
2c1b57
* Wed Jan 31 2018 Xiao Ni <xni@redhat.com> - 4.0-12
2c1b57
- Don't take spare without defined domain by imsm
2c1b57
- Resolves rhbz#1535436
2c1b57
2c1b57
* Fri Jan 12 2018 Xiao Ni <xni@redhat.com> - 4.0-11
2c1b57
- Fix some IMSM bugs 
2c1b57
- Resolves rhbz#1507439 rhbz#1516800 rhbz#1528267
2c1b57
2c1b57
* Mon Dec 11 2017 Xiao Ni <xni@redhat.com> - 4.0-10
2c1b57
- Disable raid5 journal function
2c1b57
- Resolves rhbz#1518477
2c1b57
2c1b57
* Fri Nov 03 2017 Xiao Ni <xni@redhat.com> - 4.0-9
2c1b57
- Enable raid5 journal function
2c1b57
- Resolves rhbz1505611
2c1b57
2c1b57
* Fri Nov 03 2017 Xiao Ni <xni@redhat.com> - 4.0-8
2c1b57
- Support for multiple-ppl in mdadm
2c1b57
- Resolves rhbz#1500638
2c1b57
2c1b57
* Fri Nov 03 2017 Xiao Ni <xni@redhat.com> - 4.0-7
2c1b57
- Support adding flags for mdmonitor.service
2c1b57
- Resolves rhbz#1320018
2c1b57
2c1b57
* Mon Sep 18 2017 Xiao Ni <xni@redhat.com> - 4.0-6
2c1b57
- Update to the latest upstream
2c1b57
- Resolves rhbz#1455936
2c1b57
2c1b57
* Mon Jun 12 2017 Nigel Croxon <ncroxon@redhat.com> - 4.0-5
2c1b57
- RAID array grow not blocked when PPL is enabled
2c1b57
- Resolves rhbz#1460141
2c1b57
2c1b57
* Wed May 31 2017 Xiao Ni <xni@redhat.com> - 4.0-4
2c1b57
- Imsm should not allow combing 512 and 4096 sector size disks in
2c1b57
  one volume and Wrong array size shown for array built on 4096
2c1b57
  sector size disks
2c1b57
- Resolves rhbz#1454390 and rhbz#1454379
2c1b57
2c1b57
* Wed May 17 2017 Xiao Ni <xni@redhat.com> - 4.0-3
2c1b57
- Support for Partial Parity Log
2c1b57
- Resolves rhbz#1450057
2c1b57
2c1b57
* Thu Apr 13 2017 Nigel Croxon <ncroxon@redhat.com> - 4.0-2
2c1b57
- Rebuilt for submission
2c1b57
- Resolves rhbz#1385946
2c1b57
2c1b57
* Sun Feb 26 2017 Xiao Ni <xni@redhat.com> - 4.0-1
2c1b57
- Update to upstream 4.0
2c1b57
- Resolves rhbz#1380017
2c1b57
2c1b57
* Wed Nov 16 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-15
2c1b57
- Resolve case where a reshape could hang if started right after the
2c1b57
  completion of a resync.
2c1b57
- Resolves rhbz#1386700
2c1b57
2c1b57
* Tue Sep 27 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-14
2c1b57
- The fix for 1331709 caused a problem with container arrays (IMSM) as
2c1b57
  these can show up with a valid size of 0. Work around this to only
2c1b57
  exit for non container arrays.
2c1b57
- Resolves rhbz#1379194
2c1b57
2c1b57
* Wed Sep 14 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-13
2c1b57
- Make udev-md-array-arrays.rules more resilient to races if arrays are
2c1b57
  assembled and stopped and reassembled quick after each other.
2c1b57
- Resolves rhbz#1331709
2c1b57
2c1b57
* Thu Aug 25 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-12
2c1b57
- Apply additional required patch to fix buffer overrun using long device
2c1b57
  names
2c1b57
- Resolves rhbz#1369891
2c1b57
2c1b57
* Wed Aug 24 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-11
2c1b57
- Fix problem when creating more than 127 md arrays leading to overruns
2c1b57
- Resolves rhbz#1369891
2c1b57
2c1b57
* Thu Aug 11 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-10
2c1b57
- Fix fix to enable security through obscurity
2c1b57
- Resolves rhbz#1225025
2c1b57
2c1b57
* Tue Aug 9 2016 Xiao Ni <xni@redhat.com> - 3.4-9
2c1b57
- Fix problem about reshape stuck at beginning
2c1b57
- Resolves rhbz#1172937
2c1b57
2c1b57
* Fri Aug 5 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-8
2c1b57
- Disable support for creating and reshaping into arrays with journals.
2c1b57
- Resolves rhbz#1360464
2c1b57
2c1b57
* Mon Jun 20 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-7
2c1b57
- Fix problem with mdadm large device names overflowing an internal buffer
2c1b57
- Resolves rhbz#1347749
2c1b57
2c1b57
* Mon Jun 20 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-6
2c1b57
- Fix problem with reshaping IMSM arrays, where a new reshape could be
2c1b57
  launched before the first reshape had fully completed, leading to
2c1b57
  unpected results.
2c1b57
- Resolves rhbz#1347762
2c1b57
2c1b57
* Thu Jun 9 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-5
2c1b57
- Enable security through obscurity
2c1b57
- Resolves rhbz#1225025
2c1b57
2c1b57
* Thu Jun 9 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-4
2c1b57
- Fix problem with raid0 arrays not being detected by Anaconda due to it
2c1b57
  setting MALLOC_PERTURB_
2c1b57
- Resolves rhbz#1324637
2c1b57
2c1b57
* Thu Apr 28 2016 Xiao Ni <xni@redhat.com> - 3.4-3
2c1b57
- Fix Degraded Raid1 array becomes inactive after rebooting
2c1b57
- Resolves rhbz#1290494
2c1b57
2c1b57
* Tue Mar 1 2016 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.4-2
2c1b57
- Fix problem where it was not possible to stop an IMSM array during reshape
2c1b57
- Resolves rhbz#1312837
2c1b57
2c1b57
* Tue Feb 9 2016 Xiao Ni <xni@redhat.com> - 3.4-1
2c1b57
- Update to mdadm-3.4
2c1b57
- Resolves rhbz#1273351
2c1b57
2c1b57
* Thu Sep 17 2015 Xiao Ni <xni@redhat.com> - 3.3.2-6
2c1b57
- Fix issue reshape is stuck
2c1b57
- Resolves rhbz#1246035
2c1b57
2c1b57
* Tue Aug 25 2015 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.2-5
2c1b57
- Add support for IMSM over NVME storage
2c1b57
- Resolves rhbz#1173504
2c1b57
2c1b57
* Thu Jul 2 2015 Xiao Ni <xni@redhat.com> - 3.3.2-4
2c1b57
- Fix issue mdadm --grow --size does not work for >2TB
2c1b57
- Resolves rhbz#1236538
2c1b57
2c1b57
* Tue Mar 24 2015 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.2-3
2c1b57
- Fix issue where migration record was not always cleared after successful
2c1b57
  reshape.
2c1b57
- Resolves rhbz#1183724
2c1b57
2c1b57
* Mon Jan 19 2015 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.2-2
2c1b57
- Do not install 64-md-raid-assembly.rules
2c1b57
- Resolves rhbz#1181620
2c1b57
2c1b57
* Wed Aug 27 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.3.2-1
2c1b57
- Update to upstream mdadm-3.3.2
2c1b57
- Resolves rhbz#1085533
2c1b57
2c1b57
* Fri Jul 25 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-33
2c1b57
- Fix problem with spare disk not being added correctly to IMSM array
2c1b57
  because mdmon is unable to write metadata to it.
2c1b57
- Resolves bz1072979
2c1b57
2c1b57
* Thu Jul 24 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-32
2c1b57
- Fix issue with mdmon not being launched correctly after reboot
2c1b57
  during container reshape second of a second RAID5 array, resulting in
2c1b57
  it being read-only and cannot be mounted.
2c1b57
- Resolves bz1074970
2c1b57
2c1b57
* Mon Mar 10 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-31
2c1b57
- Fix problem of IMSM platform capabilities not being detected in UEFI
2c1b57
  mode when only the second SATA controller is enabled.
2c1b57
- Resolves bz1074161
2c1b57
2c1b57
* Mon Mar 3 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-30
2c1b57
- Fix problem where Resync and recovery of RAID10 stopped at more than
2c1b57
  50% does not continue after reassemblation
2c1b57
- Resolves bz1068154
2c1b57
2c1b57
* Wed Jan 29 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-29
2c1b57
- Fix problem with mdadm crashing, if trying to create an IMSM array, with
2c1b57
  missing devices.
2c1b57
- Resolves bz1056466
2c1b57
2c1b57
* Wed Jan 29 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-28
2c1b57
- Fix problem with policy with path=* not working if there is no
2c1b57
  /dev/disk/by-path/ directory, as is the case with (S)ATA only systems
2c1b57
- Resovles bz1045510
2c1b57
2c1b57
* Wed Jan 29 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-27
2c1b57
- Fix problem with failed disk staying available in IMSM volume/container
2c1b57
- Resolves bz1052904
2c1b57
2c1b57
* Wed Jan 29 2014 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-26
2c1b57
- Fix problem with reshape not proceeding after reboot on RAID 0 and RAID 5
2c1b57
- Resolves bz1046064
2c1b57
2c1b57
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.2.6-25
2c1b57
- Mass rebuild 2014-01-24
2c1b57
2c1b57
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.2.6-24
2c1b57
- Mass rebuild 2013-12-27
2c1b57
2c1b57
* Thu Nov 21 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-23
2c1b57
- Fix problem with rebuild not restarting on stopped RAID1/10 IMSM arrays
2c1b57
- Resolves bz1032911
2c1b57
2c1b57
* Thu Oct 10 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-22
2c1b57
- Check for DM_UDEV_DISABLE_OTHER_RULES_FLAG instead of
2c1b57
  DM_UDEV_DISABLE_DISK_RULES_FLAG in 65-md-incremental.rules
2c1b57
- Resolves bz1015515
2c1b57
2c1b57
* Thu Aug 29 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-21
2c1b57
- Fix pointless rpmbuild noise over mismatching date info
2c1b57
- Remove Fedora 17 support
2c1b57
- Fix problem where first stop command doesn't stop container during
2c1b57
  IMSM volume's bz956059
2c1b57
2c1b57
* Wed Apr 24 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-19
2c1b57
- Fix problem where  rebuild of IMSM RAID5 volume started in OROM,
2c1b57
  does not proceed in OS
2c1b57
- Resolves bz956021 (f18), bz956026 (f17), bz956031 (f19)
2c1b57
2c1b57
* Tue Apr 23 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-18
2c1b57
- Fix problem with IMSM metadata where resync progress would be lost
2c1b57
  if an array was stopped during ongoing expansion of a RAID1/5 volume.
2c1b57
- Resolves bz948745
2c1b57
2c1b57
* Tue Apr 23 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-17
2c1b57
- Reorder patches to allow for udev query patch to be applied on
2c1b57
  Fedora 17 as well.
2c1b57
2c1b57
* Mon Apr 22 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-16
2c1b57
- Rely on rpm macros to place files in correct directories, and match /usr
2c1b57
  move
2c1b57
- Resolves bz955248
2c1b57
2c1b57
* Thu Mar 7 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-15
2c1b57
- Cleanup .spec file handling of different Fedora versions
2c1b57
- Resolves bz914629
2c1b57
2c1b57
* Tue Feb 5 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-14
2c1b57
- Resync with final version of upstream patches for launching mdmon
2c1b57
  via systemctl. Require dracut 024-025 or later to match.
2c1b57
- Resolves bz879327
2c1b57
2c1b57
* Fri Feb 1 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-13
2c1b57
- Update to upstream solution for launching mdmon via systemctl
2c1b57
- Resolves bz879327
2c1b57
2c1b57
* Mon Jan 21 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-12
2c1b57
- Launch mdmon via systemctl to avoid it ending up in the wrong cgroup
2c1b57
  and getting killed in the boot process when switching from the
2c1b57
  initrd to the real root.
2c1b57
- Resolves bz879327
2c1b57
2c1b57
* Tue Jan 8 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-11
2c1b57
- Move code to leave udev cgroup into mdmon and excute it after we
2c1b57
  work, to make sure it actually does the right thing.
2c1b57
2c1b57
* Mon Jan 7 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-10
2c1b57
- Fix mdmonitor-takeover.service dangling symlink problem for real
2c1b57
2c1b57
* Mon Jan 7 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-9
2c1b57
- Reintroduce fix for removing dangling symlink of
2c1b57
  mdmonitor-takeover.service which got lost in the fix introduced in
2c1b57
  3.2.6-8
2c1b57
2c1b57
* Fri Jan 4 2013 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-8
2c1b57
- mdmonitor-takeover.service is obsolete with the --offroot support,
2c1b57
  and it is harmful as of 3.2.6
2c1b57
- Resolves bz834245
2c1b57
2c1b57
* Mon Dec 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-7
2c1b57
- Fix issue with udev scripts where if an raid volume with one of
2c1b57
  the disks failing, the failed disk is still present in the volume
2c1b57
  and container. The raid volume stays is in normal state (should be
2c1b57
  degraded) and the rebuild cannot start.
2c1b57
- Resolves bz886123
2c1b57
2c1b57
* Mon Dec 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-5
2c1b57
- mdadm-sysvinit is obsolete given that we no longer support booting
2c1b57
  using sysvinit scripts
2c1b57
- Resolves bz884993
2c1b57
2c1b57
* Mon Dec 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-4
2c1b57
- Fix typo in error message in fix for 880972. No functional changes
2c1b57
2c1b57
* Fri Nov 30 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-3
2c1b57
- Disallow creating a second IMSM RAID array size 0 (bz880972)
2c1b57
- Disallow creating IMSM RAIDs that spans multiple controllers (bz880974)
2c1b57
- Resolves bz880972, bz880974
2c1b57
2c1b57
* Thu Nov 15 2012 Doug Ledford <dledford@redhat.com> - 3.2.6-2
2c1b57
- Modify mdadm to set the cgroup of mdmon to systemd if it's available
2c1b57
- Related bz873576 (and others)
2c1b57
2c1b57
* Thu Oct 25 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.6-1
2c1b57
- Upgrade to mdadm-3.2.6
2c1b57
- Resolves bz869930
2c1b57
2c1b57
* Fri Oct 19 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-14
2c1b57
- Dummy update to work around bodhi breakage. No actual code changes.
2c1b57
2c1b57
* Fri Oct 19 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-13
2c1b57
- Relax installation requirements for abrt script to only depend on
2c1b57
  libreport-filesystem rather than the full abrt package
2c1b57
2c1b57
* Thu Oct 18 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-12
2c1b57
- Add abrt script to retrieve /proc/mdstat output in case of crash
2c1b57
- Resolves bz867842
2c1b57
2c1b57
* Wed Oct 17 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-11
2c1b57
- Remove package requirements for udev and initscripts for F18+
2c1b57
- Resolves bz864562
2c1b57
2c1b57
* Wed Oct 3 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-9
2c1b57
- Resolve issue with ambiguous licenses
2c1b57
- Resolves bz862761
2c1b57
2c1b57
* Mon Sep 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-8
2c1b57
- Switch to using new systemd macros for F18+
2c1b57
- Resolves bz850202
2c1b57
2c1b57
* Thu Aug 2 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-7
2c1b57
- Remove bogus rogue patch applied in 3.2.5-5 with justification and
2c1b57
  without following the structure of the mdadm package.
2c1b57
2c1b57
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-6
2c1b57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2c1b57
2c1b57
* Wed Jul 18 2012 Karsten Hopp <karsten@redhat.com> 3.2.5-5
2c1b57
- include <linux/types.h> in some to avoid type clashes.
2c1b57
  same problem as rhbz #840902
2c1b57
2c1b57
* Mon Jul 16 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-4
2c1b57
- Move /etc/tmpfiles.d/mdadm.conf to /lib/tmpfiles.d/ to comply with
2c1b57
  Fedora tmpfile rules
2c1b57
- Resolves bz840187
2c1b57
2c1b57
* Mon Jun 25 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-3
2c1b57
- Fix problem where reshape of RAID volume is broken after trying to
2c1b57
  stop all MD devices.
2c1b57
- Enhance raid-check to allow the adming to specify the max number of
2c1b57
  concurrent arrays to be checked at any given time.
2c1b57
- Resolves bz830177, bz820124
2c1b57
2c1b57
* Wed Jun 13 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-2
2c1b57
- Fix uninstall script to remove dangling symlink to
2c1b57
  mdmonitor-takeover.service, if the mdadm package is uninstalled from
2c1b57
  the system.
2c1b57
- Resolves bz828354
2c1b57
2c1b57
* Mon May 21 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.5-1
2c1b57
- Upgrade to mdadm-3.2.5
2c1b57
- Resolves bz822850
2c1b57
2c1b57
* Tue May 15 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.4-3
2c1b57
- Fix mdadm-3.2.4 introduced bug where --add fails in common cases
2c1b57
- Resolves bz821717 (f17) bz821718 (f16) bz821719 (f15)
2c1b57
2c1b57
* Thu May 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.4-2
2c1b57
- Fix mdadm.conf to use 'd' for /var/run/mdadm creation, to avoid the
2c1b57
  map file getting deleted during boot.
2c1b57
2c1b57
* Thu May 10 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.4-1
2c1b57
- Upgrade to mdadm-3.2.4
2c1b57
- Resolves bz820534 (rawhide) bz820527 (f17) bz820531 (f16) bz820532 (f15)
2c1b57
2c1b57
* Mon Apr 30 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-9
2c1b57
- Fix Monitor mode sometimes crashes when a resync completes
2c1b57
- Fix missing symlink for mdadm container device when incremental creates
2c1b57
  the array
2c1b57
- Make sure when creating a second array in a container that the second
2c1b57
  array uses all available space since leaving space for a third array
2c1b57
  is invalid
2c1b57
- Validate the number of imsm volumes per controller
2c1b57
- Fix issues with imsm arrays and disks larger than 2TB
2c1b57
- Add support for expanding imsm arrays/containers
2c1b57
- The support for expanding imsm arrays/containers was accepted upstream,
2c1b57
  update to the official patches from there
2c1b57
- Fix for the issue of --add not being very smart
2c1b57
- Fix an issue causing rebuilds to fail to restart on reboot (data
2c1b57
  corrupter level problem)
2c1b57
- Reset the bad flag on map file updates
2c1b57
- Correctly fix failure when trying to add internal bitmap to 1.0 arrays
2c1b57
- Resolves: bz817023 (f17) bz817024 (f17) bz817026 (f17) bz817028 (f17)
2c1b57
- Resolves: bz817029 (f17) bz817032 (f17) bz817038 (f17) bz808774 (f17)
2c1b57
- Resolves: bz817039 (f17) bz817042 (f17)
2c1b57
2c1b57
* Mon Apr 30 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-8
2c1b57
- Fix bug where IMSM arrays stay inactive in case a reboot is
2c1b57
- performed during the reshape process.
2c1b57
- Resolves: bz817522 (f17) bz817535 (f16) bz817537 (f15)
2c1b57
2c1b57
* Wed Mar 28 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-7
2c1b57
- Fix issue when re-adding drive to a raid1 array with bitmap
2c1b57
- Resolves: bz807743 (f17) bz769323 (f16) bz791159 (f15)
2c1b57
2c1b57
* Thu Feb 23 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-6
2c1b57
- Fix double free on buggy old kernel sysfs read
2c1b57
- Fix segfault if trying to write superblock to non existing device
2c1b57
- Resolves: bz795707 (f17) bz795747 (f16) bz795748 (f15)
2c1b57
- Resolves: bz795461 (f17) bz795749 (f16) bz795750 (f15)
2c1b57
2c1b57
* Thu Feb 16 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-5
2c1b57
- Fix issue with devices failing to be added to a raid using bitmaps,
2c1b57
  due to trying to write the bitmap with mis-aligned buffers using
2c1b57
  O_DIRECT
2c1b57
- Resolves: bz789898 (f16) bz791189 (f15)
2c1b57
2c1b57
* Mon Jan 30 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-4
2c1b57
- Add support for --offroot to mdadm/mdmon
2c1b57
- Resolves: bz785739 (rawhide) bz785737 (f16) bz771405 (f15)
2c1b57
2c1b57
* Thu Jan 12 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-3
2c1b57
- Fix case where we have to retry in case a remove fails due to an array
2c1b57
  being busy
2c1b57
- Resolves: bz773337 (rawhide) bz773340 (f16) bz773341 (f15)
2c1b57
2c1b57
* Thu Jan 5 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-2
2c1b57
- Workaround for gcc-4.7 strict aliasing breaking the build
2c1b57
2c1b57
* Wed Jan 4 2012 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.3-1
2c1b57
- Update to upstream 3.2.3
2c1b57
- Resolves: bz770110 (rawhide) bz771413 (f16) bz759014 (rawhide)
2c1b57
- Resolves: bz759015 (f16) bz759035 (rawhide) bz759036 (f16)
2c1b57
- Resolves: bz771608 (f15) bz759016 (f15) bz759039 (f15)
2c1b57
2c1b57
* Mon Nov 21 2011 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.2-15
2c1b57
- Backport upstream fix for memory leak that can prevent migration to
2c1b57
  RAID5 from completing.
2c1b57
- Backport upstream fix preventing mounting a device while it is in
2c1b57
  process of reshaping
2c1b57
- Resolves: bz755005 bz755009
2c1b57
2c1b57
* Wed Nov 9 2011 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.2-14
2c1b57
- Backport upstream fixes to prevent growing v0.90 metadata raid out
2c1b57
  of supported size.
2c1b57
- Add missing 'disable' argument to systemctl in preun script
2c1b57
- Resolves: bz735306 (Fedora 15) bz748731 (Fedora 16) bz748732 (rawhide),
2c1b57
  Resolves: bz751716
2c1b57
2c1b57
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-13
2c1b57
- Rebuilt for glibc bug#747377
2c1b57
2c1b57
* Sat Oct 22 2011 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.2-12
2c1b57
- Backport upstream version of fix for IMSM RAID assembly problem,
2c1b57
  which resolves issues when booting off sysvinit based system.
2c1b57
- Resolves: bz736387 (Fedora 15) bz744217 (Fedora 16)
2c1b57
2c1b57
* Wed Oct 19 2011 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.2-11
2c1b57
- Fix systemd dependency problem
2c1b57
- Resolves: bz741115 (F16) bz744226 (rawhide)
2c1b57
2c1b57
* Wed Oct 19 2011 Jes Sorensen <Jes.Sorensen@redhat.com> - 3.2.2-10
2c1b57
- Fix problem where a dirty IMSM RAID isn't assembled correctly during
2c1b57
  boot, preventing booting from this RAID device.
2c1b57
- Resolves: bz736387 (Fedora 15) bz744217 (Fedora 16)
2c1b57
- Fix race between udev and mdadm when assembling md device using
2c1b57
  mdadm -I, where udev would spawn an additional mdadm command to
2c1b57
  perform the assembly in parallel.
2c1b57
2c1b57
* Wed Aug 31 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-9
2c1b57
- Fix boot with older imsm arrays that have an unused attribute set
2c1b57
- Resolves: bz729205
2c1b57
2c1b57
* Thu Aug 25 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-8
2c1b57
- Rework the 65-md-incremental.rules file to add the following support:
2c1b57
  Nested md raid arrays should now work
2c1b57
  MD on top of LUKS or other lvm based devices should now work
2c1b57
  We should no longer grab multipath paths before multipath can
2c1b57
2c1b57
* Wed Jul 27 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-7
2c1b57
- Fix a bug with readding a device
2c1b57
- Fix a bug with writemostly flag handling
2c1b57
2c1b57
* Mon Jul 18 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-6
2c1b57
- Bump and rebuild again
2c1b57
2c1b57
* Fri Jul 15 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-5
2c1b57
- Bump and rebuild to keep version ahead of f15 version
2c1b57
2c1b57
* Thu Jul 14 2011 Doug Ledford <dledford@redhat.com> - 3.2.2-4
2c1b57
- Fix minor issue in man page
2c1b57
- Resolves: bz717795
2c1b57
2c1b57
* Thu Jul 07 2011 Milan Broz <mbroz@redhat.com> - 3.2.2-3
2c1b57
- Use unit files with systemd. (johannbg)
2c1b57
- Add sub-package sysvinit for SysV init script.
2c1b57
- Resolves: bz713573
2c1b57
2c1b57
* Wed Jul 06 2011 Milan Broz <mbroz@redhat.com> - 3.2.2-2
2c1b57
- Fix build on PPC.
2c1b57
- Resolves: bz719380
2c1b57
2c1b57
* Tue Jun 28 2011 Milan Broz <mbroz@redhat.com> - 3.2.2-1
2c1b57
- Update to latest upstream version
2c1b57
- Resolves: bz714083
2c1b57
2c1b57
* Tue Jun 14 2011 Doug Ledford <dledford@redhat.com> - 3.2.1-5
2c1b57
- Fix for bz710646
2c1b57
2c1b57
* Thu Mar 31 2011 Doug Ledford <dledford@redhat.com> - 3.2.1-4
2c1b57
- Somehow the 64-md-raid.rules file went missing.  Put it back.
2c1b57
- Resolves: bz692248
2c1b57
2c1b57
* Thu Mar 31 2011 Doug Ledford <dledford@redhat.com> - 3.2.1-3
2c1b57
- Fix mdmonitor init script setup of SELinux on PIDPATH
2c1b57
- Resolves: bz692559
2c1b57
2c1b57
* Mon Mar 28 2011 Doug Ledford <dledford@redhat.com> - 3.2.1-2
2c1b57
- Restore build command to sane command instead of test command
2c1b57
2c1b57
* Mon Mar 28 2011 Doug Ledford <dledford@redhat.com> - 3.2.1-1
2c1b57
- Update to latest upstream version
2c1b57
- Resolves: 691353
2c1b57
2c1b57
* Fri Mar 25 2011 Doug Ledford <dledford@redhat.com> - 3.1.5-1
2c1b57
- Update to latest upstream stable release
2c1b57
- Update mdadm.rules file to honor noiswmd and nodmraid command line options
2c1b57
- Ghost the directory in /var/run, create /var/run/mdadm in mdmonitor init
2c1b57
  script
2c1b57
- Don't report mismatch counts on either raid1 or raid10
2c1b57
- Check both active and idle arrays during raid check runs
2c1b57
- Move the raid-check script from cron.weekly to /usr/sbin, add a crontab
2c1b57
  file to /etc/cron.d and mark it config(noreplace).  This way users can
2c1b57
  select their own raid-check frequency and have it honored through
2c1b57
  upgrades.
2c1b57
- Allow the raid-check script to set the process and io priority of the
2c1b57
  thread performing the check in order to preserve responsiveness of the
2c1b57
  machine during the check.
2c1b57
- Resolves: 633229, 656620. 679843, 671076, 659933
2c1b57
2c1b57
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.3-0.git20100804.2.1
2c1b57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2c1b57
2c1b57
* Wed Aug 04 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git20100804.2
2c1b57
- Add udev patch to not have incremental assembly in two rules files
2c1b57
2c1b57
* Wed Aug 04 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git20100804.1
2c1b57
- Update to latest upstream release (resolves an issue with stale lock
2c1b57
  files on the md device map file)
2c1b57
2c1b57
* Thu Jul 22 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git20100722.2
2c1b57
- Remove the glibc-static buildreq and don't build the static mdadm since
2c1b57
  we don't install it anyway
2c1b57
- Remove the udev file since adding it was supposed to be a rawhide only change
2c1b57
2c1b57
* Thu Jul 22 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git20100722.1
2c1b57
- Change git date format to the correct format (YYYYMMDD)
2c1b57
- Update to latest upstream push (fixes bz604023)
2c1b57
2c1b57
* Tue Jul 20 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git07202010.2
2c1b57
- Fix racy locking of mapfile (bz616596)
2c1b57
2c1b57
* Tue Jul 20 2010 Doug Ledford <dledford@redhat.com> - 3.1.3-0.git07202010.1
2c1b57
- Update to latest git repo (3.1.2 plus pending changes, fixes bz602457)
2c1b57
- Add in 64-md-raid.rules to compensate for it no longer being in udev
2c1b57
  (bz581905)
2c1b57
- Remove mdadm.static as its no longer used in initrd creation
2c1b57
2c1b57
* Tue Apr 13 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-10
2c1b57
- Minor update to mdadm.rules to make anaconda happy
2c1b57
2c1b57
* Thu Apr 08 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-9
2c1b57
- Slight fix on container patch
2c1b57
2c1b57
* Thu Apr 08 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-8
2c1b57
- Updated container patch that also enables mdadm -IRs for imsm devices
2c1b57
2c1b57
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-7
2c1b57
- Fix up directory in mdmonitor init script so that we restart mdmon like we
2c1b57
  are supposed to
2c1b57
- Add a rule to run incremental assembly on containers in case there are
2c1b57
  multiple volumes in a container and we only started some of them in the
2c1b57
  initramfs
2c1b57
- Make -If work with imsm arrays.  We had too restrictive of a test in
2c1b57
  sysfs_unique_holder.
2c1b57
- Make incremental assembly of containers act like incremental assembly of
2c1b57
  regular devices (aka, --run is needed to start a degraded array)
2c1b57
2c1b57
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-6
2c1b57
- Typo in new rules file
2c1b57
2c1b57
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-5
2c1b57
- Enable incremental support for imsm devices
2c1b57
2c1b57
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-4
2c1b57
- One line fix for ppc64 compiles
2c1b57
2c1b57
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-3
2c1b57
- Clean up directory mess once and for all
2c1b57
- Add incremental remove support
2c1b57
2c1b57
* Wed Mar 17 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-2
2c1b57
- Add a little more paranoia checking to the RebuildMap code to avoid ever
2c1b57
  having the same infinite loop as in bz569019 again even if we change file
2c1b57
  locations to somewhere where we can't create a mapfile
2c1b57
2c1b57
* Tue Mar 16 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-1
2c1b57
- Grab latest upstream release instead of git repo snapshot (bz552344, bz572561)
2c1b57
- The lack of /dev/md is causing problems, so add code to mapfile.c to cause
2c1b57
  us to create /dev/md if it doesn't exist (bz569019)
2c1b57
2c1b57
* Tue Feb 23 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.6
2c1b57
- Newer version of imsm patch that leaves warning, but only when there
2c1b57
  actually are too many devices on the command line (bz554974)
2c1b57
2c1b57
* Sun Feb 21 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.5
2c1b57
- The uuid patch cause a different problem during assembly, so use a gross
2c1b57
  hack to work around the uuid issue that won't break assembly until fixed
2c1b57
  properly upstream (bz567132)
2c1b57
2c1b57
* Sun Feb 21 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.4
2c1b57
- Fix problem with booting multiple imsm containers when they aren't listed
2c1b57
  "just so" in the mdadm.conf file (bz554974)
2c1b57
2c1b57
* Fri Feb 19 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.3
2c1b57
- Don't run the raid-check script if the kernel doesn't support
2c1b57
  md devices (bz557053)
2c1b57
- Don't report any mismatch_cnt issues on raid1 devices as there are
2c1b57
  legitimate reasons why the count may not be 0 and we are getting enough
2c1b57
  false positives that it renders the check useless (bz554217, bz547128)
2c1b57
2c1b57
* Thu Feb 18 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.2
2c1b57
- Fix s390/ppc64 UUID byte swap issue
2c1b57
2c1b57
* Wed Feb 17 2010 Doug Ledford <dledford@redhat.com> - 3.1.1-0.gcd9a8b5.1
2c1b57
- Update to head of upstream git repo, which contains a significant number
2c1b57
  of bug fixes we need (bz543746)
2c1b57
2c1b57
* Fri Jan 15 2010 Doug Ledford <dledford@redhat.com> - 3.0.3-3
2c1b57
- Fix crash when AUTO keyword is in mdadm.conf (bz552342)
2c1b57
2c1b57
* Tue Dec 01 2009 Doug Ledford <dledford@redhat.com> - 3.0.3-2
2c1b57
- Minor tweak to init script for LSB compliance (bz527957)
2c1b57
2c1b57
* Wed Nov 04 2009 Doug Ledford <dledford@redhat.com> - 3.0.3-1
2c1b57
- New upstream release 3.0.3 (bz523320, bz527281)
2c1b57
- Update a couple internal patches
2c1b57
- Drop a patch in that was in Neil's tree for 3.0.3 that we had pulled for
2c1b57
  immediate use to resolve a bug
2c1b57
- Drop the endian patch because it no longer applied cleanly and all attempts
2c1b57
  to reproduce the original problem as reported in bz510605 failed, even up
2c1b57
  to and including downloading the specific package that was reported as
2c1b57
  failing in that bug and trying to reproduce with it on both ppc and ppc64
2c1b57
  hardware and with both ppc and ppc64 versions on the 64bit hardware.
2c1b57
  Without a reproducer, it is impossible to determine if a rehashed patch
2c1b57
  to apply to this code would actually solve the problem, so remove the patch
2c1b57
  entirely since the original problem, as reported, was an easy to detect DOA
2c1b57
  issue where installing to a raid array was bound to fail on reboot and so
2c1b57
  we should be able to quickly and definitively tell if the problem resurfaces.
2c1b57
- Update the mdmonitor init script for LSB compliance (bz527957)
2c1b57
- Link from mdadm.static man page to mdadm man page (bz529314)
2c1b57
- Fix a problem in the raid-check script (bz523000)
2c1b57
- Fix the intel superblock handler so we can test on non-scsi block devices
2c1b57
2c1b57
* Fri Oct  2 2009 Hans de Goede <hdegoede@redhat.com> - 3.0.2-1
2c1b57
- New upstream release 3.0.2
2c1b57
- Add a patch fixing mdadm --detail -export segfaults (bz526761, bz523862)
2c1b57
- Add a patch making mdmon store its state under /dev/.mdadm for initrd
2c1b57
  mdmon, rootfs mdmon handover
2c1b57
- Restart mdmon from initscript (when running) for rootfs mdmon handover
2c1b57
2c1b57
* Thu Sep 17 2009 Doug Ledford <dledford@redhat.com> - 3.0-4
2c1b57
- Stop some mdmon segfaults (bz523860)
2c1b57
2c1b57
* Tue Sep 15 2009 Doug Ledford <dledford@redhat.com> - 3.0-3
2c1b57
- Update to current head of upstream git repo for various imsm related fixes
2c1b57
  (fixes bz523262)
2c1b57
- Fix display of metadata version in output of Detail mode
2c1b57
- Add UUID output to --detail --export (bz523314)
2c1b57
2c1b57
* Fri Jul 24 2009 Doug Ledford <dledford@redhat.com> - 3.0-2
2c1b57
- Improved raid-check script as well as the ability to configure what devices
2c1b57
  get checked
2c1b57
- Endian patch for uuid generation
2c1b57
2c1b57
* Mon Jun 29 2009 Doug Ledford <dledford@redhat.com> - 3.0-1
2c1b57
- Remove stale patches already accepted by upstream
2c1b57
- Fix the raid-check script to only try and check a device if it is
2c1b57
  checkable
2c1b57
- Update to official mdadm-3.0 version
2c1b57
- Resolves: bz505587, bz505552
2c1b57
2c1b57
* Tue May 19 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.7
2c1b57
- Move the mdadm.map file from /dev/md/ to /dev/ so the installer doesn't
2c1b57
  need to precreate the /dev/md/ directory in order for incremental
2c1b57
  assembly to work
2c1b57
2c1b57
* Tue May 19 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.6
2c1b57
- Only check raid devices automatically, do not attempt to repair them
2c1b57
  during the weekly data scrubbing
2c1b57
2c1b57
* Fri Mar 20 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.5
2c1b57
- Fix a few issues with the new code to determine when a device gets to
2c1b57
  keep its name and when it doesn't
2c1b57
2c1b57
* Fri Mar 20 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.4
2c1b57
- Change the perms on the udev rules file, it doesn't need to be +x
2c1b57
2c1b57
* Fri Mar 20 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.3
2c1b57
- Slightly tweak the udev rules to make sure we don't start arrays
2c1b57
  while running in rc.sysinit...leave array starting to it instead
2c1b57
- Modify mdadm to put its mapfile in /dev/md instead of /var/run/mdadm
2c1b57
  since at startup /var/run/mdadm is read-only by default and this
2c1b57
  breaks incremental assembly
2c1b57
- Change how mdadm decides to assemble incremental devices using their
2c1b57
  preferred name or a random name to avoid possible conflicts when plugging
2c1b57
  a foreign array into a host
2c1b57
2c1b57
* Wed Mar 18 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.2
2c1b57
- Change around the mdadm udev rules we ship to avoid a udev file conflict
2c1b57
2c1b57
* Tue Mar 17 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel3.1
2c1b57
- Update to latest devel release
2c1b57
- Remove the no longer necessary udev patch
2c1b57
- Remove the no longer necessary warn patch
2c1b57
- Remove the no longer necessary alias patch
2c1b57
- Update the mdadm.rules file to only pay attention to device adds, not
2c1b57
  changes and to enable incremental assembly
2c1b57
- Add a cron job to run a weekly repair of the array to correct bad sectors
2c1b57
- Resolves: bz474436, bz490972
2c1b57
2c1b57
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.devel2.2.1
2c1b57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2c1b57
2c1b57
* Thu Feb 19 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel2.2
2c1b57
- Readd our old mdadm rules file that does incremental assembly
2c1b57
- Remove the new mdadm rules file from upstream as we already have this in
2c1b57
  our udev package (and the one in the udev package already has a bug fixed)
2c1b57
2c1b57
* Thu Feb 12 2009 Doug Ledford <dledford@redhat.com> - 3.0-0.devel2.1
2c1b57
- Update to latest upstream devel release
2c1b57
- Use the udev rules file included with mdadm instead of our own
2c1b57
- Drop all the no longer relevant patches
2c1b57
- Fix a build error in mdopen.c
2c1b57
- Fix the udev rules path in Makefile
2c1b57
- Fix a compile issue with the __le32_to_cpu() macro usage (bad juju to
2c1b57
  to operations on the target of the macro as it could get executed
2c1b57
  multiple times, and gcc now throws an error on that)
2c1b57
- Add some casts to some print statements to keep gcc from complaining
2c1b57
2c1b57
* Fri Oct 24 2008 Doug Ledford <dledford@redhat.com> - 2.6.7.1-1
2c1b57
- Updated to latest upstream stable release (#466803)
2c1b57
- Change udev rule to not assemble degraded arrays (#453314)
2c1b57
- Fix metadata matching in config file (#466078)
2c1b57
- Fix assembly of raid10 devices (#444237)
2c1b57
- Fix incremental assembly of partitioned raid devices (#447818)
2c1b57
2c1b57
* Thu Jun 26 2008 Doug Ledford <dledford@redhat.com> - 2.6.7-1
2c1b57
- Update to latest upstream version (should resolve #444237)
2c1b57
- Drop incremental patch as it's now part of upstream
2c1b57
- Clean up all the open() calls in the code (#437145)
2c1b57
- Fix the build process to actually generate mdassemble (#446988)
2c1b57
- Update the udev rules to get additional info about arrays being assembled
2c1b57
  from the /etc/mdadm.conf file (--scan option) (#447818)
2c1b57
- Update the udev rules to run degraded arrays (--run option) (#452459)
2c1b57
2c1b57
* Thu Apr 17 2008 Bill Nottingham <notting@redhat.com> - 2.6.4-4
2c1b57
- make /dev/md if necessary in incremental mode (#429604)
2c1b57
- open RAID devices with O_EXCL to avoid racing against other --incremental processes (#433932)
2c1b57
2c1b57
* Fri Feb  1 2008 Bill Nottingham <notting@redhat.com> - 2.6.4-3
2c1b57
- add a udev rules file for device assembly (#429604)
2c1b57
2c1b57
* Fri Jan 18 2008 Doug Ledford <dledford@redhat.com> - 2.6.4-2
2c1b57
- Bump version and rebuild
2c1b57
2c1b57
* Fri Oct 19 2007 Doug Ledford <dledford@redhat.com> - 2.6.4-1
2c1b57
- Update to latest upstream and remove patches upstream has taken
2c1b57
2c1b57
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.6.2-5
2c1b57
- Rebuild for selinux ppc32 issue.
2c1b57
2c1b57
* Mon Jul 09 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-4
2c1b57
- Oops, if we call -C -e1, minor_version is no longer properly set, fix that
2c1b57
  up
2c1b57
- Related: bz230207
2c1b57
2c1b57
* Fri Jul 06 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-3
2c1b57
- Oops, had to update the file leak patch, missed one thing
2c1b57
- Minor tweak to return codes in init script and add LSB header
2c1b57
- Resolves: bz244582, bz246980
2c1b57
2c1b57
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-2
2c1b57
- Fix a file leak issue when mdadm is in monitor mode
2c1b57
- Update mdadm init script so that status will always run and so
2c1b57
  return codes are standards compliant
2c1b57
- Fix assembly of version 1 superblock devices
2c1b57
- Make the attempt to create an already running device have a clearer
2c1b57
  error message
2c1b57
- Allow the creation of a degraded raid4 array like we allow for raid5
2c1b57
- Make mdadm actually pay attention to raid4 devices when in monitor mode
2c1b57
- Make the mdmonitor script use daemon() correctly
2c1b57
- Fix a bug where manage mode would not add disks correctly under certain
2c1b57
  conditions
2c1b57
- Resolves: bz244582, bz242688, bz230207, bz169516, bz171862, bz171938
2c1b57
- Resolves: bz174642, bz224272, bz186524
2c1b57
2c1b57
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-1
2c1b57
- Update to latest upstream
2c1b57
- Remove requirement for /usr/sbin/sendmail - it's optional and not on by
2c1b57
  default, and sendmail isn't *required* for mdadm itself to work, and isn't
2c1b57
  even required for the monitoring capability to work, just if you want to
2c1b57
  have the monitoring capability do the automatic email thing instead of
2c1b57
  run your own program (and if you use the program option of the monitor
2c1b57
  capability, your program could email you in a different manner entirely)
2c1b57
2c1b57
* Mon Apr 16 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-4
2c1b57
- More cleanups for merge review process
2c1b57
- Related: bz226134
2c1b57
2c1b57
* Wed Apr 11 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-3
2c1b57
- Various cleanups as part of merge review process
2c1b57
- Related: bz226134
2c1b57
2c1b57
* Sat Mar 31 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-2
2c1b57
- Oops, missing a dependency in the Makefile
2c1b57
2c1b57
* Sat Mar 31 2007 Doug Ledford <dledford@redhat.com> - 2.6.1-1
2c1b57
- Update to latest upstream version
2c1b57
- Resolves: bz233422
2c1b57
2c1b57
* Fri Jan 26 2007 Doug Ledford <dledford@redhat.com> - 2.6-1
2c1b57
- Update to latest upstream version
2c1b57
- Remove the mdmpd daemon entirely.  Now that multipath tools from the lvm/dm
2c1b57
  packages handles multipath devices well, this is no longer needed.
2c1b57
- Various cleanups in the spec file
2c1b57
2c1b57
* Thu Nov 09 2006 Doug Ledford <dledford@redhat.com> - 2.5.4-3
2c1b57
- Add a fix for the broken printout of array GUID when using the -E --brief
2c1b57
  flags
2c1b57
2c1b57
* Fri Oct 13 2006 Doug Ledford <dledford@redhat.com> - 2.5.4-2
2c1b57
- tag present on another branch and can't be forcibly moved
2c1b57
  required number bump
2c1b57
2c1b57
* Fri Oct 13 2006 Doug Ledford <dledford@redhat.com> - 2.5.4-1
2c1b57
- Update to 2.5.4 (listed as a bugfix update by upstream)
2c1b57
- Remove previous bitmap patch that's now part of 2.5.4
2c1b57
2c1b57
* Sun Oct  8 2006 Doug Ledford <dledford@redhat.com> - 2.5.3-2
2c1b57
- Fix a big-endian machine error in the bitmap code (Paul Clements)
2c1b57
2c1b57
* Mon Aug  7 2006 Doug Ledford <dledford@redhat.com> - 2.5.3-1
2c1b57
- Update to 2.5.3 which upstream calls a "bug fix" release
2c1b57
2c1b57
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.2-1.1
2c1b57
- rebuild
2c1b57
2c1b57
* Fri Jul  7 2006 Doug Ledford <dledford@redhat.com> - 2.5.2-1
2c1b57
- Update to 2.5.2
2c1b57
- Remove auto default patch as upstream now has a preferred default auto method
2c1b57
2c1b57
* Wed Mar  8 2006 Peter Jones <pjones@redhat.com> - 2.3.1-3
2c1b57
- fix build on ppc64
2c1b57
2c1b57
* Wed Mar  8 2006 Jeremy Katz <katzj@redhat.com> - 2.3.1-2
2c1b57
- fix build on ppc
2c1b57
2c1b57
* Wed Mar  8 2006 Jeremy Katz <katzj@redhat.com> - 2.3.1-1
2c1b57
- update to 2.3.1 to fix raid5 (#184284)
2c1b57
2c1b57
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2-1.fc5.2.1
2c1b57
- bump again for double-long bug on ppc(64)
2c1b57
2c1b57
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2-1.fc5.2
2c1b57
- rebuilt for new gcc4.1 snapshot and glibc changes
2c1b57
2c1b57
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2c1b57
- rebuilt
2c1b57
2c1b57
* Mon Dec 05 2005 Warren Togami <wtogami@redhat.com> 2.2-1
2c1b57
- 2.2 upgrade (#167897)
2c1b57
- disable diet because we don't ship it anymore
2c1b57
  and we don't actually use mdassemble now
2c1b57
2c1b57
* Mon May 16 2005 Doug Ledford <dledford@redhat.com> 1.11.0-4.fc4
2c1b57
- Make the mdmonitor init script use the pid-file option, major cleanup
2c1b57
  of the script now possible (#134459)
2c1b57
2c1b57
* Mon May 16 2005 Doug Ledford <dledford@redhat.com> 1.11.0-3.fc4
2c1b57
- Put back the obsoletes: raidtools that was present in 1.11.0-1.fc4
2c1b57
2c1b57
* Mon May 16 2005 Doug Ledford <dledford@redhat.com> 1.11.0-2.fc4
2c1b57
- Change the default auto= mode so it need not be on the command line to
2c1b57
  work with udev, however it is still supported on the command line (#132706)
2c1b57
- Add a man page (from Luca Berra) for mdassemble
2c1b57
2c1b57
* Wed May 11 2005 Doug Ledford <dledford@redhat.com> - 1.11.0-1.fc4
2c1b57
- Upgrade to 1.11.0
2c1b57
2c1b57
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 1.9.0-3.fc4
2c1b57
- fix mdmonitor initscript (#144717)
2c1b57
2c1b57
* Mon Mar 21 2005 Doug Ledford <dledford@redhat.com> 1.9.0-2
2c1b57
- Build mdadm.static and mdassemble (static as well) to be used in initrd
2c1b57
  images
2c1b57
2c1b57
* Wed Mar 09 2005 Doug Ledford <dledford@redhat.com> 1.9.0-1
2c1b57
- Initial upgrade to 1.9.0 and update of doc files
2c1b57
- Fix an s390 build error
2c1b57
2c1b57
* Mon Oct 04 2004 Doug Ledford <dledford@redhat.com> 1.6.0-2
2c1b57
- Remove /etc/mdadm.conf from the file list.  Anaconda will write one out
2c1b57
  if it's needed.
2c1b57
2c1b57
* Fri Oct 01 2004 Doug Ledford <dledford@redhat.com> 1.6.0-1
2c1b57
- Update to newer upstream version
2c1b57
- Make mdmpd work on kernels that don't have the event interface patch
2c1b57
2c1b57
* Fri Jul 30 2004 Dan Walsh <dwalsh@redhat.com> 1.5.0-11
2c1b57
- Create a directory /var/run/mdadm to contain mdadm.pid
2c1b57
- This cleans up SELinux problem
2c1b57
2c1b57
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
2c1b57
- rebuilt
2c1b57
2c1b57
* Sat May 22 2004 Doug Ledford <dledford@redhat.com> - 1.5.0-9
2c1b57
- Fix Makefile and build method to satisfy bz #123769
2c1b57
- Add mdmpd man page, update mdmpd version to 0.3 - bz #117160
2c1b57
- Make sure mdadm --monitor closes all md device files so that md devices
2c1b57
  can be stopped while mdadm is still running - bz #119532
2c1b57
2c1b57
* Thu May 20 2004 Jeremy Katz <katzj@redhat.com> - 1.5.0-8
2c1b57
- remove unneeded patch, can use --run instead
2c1b57
2c1b57
* Wed May 19 2004 Jeremy Katz <katzj@redhat.com> - 1.5.0-7
2c1b57
- add patch with reallyforce mode on creation to be used by anaconda
2c1b57
2c1b57
* Wed May 12 2004 Doug Ledford <dledford@redhat.com> 2.5.0-6
2c1b57
- Fix a bug in the postun scriptlet related to downgrading to a version
2c1b57
  of mdadm that doesn't include the mdmpd daemon.
2c1b57
2c1b57
* Fri May 07 2004 Doug Ledford <dledford@redhat.com> 1.5.0-5
2c1b57
- Disable service mdmpd by default to avoid [Failed] messages on
2c1b57
  current 2.6 kernels.  Possibly re-enable it by default once the
2c1b57
  2.6 kernels have the md event interface.
2c1b57
2c1b57
* Thu Apr 22 2004 Doug Ledford <dledford@redhat.com> 1.5.0-4
2c1b57
- Update mdmonitor script to start daemon more cleanly
2c1b57
- Repackage mdmpd tarball to include gcc-3.4 changes and to make
2c1b57
  mdmpd properly daemonize at startup instead of forking and leaving
2c1b57
  the child attached to the terminal.
2c1b57
2c1b57
* Thu Mar  4 2004 Bill Nottingham <notting@redhat.com> 1.5.0-3
2c1b57
- ship /var/run/mpmpd (#117497)
2c1b57
2c1b57
* Thu Feb 26 2004 Doug Ledford <dledford@redhat.com> 1.5.0-2
2c1b57
- Add a default MAILADDR line to the mdadm.conf file installed by default
2c1b57
  (Bugzilla #92447)
2c1b57
- Make it build with gcc-3.4
2c1b57
2c1b57
* Mon Feb 23 2004 Doug Ledford <dledford@redhat.com> 1.5.0-1
2c1b57
- Update to 1.5.0 (from Matthew J. Galgoci <mgalgoci@redhat.com>)
2c1b57
2c1b57
* Sun Nov 16 2003 Doug Ledford <dledford@redhat.com> 1.4.0-1
2c1b57
- fix problem with recovery thread sleeping in mdmpd
2c1b57
2c1b57
* Fri Nov 14 2003 Doug Ledford <dledford@redhat.com>
2c1b57
- sync upstream
2c1b57
- add mdmpd package into mdadm package
2c1b57
2c1b57
* Wed Sep 10 2003 Michael K. Johnson <johnsonm@redhat.com> 1.3.0-1
2c1b57
- sync upstream
2c1b57
2c1b57
* Tue Mar 11 2003 Michael K. Johnson <johnsonm@redhat.com> 1.1.0-1
2c1b57
- sync upstream
2c1b57
2c1b57
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 1.0.1-1
2c1b57
- update for rebuild
2c1b57
2c1b57
* Wed Dec 25 2002 Tim Powers <timp@redhat.com> 1.0.0-8
2c1b57
- fix references to %%install in the changelog so that it will build
2c1b57
2c1b57
* Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com> 1.0.0-7
2c1b57
- Rebuild
2c1b57
2c1b57
* Fri Jul 12 2002 Michael K. Johnson <johnsonm@redhat.com>
2c1b57
- Changed RPM Group to System Environment/Base
2c1b57
2c1b57
* Wed May 15 2002 Michael K. Johnson <johnsonm@redhat.com>
2c1b57
- minor cleanups to the text, conditionalize rm -rf
2c1b57
- added mdmonitor init script
2c1b57
2c1b57
* Fri May 10 2002  <neilb@cse.unsw.edu.au>
2c1b57
- update to 1.0.0
2c1b57
- Set CXFLAGS instead of CFLAGS
2c1b57
2c1b57
* Sat Apr  6 2002  <neilb@cse.unsw.edu.au>
2c1b57
- change %%install to use "make install"
2c1b57
2c1b57
* Fri Mar 15 2002  <gleblanc@localhost.localdomain>
2c1b57
- beautification
2c1b57
- made mdadm.conf non-replaceable config
2c1b57
- renamed Copyright to License in the header
2c1b57
- added missing license file
2c1b57
- used macros for file paths
2c1b57
2c1b57
* Fri Mar 15 2002 Luca Berra <bluca@comedia.it>
2c1b57
- Added Obsoletes: mdctl
2c1b57
- missingok for configfile
2c1b57
2c1b57
* Tue Mar 12 2002 NeilBrown <neilb@cse.unsw.edu.au>
2c1b57
- Add md.4 and mdadm.conf.5 man pages
2c1b57
2c1b57
* Fri Mar 08 2002 Chris Siebenmann <cks@cquest.utoronto.ca>
2c1b57
- builds properly as non-root.
2c1b57
2c1b57
* Fri Mar 08 2002 Derek Vadala <derek@cynicism.com>
2c1b57
- updated for 0.7, fixed /usr/share/doc and added manpage
2c1b57
2c1b57
* Tue Aug 07 2001 Danilo Godec <danci@agenda.si>
2c1b57
- initial RPM build