| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: mdadm | Distribution: openSUSE:Factory:zSystems |
| Version: 4.4 | Vendor: openSUSE |
| Release: 7.1 | Build date: Thu Aug 14 11:08:19 2025 |
| Group: System/Base | Build host: reproducible |
| Size: 1326985 | Source RPM: mdadm-4.4-7.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: http://www.kernel.org/pub/linux/utils/raid/mdadm/ | |
| Summary: Utility for configuring "MD" software RAID devices | |
mdadm is a program that can be used to control Linux md devices.
GPL-2.0-only
* Thu Aug 14 2025 Martin Wilck <mwilck@suse.com>
- Fix systemd unit file handling in spec file (boo#1207266)
* make all units known to systemd
* restart only timers and mdmonitor.service
* Mon Jul 21 2025 Jan Engelhardt <jengelh@inai.de>
- Stop emitting %release into program binaries [boo#1246806]
* Tue May 27 2025 Martin Wilck <mwilck@suse.com>
- monitor: Add MAILFROM address to email envelope to avoid smtp auth
errors (bsc#1241474)
* add 1008-mdmonitor-use-MAILFROM-to-set-sendmail-envelope-send.patch
* Wed May 07 2025 Martin Wilck <mwilck@suse.com>
- Allow any valid minor name in md device name (bsc#1240789)
* add 1007-mdadm-allow-any-valid-minor-number-in-md-device-name.patch
* Tue May 06 2025 Martin Wilck <mwilck@suse.com>
- Add dependency on suse-module-tools for SLE15 (bsc#1242696)
* Thu Apr 10 2025 Ales Novak <alnovak@suse.com>
- IMSM RAID0 2 disks to RAID10 4 disks migration fix
add 1006-imsm-Fix-RAID0-to-RAID10-migration.patch (bsc#1241001)
* Tue Mar 04 2025 Martin Wilck <mwilck@suse.com>
- cleanup 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
(remove a redundant macro definition)
* Fri Feb 28 2025 Martin Wilck <mwilck@suse.com>
- mdopen: add sbin path to env PATH when call system("modprobe md_mod")
(bsc#1233265)
add 0010-mdopen-add-sbin-path-to-env-PATH-when-call-system-mo.patch
* Thu Feb 27 2025 Martin Wilck <mwilck@suse.com>
- Update to version 4.4 (jsc#PED-10220)
Features:
* Remove custom bitmap file support from Yu Kuai.
* Custom device policies implementation from Mariusz Tkaczyk.
* Self encrypted drives (**SED**) support for IMSM metadata from Blazej Kucman.
* Support more than 4 disks for **IMSM** RAID10 from Mateusz Kusiak.
* Read **IMSM** license information from ACPI tables from Blazej Kucman.
* Support devnode in **--Incremental --remove** from Mariusz Tkaczyk.
* Printing **IMSM** license type in **--detail-platform** from Blazej Kucman.
* README.md from Mariusz Tkaczyk and Anna Sztukowska.
Fixes:
* Tests improvements from Xiao Ni and Kinga Stefaniuk.
* Mdmon's Checkpointing improvements from Mateusz Kusiak.
* Pass mdadm environment flags to systemd-env to enable tests from Mateusz Kusiak.
* Superblock 1.0 uuid printing fixes from Mariusz Tkaczyk.
* Find VMD bus manually if link is not available from Mariusz Tkaczyk.
* Unconditional devices count printing in --detail from Anna Sztukowska.
* Improve SIGTERM handling during reshape, from Mateusz Kusiak.
* **Monitor.c** renamed to **Mdmonitor.c** from Kinga Stefaniuk.
* Mdmonitor service documentation update from Mariusz Tkaczyk.
* Rework around writing to sysfs files from Mariusz Tkaczyk.
* Drop of HOT_REMOVE_DISK ioctl in Manage in favour of sysfs from Mariusz Tkaczyk.
* Delegate disk removal to managemon from Mariusz Tkaczyk.
* Some clean-ups of legacy code and functionalities like **--auto=md** from Mariusz Tkaczyk.
* Manual clean-up, references to old kernels removed from Mariusz Tkaczyk.
* Various static code analysis fixes.
- Add 1000-Revert-mdmonitor-Abandon-custom-configuration-files.patch
(reverts upstream change to ignore /etc/sysconfig/mdadm)
- Drop obsolete patches (included upstream):
* Del 0001-Remove-hardcoded-checkpoint-interval-checking.patch
* Del 0002-monitor-refactor-checkpoint-update.patch
* Del 0003-Super-intel-Fix-first-checkpoint-restart.patch
* Del 0004-Grow-Move-update_tail-assign-to-Grow_reshape.patch
* Del 0005-Add-understanding-output-section-in-man.patch
* Del 0006-util.c-change-devnm-to-const-in-mdmon-functions.patch
* Del 0007-Wait-for-mdmon-when-it-is-stared-via-systemd.patch
* Del 0008-Detail-remove-duplicated-code.patch
* Del 0009-mdadm-Fix-native-detail-export.patch
- Use obs_scm for code maintenance
* Wed Jan 22 2025 Dominique Leuenberger <dimstar@opensuse.org>
- Drop rcFOO symlinks for CODE16 (PED-266).
* Wed Sep 18 2024 Coly Li <colyli@suse.de>
- Detail: remove duplicated code (bsc#1226413)
0008-Detail-remove-duplicated-code.patch
- mdadm: Fix native --detail --export (bsc#1226413)
0009-mdadm-Fix-native-detail-export.patch
* Sat Jul 06 2024 Coly Li <colyli@suse.de>
- util.c: change devnm to const in mdmon functions (bsc#1225307)
0006-util.c-change-devnm-to-const-in-mdmon-functions.patch
- Wait for mdmon when it is stared via systemd (bsc#1225307)
0007-Wait-for-mdmon-when-it-is-stared-via-systemd.patch
* Fri Feb 23 2024 pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
* Fri Feb 23 2024 Coly Li <colyli@suse.de>
- Update mdadm-4.3 to latest status (jsc#PED-7542)
- Remove hardcoded checkpoint interval checking
0001-Remove-hardcoded-checkpoint-interval-checking.patch
- monitor: refactor checkpoint update
0002-monitor-refactor-checkpoint-update.patch
- Super-intel: Fix first checkpoint restart
0003-Super-intel-Fix-first-checkpoint-restart.patch
- Grow: Move update_tail assign to Grow_reshape()
0004-Grow-Move-update_tail-assign-to-Grow_reshape.patch
- Add understanding output section in man
0005-Add-understanding-output-section-in-man.patch
* Fri Feb 23 2024 Coly Li <colyli@suse.de>
- Upgrade to mdadm-4.3 (jsc#PED-7542). Beside previous already back
ported patches, mdadm-4.3 has the following extra changes since
last update upto commit 582945c2d3bb,
- Fix null pointer for incremental in mdadm.
- Super1: fix truncation check for journal device.
- Fix some cases eyesore formatting.
- Bump minimum kernel version to 2.6.32.
- Remove the config files in mdcheck_start|continue service.
- Define DEV_MD_DIR, DEV_NUM_PREF, is_devname_ignore(),
ident_set_devname().
- Enable RAID for SATA under VMD.
- Imsm: Fix possible segfault in check_no_platform()
- Imsm refactor on imsm_get_free_size(), merge_extents().
- Imsm: return free space after volume for expand.
- Imsm: fix free space calculations.
- Add secure gethostname() wrapper.
- mdadm: Stop mdcheck_continue timer when mdcheck_start service can
finish check.
- Fix memory leak in files Assemble.c, Kill.c, Manage.c, mdadm.c.
- Fix unsafe string functions.
- platform-intel: limit guid length.
- Imsm: Add reading vmd register for finding imsm capability.
- Add compiler defenses flags.
- Assemble: fix redundant memory free.
- More regression test cases added into tests.
- Mdadm: set ident.devname if applicable.
- Mdadm: refactor ident->name handling.
- Mdadm: Follow POSIX Portable Character Set.
- Incremental: remove obsoleted calls to udisks.
- Fix race of "mdadm --add" and "mdadm --incremental".
- mdadm/ddf: Abort when raid disk is smaller in getinfo_super_ddf.
- mdadm/super1: Add MD_FEATURE_RAID0_LAYOUT if kernel>=5.4.
- Fix assembling RAID volume by using incremental.
- Mdmonitor: Improve udev event handling.
- Udev: Move udev_block() and udev_unblock() into udev.c.
- Manage: adjust checking subarray state in update_subarray.
- Super1: remove support for name= in config.
- Mdadm: fix update=resync regression.
- Rebase to keep consistent behavior for current code base.
- 1004-call-mdadm_env.sh-from-usr-libexec-mdadm.patch
- The following patches are moved from package because they are all
included in mdadm-4.3,
- 0001-Unify-error-message.patch
- 0002-mdadm-Fix-double-free.patch
- 0003-Grow_reshape-Add-r0-grow-size-error-message-and-upda.patch
- 0004-udev-adapt-rules-to-systemd-v247.patch
- 0005-Replace-error-prone-signal-with-sigaction.patch
- 0006-mdadm-Respect-config-file-location-in-man.patch
- 0007-mdadm-Update-ReadMe.patch
- 0008-mdadm-Update-config-man-regarding-default-files-and-.patch
- 0009-mdadm-Update-config-manual.patch
- 0010-Create-Build-use-default_layout.patch
- 0011-mdadm-add-map_num_s.patch
- 0012-mdmon-Stop-parsing-duplicate-options.patch
- 0013-Grow-block-n-on-external-volumes.patch
- 0014-Incremental-Fix-possible-memory-and-resource-leaks.patch
- 0015-Mdmonitor-Fix-segfault.patch
- 0016-Mdmonitor-Improve-logging-method.patch
- 0017-Fix-possible-NULL-ptr-dereferences-and-memory-leaks.patch
- 0018-imsm-Remove-possibility-for-get_imsm_dev-to-return-N.patch
- 0019-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
- 0020-util-replace-ioctl-use-with-function.patch
- 0021-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
- 0022-imsm-introduce-get_disk_slot_in_dev.patch
- 0023-imsm-use-same-slot-across-container.patch
- 0024-imsm-block-changing-slots-during-creation.patch
- 0025-mdadm-block-update-ppl-for-non-raid456-levels.patch
- 0026-mdadm-Fix-array-size-mismatch-after-grow.patch
- 0027-mdadm-Remove-dead-code-in-imsm_fix_size_mismatch.patch
- 0028-Monitor-use-devname-as-char-array-instead-of-pointer.patch
- 0029-Monitor-use-snprintf-to-fill-device-name.patch
- 0030-Makefile-Don-t-build-static-build-with-everything-an.patch
- 0031-DDF-Cleanup-validate_geometry_ddf_container.patch
- 0032-DDF-Fix-NULL-pointer-dereference-in-validate_geometr.patch
- 0033-mdadm-Grow-Fix-use-after-close-bug-by-closing-after-.patch
- 0034-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch
- 0035-mdadm-Fix-mdadm-r-remove-option-regression.patch
- 0036-mdadm-Fix-optional-write-behind-parameter.patch
- 0037-mdadm-Replace-obsolete-usleep-with-nanosleep.patch
- 0038-mdadm-remove-symlink-option.patch
- 0039-mdadm-move-data_offset-to-struct-shape.patch
- 0040-mdadm-Don-t-open-md-device-for-CREATE-and-ASSEMBLE.patch
- 0041-Grow-Split-Grow_reshape-into-helper-function.patch
- 0042-Assemble-check-if-device-is-container-before-schedul.patch
- 0043-super1-report-truncated-device.patch
- 0044-mdadm-Correct-typos-punctuation-and-grammar-in-man.patch
- 0046-Monitor-Fix-statelist-memory-leaks.patch
- 0047-mdadm-added-support-for-Intel-Alderlake-RST-on-VMD-p.patch
- 0048-mdadm-Add-Documentation-entries-to-systemd-services.patch
- 0049-ReadMe-fix-command-line-help.patch
- 0050-mdadm-replace-container-level-checking-with-inline.patch
- 0051-Mdmonitor-Omit-non-md-devices.patch
- 0052-mdmon-fix-segfault.patch
- 0053-util-remove-obsolete-code-from-get_md_name.patch
- 0054-mdmon-don-t-test-both-all-and-container_name.patch
- 0055-mdmon-change-systemd-unit-file-to-use-foreground.patch
- 0056-mdmon-Remove-need-for-KillMode-none.patch
- 0057-mdmon-Improve-switchroot-interactions.patch
- 0058-mdopen-always-try-create_named_array.patch
- 0059-Improvements-for-IMSM_NO_PLATFORM-testing.patch
- 0060-Grow-fix-possible-memory-leak.patch
- 0061-Grow-fix-can-t-change-bitmap-type-from-none-to-clustered.patch
- 0062-Manage-Block-unsafe-member-failing.patch
- 0063-Mdmonitor-Split-alert-into-separate-functions.patch
- 0064-Monitor-block-if-monitor-modes-are-combined.patch
- 0065-Update-mdadm-Monitor-manual.patch
- 0066-mdadm-create-ident_init.patch
- 0067-mdadm-Add-option-validation-for-update-subarray.patch
- 0068-Fix-update-subarray-on-active-volume.patch
- 0069-Add-code-specific-update-options-to-enum.patch
- 0070-super-ddf-Remove-update_super_ddf.patch
- 0071-super0-refactor-the-code-for-enum.patch
- 0072-super1-refactor-the-code-for-enum.patch
- 0073-super-intel-refactor-the-code-for-enum.patch
- 0074-Change-update-to-enum-in-update_super-and-update_sub.patch
- 0075-Manage-Incremental-code-refactor-string-to-enum.patch
- 0076-Change-char-to-enum-in-context-update-refactor-code.patch
- 0077-mdadm-udev-Don-t-handle-change-event-on-raw-devices.patch
- 0078-Manage-do-not-check-array-state-when-drive-is-remove.patch
- 0079-incremental-manage-do-not-verify-if-remove-is-safe.patch
- 0080-super-intel-make-freesize-not-required-for-chunk-siz.patch
- 0081-manage-move-comment-with-function-description.patch
- 0082-Fix-NULL-dereference-in-super_by_fd.patch
- 0083-Mdmonitor-Make-alert_info-global.patch
- 0084-Mdmonitor-Pass-events-to-alert-using-enums-instead-o.patch
- 0085-Mdmonitor-Add-helper-functions.patch
- 0086-Add-helpers-to-determine-whether-directories-or-file.patch
- 0087-Mdmonitor-Refactor-write_autorebuild_pid.patch
- 0088-Mdmonitor-Refactor-check_one_sharer-for-better-error.patch
- 0089-util.c-reorder-code-lines-in-parse_layout_faulty.patch
- 0090-util.c-fix-memleak-in-parse_layout_faulty.patch
- 0091-Detail.c-fix-memleak-in-Detail.patch
- 0092-isuper-intel.c-fix-double-free-in-load_imsm_mpb.patch
- 0093-super-intel.c-fix-memleak-in-find_disk_attached_hba.patch
- 0094-super-ddf.c-fix-memleak-in-get_vd_num_of_subarray.patch
- 0095-Create-goto-abort_locked-instead-of-return-1-in-erro.patch
- 0096-Create-remove-safe_mode_delay-local-variable.patch
- 0097-Create-Factor-out-add_disks-helpers.patch
- 0098-mdadm-Introduce-pr_info.patch
- 0099-mdadm-Add-write-zeros-option-for-Create.patch
- 0100-manpage-Add-write-zeroes-option-to-manpage.patch
- 0101-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
- 0102-Use-existence-of-etc-initrd-release-to-detect-initrd.patch
- 0103-Create-Fix-checking-for-container-in-update_metadata.patch
* Mon Jan 08 2024 Coly Li <colyli@suse.de>
- Update mdadm to latest upstream state upto commit
582945c2d3bb. (jsc#PED-7542)
1) The testing changes are not included here.
2) Code clean up, and more helper routines added for Manage.c,
Monitor.c, mdadm.c, ReadMe.c, super-intel.c, super0.c, super1.c,
Create.c, Incremental.c and so on.
3) Man page update for mdadm.8.in.
4) Several memory leak and double free fixes.
5) Check /etc/initrd-release for whether systemd running on an initrd.
- Manage: Block unsafe member failing
0062-Manage-Block-unsafe-member-failing.patch
- Mdmonitor: Split alert() into separate functions
0063-Mdmonitor-Split-alert-into-separate-functions.patch
- Monitor: block if monitor modes are combined.
0064-Monitor-block-if-monitor-modes-are-combined.patch
- Update mdadm Monitor manual.
0065-Update-mdadm-Monitor-manual.patch
- mdadm: create ident_init()
0066-mdadm-create-ident_init.patch
- mdadm: Add option validation for --update-subarray
0067-mdadm-Add-option-validation-for-update-subarray.patch
- Fix --update-subarray on active volume
0068-Fix-update-subarray-on-active-volume.patch
- Add code specific update options to enum.
0069-Add-code-specific-update-options-to-enum.patch
- super-ddf: Remove update_super_ddf.
0070-super-ddf-Remove-update_super_ddf.patch
- super0: refactor the code for enum
0071-super0-refactor-the-code-for-enum.patch
- super1: refactor the code for enum
0072-super1-refactor-the-code-for-enum.patch
- super-intel: refactor the code for enum
0073-super-intel-refactor-the-code-for-enum.patch
- Change update to enum in update_super and update_subarray
0074-Change-update-to-enum-in-update_super-and-update_sub.patch
- Manage&Incremental: code refactor, string to enum
0075-Manage-Incremental-code-refactor-string-to-enum.patch
- Change char* to enum in context->update & refactor code
0076-Change-char-to-enum-in-context-update-refactor-code.patch
- mdadm/udev: Don't handle change event on raw devices
0077-mdadm-udev-Don-t-handle-change-event-on-raw-devices.patch
- Manage: do not check array state when drive is removed
0078-Manage-do-not-check-array-state-when-drive-is-remove.patch
- incremental, manage: do not verify if remove is safe
0079-incremental-manage-do-not-verify-if-remove-is-safe.patch
- super-intel: make freesize not required for chunk size
0080-super-intel-make-freesize-not-required-for-chunk-siz.patch
- manage: move comment with function description
0081-manage-move-comment-with-function-description.patch
- Fix NULL dereference in super_by_fd
0082-Fix-NULL-dereference-in-super_by_fd.patch
- Mdmonitor: Make alert_info global
0083-Mdmonitor-Make-alert_info-global.patch
- Mdmonitor: Pass events to alert() using enums instead of
0084-Mdmonitor-Pass-events-to-alert-using-enums-instead-o.patch
- Mdmonitor: Add helper functions
0085-Mdmonitor-Add-helper-functions.patch
- Add helpers to determine whether directories or files are
0086-Add-helpers-to-determine-whether-directories-or-file.patch
- Mdmonitor: Refactor write_autorebuild_pid()
0087-Mdmonitor-Refactor-write_autorebuild_pid.patch
- Mdmonitor: Refactor check_one_sharer() for better error
0088-Mdmonitor-Refactor-check_one_sharer-for-better-error.patch
- util.c: reorder code lines in parse_layout_faulty()
0089-util.c-reorder-code-lines-in-parse_layout_faulty.patch
- util.c: fix memleak in parse_layout_faulty()
0090-util.c-fix-memleak-in-parse_layout_faulty.patch
- Detail.c: fix memleak in Detail()
0091-Detail.c-fix-memleak-in-Detail.patch
- isuper-intel.c: fix double free in load_imsm_mpb()
0092-isuper-intel.c-fix-double-free-in-load_imsm_mpb.patch
- super-intel.c: fix memleak in find_disk_attached_hba()
0093-super-intel.c-fix-memleak-in-find_disk_attached_hba.patch
- super-ddf.c: fix memleak in get_vd_num_of_subarray()
0094-super-ddf.c-fix-memleak-in-get_vd_num_of_subarray.patch
- Create: goto abort_locked instead of return 1 in error path
0095-Create-goto-abort_locked-instead-of-return-1-in-erro.patch
- Create: remove safe_mode_delay local variable
0096-Create-remove-safe_mode_delay-local-variable.patch
- Create: Factor out add_disks() helpers
0097-Create-Factor-out-add_disks-helpers.patch
- mdadm: Introduce pr_info()
0098-mdadm-Introduce-pr_info.patch
- mdadm: Add --write-zeros option for Create
0099-mdadm-Add-write-zeros-option-for-Create.patch
- manpage: Add --write-zeroes option to manpage
0100-manpage-Add-write-zeroes-option-to-manpage.patch
- Define alignof using _Alignof when using C11 or newer
0101-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
- Use existence of /etc/initrd-release to detect initrd.
0102-Use-existence-of-etc-initrd-release-to-detect-initrd.patch
- Create: Fix checking for container in update_metadata
0103-Create-Fix-checking-for-container-in-update_metadata.patch
* Fri Nov 17 2023 Dominique Leuenberger <dimstar@opensuse.org>
- No longer recommend smtp-daemon: this was a remainder from the
cron configuration, which was removed back in 2018.
* Mon Jul 24 2023 Ludwig Nussel <lnussel@suse.com>
- mdadm.spec: replace transitional %usrmerged macro with regular
version check (boo#1206798)
* Fri May 26 2023 Coly Li <colyli@suse.de>
- Grow: fix possible memory leak (bsc#1208618)
0060-Grow-fix-possible-memory-leak.patch
- Grow: fix can't change bitmap type from none to clustered
(bsc#1208618)
0061-Grow-fix-can-t-change-bitmap-type-from-none-to-clustered.patch
- Use source code mdadm-4.2.tar.xz from kernel.org version for
checksum
- mdadm-4.2.tar.xz
* Mon Apr 24 2023 Coly Li <colyli@suse.de>
- Fixes for mdmon to ensure it run at the right time in the
fight mount namespace. This fixes various problems with
IMSM raid arrays in 15-SP4 (bsc#1205493, bsc#1205830)
- mdmon: fix segfault
0052-mdmon-fix-segfault.patch
- util: remove obsolete code from get_md_name
0053-util-remove-obsolete-code-from-get_md_name.patch
- mdmon: don't test both 'all' and 'container_name'.
0054-mdmon-don-t-test-both-all-and-container_name.patch
- mdmon: change systemd unit file to use --foreground
0055-mdmon-change-systemd-unit-file-to-use-foreground.patch
- mdmon: Remove need for KillMode=none
0056-mdmon-Remove-need-for-KillMode-none.patch
- mdmon: Improve switchroot interactions.
0057-mdmon-Improve-switchroot-interactions.patch
- mdopen: always try create_named_array()
0058-mdopen-always-try-create_named_array.patch
- Improvements for IMSM_NO_PLATFORM testing
0059-Improvements-for-IMSM_NO_PLATFORM-testing.patch
* Sat Apr 01 2023 Coly Li <colyli@suse.de>
- sysconfig.mdadm: Remove ServiceRestart line to mdadm since there
is not such systemd service. (bsc#1203491)
* Mon Dec 26 2022 Coly Li <colyli@suse.com>
- mdadm.spec: create the following symbolic link in /sbin for
compatibility,
/sbin/mdadm -> /usr/sbin/mdadm
/sbin/mdmon -> /usr/sbin/mdmon
(jsc#PED-1009, jsc#PED-947)
* Wed Dec 07 2022 Coly Li <colyli@suse.com>
- Drop the patch which is reported as regression by upstream developer
(bsc#1206139)
0045-Manage-Block-unsafe-member-failing.patch
- Add jsc#PED-947 together with jsc#PED-1009 in mdadm.changes, they
are both the requirement to update mdadm to latest upstream state
via different requestors.
* Thu Nov 24 2022 Coly Li <colyli@suse.com>
- Call mdadm_env.sh from /usr/libexec/mdadm (bsc#1111960, bsc#1202090)
1004-call-mdadm_env.sh-from-usr-libexec-mdadm.patch
- The patch (bsc#1111960) which fixed rpm check failure is replaced
by the above patch,
1004-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch.
* Thu Nov 24 2022 Coly Li <colyli@suse.com>
- mdadm.spec: remove "PreReq: %{_sbindir}/mkinitrd" as it is
unnecessary now. (bsc#1202352)
* Thu Nov 03 2022 Coly Li <colyli@suse.com>
- Update mdadm package to latest mdadm since mdadm-4.2
(jsc#PED-1009, jsc#PED-947)
* Only patches directly change runtime programs included,
- Unify error message.
0001-Unify-error-message.patch
- mdadm: Fix double free
0002-mdadm-Fix-double-free.patch
- Grow_reshape: Add r0 grow size error message and update
0003-Grow_reshape-Add-r0-grow-size-error-message-and-upda.patch
- udev: adapt rules to systemd v247
0004-udev-adapt-rules-to-systemd-v247.patch
- Replace error prone signal() with sigaction()
0005-Replace-error-prone-signal-with-sigaction.patch
- mdadm: Respect config file location in man
0006-mdadm-Respect-config-file-location-in-man.patch
- mdadm: Update ReadMe
0007-mdadm-Update-ReadMe.patch
- mdadm: Update config man regarding default files and
0008-mdadm-Update-config-man-regarding-default-files-and-.patch
- mdadm: Update config manual
0009-mdadm-Update-config-manual.patch
- Create, Build: use default_layout()
0010-Create-Build-use-default_layout.patch
- mdadm: add map_num_s()
0011-mdadm-add-map_num_s.patch
- mdmon: Stop parsing duplicate options
0012-mdmon-Stop-parsing-duplicate-options.patch
- Grow: block -n on external volumes.
0013-Grow-block-n-on-external-volumes.patch
- Incremental: Fix possible memory and resource leaks
0014-Incremental-Fix-possible-memory-and-resource-leaks.patch
- Mdmonitor: Fix segfault
0015-Mdmonitor-Fix-segfault.patch
- Mdmonitor: Improve logging method
0016-Mdmonitor-Improve-logging-method.patch
- Fix possible NULL ptr dereferences and memory leaks
0017-Fix-possible-NULL-ptr-dereferences-and-memory-leaks.patch
- imsm: Remove possibility for get_imsm_dev to return
0018-imsm-Remove-possibility-for-get_imsm_dev-to-return-N.patch
- Revert "mdadm: fix coredump of mdadm --monitor -r"
0019-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
- util: replace ioctl use with function
0020-util-replace-ioctl-use-with-function.patch
- mdadm/super1: restore commit 45a87c2f31335 to fix
0021-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
- imsm: introduce get_disk_slot_in_dev()
0022-imsm-introduce-get_disk_slot_in_dev.patch
- imsm: use same slot across container
0023-imsm-use-same-slot-across-container.patch
- imsm: block changing slots during creation
0024-imsm-block-changing-slots-during-creation.patch
- mdadm: block update=ppl for non raid456 levels
0025-mdadm-block-update-ppl-for-non-raid456-levels.patch
- mdadm: Fix array size mismatch after grow
0026-mdadm-Fix-array-size-mismatch-after-grow.patch
- mdadm: Remove dead code in imsm_fix_size_mismatch
0027-mdadm-Remove-dead-code-in-imsm_fix_size_mismatch.patch
- Monitor: use devname as char array instead of pointer
0028-Monitor-use-devname-as-char-array-instead-of-pointer.patch
- Monitor: use snprintf to fill device name
0029-Monitor-use-snprintf-to-fill-device-name.patch
- Makefile: Don't build static build with everything and
0030-Makefile-Don-t-build-static-build-with-everything-an.patch
- DDF: Cleanup validate_geometry_ddf_container()
0031-DDF-Cleanup-validate_geometry_ddf_container.patch
- DDF: Fix NULL pointer dereference in
0032-DDF-Fix-NULL-pointer-dereference-in-validate_geometr.patch
- mdadm/Grow: Fix use after close bug by closing after
0033-mdadm-Grow-Fix-use-after-close-bug-by-closing-after-.patch
- monitor: Avoid segfault when calling NULL
0034-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch
- mdadm: Fix mdadm -r remove option regression
0035-mdadm-Fix-mdadm-r-remove-option-regression.patch
- mdadm: Fix optional --write-behind parameter
0036-mdadm-Fix-optional-write-behind-parameter.patch
- mdadm: Replace obsolete usleep with nanosleep
0037-mdadm-Replace-obsolete-usleep-with-nanosleep.patch
- mdadm: remove symlink option
0038-mdadm-remove-symlink-option.patch
- mdadm: move data_offset to struct shape
0039-mdadm-move-data_offset-to-struct-shape.patch
- mdadm: Don't open md device for CREATE and ASSEMBLE
0040-mdadm-Don-t-open-md-device-for-CREATE-and-ASSEMBLE.patch
- Grow: Split Grow_reshape into helper function
0041-Grow-Split-Grow_reshape-into-helper-function.patch
- Assemble: check if device is container before
0042-Assemble-check-if-device-is-container-before-schedul.patch
- super1: report truncated device
0043-super1-report-truncated-device.patch
- mdadm: Correct typos, punctuation and grammar in man
0044-mdadm-Correct-typos-punctuation-and-grammar-in-man.patch
- Manage: Block unsafe member failing
0045-Manage-Block-unsafe-member-failing.patch
- Monitor: Fix statelist memory leaks
0046-Monitor-Fix-statelist-memory-leaks.patch
- mdadm: added support for Intel Alderlake RST on VMD
0047-mdadm-added-support-for-Intel-Alderlake-RST-on-VMD-p.patch
- mdadm: Add Documentation entries to systemd services
0048-mdadm-Add-Documentation-entries-to-systemd-services.patch
- ReadMe: fix command-line help
0049-ReadMe-fix-command-line-help.patch
- mdadm: replace container level checking with inline
0050-mdadm-replace-container-level-checking-with-inline.patch
- Mdmonitor: Omit non-md devices
0051-Mdmonitor-Omit-non-md-devices.patch
- Remove the following in house patch
1004-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
because upstream merged version added in as
0021-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
- Rename 0000-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch
to 1004-Makefile-install-mdadm_env.sh-to-usr-lib-mdadm.patch.
- Update mdadm package to mdadm-4.2 (jsc#PED-1009, jsc#PED-947)
All important modifications since previous update to mdadm-4.2
are listed here.
* The patches about Intel Matrix Storage Manager (including
VROC support),
- super-intel.c: Handle errors from calls to get_dev_sector_size()
- imsm: change wrong size verification
- imsm: add generic method to resolve "device" links
- imsm: add devpath_to_char method
- imsm: Limit support to the lowest namespace
- imsm: correct offset for 4k disks in --examine output
- imsm: Fix possible memory leaks and refactor freeing struct dl
- imsm: fix num_data_stripes after raid0 takeover
- imsm: introduce helpers to manage file descriptors
- imsm: free allocated memory in imsm_fix_size_mismatch
- imsm: assert if there is migration but prev_map doesn't exist
* The patches to fix program issues,
- mdadm/super1: It needs to specify int32 for bitmap_offset
- Fix memory leak after "mdadm --detail"
- Utils: Change sprintf to snprintf
- mdadm: fix coredump of mdadm --monitor -r
- Fix error message when creating raid 4, 5 and 10
- Fix buffer size warning for strcp
- Fix potential overlap dest buffer
- Correct checking if file descriptors are valid
- Monitor: print message before quit for no array to monitor
* Improvement or bug fixes for mdadm itself,
- Assemble: skip devices that don't match uuid instead of aborting the
assembly.
- Assemble: apply sysfs rules
- Assemble: start dirty and degraded array.
- Incremental: Close unclosed mdfd in IncrementalScan()
- Monitor: make libudev dependency optional
- Manage: Call validate_geometry when adding drive to external
container
- Remove Spare drives line from details for external metadata
- Don't associate spares with other arrays during RAID Examine
- Add error handling for chunk size in RAID1
- Add monitor delay parameter to mdadm.conf
- disallow create or grow clustered bitmap with writemostly set
- mdadm/Detail: Can't show container name correctly when unpluging disks
- mdadm: block creation with long names
- mdadm: fix growing containers
- Remove the following patches because they are all included
in mdadm-4.2,
- 0001-Assemble-keep-MD_DISK_FAILFAST-and-MD_DISK_WRITEMOST.patch
- 0002-Document-PART-POLICY-lines.patch
- 0003-policy-support-devices-with-multiple-paths.patch
- 0004-mdcheck-add-systemd-unit-files-to-run-mdcheck.patch
- 0005-Monitor-add-system-timer-to-run-oneshot-periodically.patch
- 0006-imsm-update-metadata-correctly-while-raid10-double-d.patch
- 0007-Assemble-mask-FAILFAST-and-WRITEMOSTLY-flags-when-fi.patch
- 0008-Grow-avoid-overflow-in-compute_backup_blocks.patch
- 0009-Grow-report-correct-new-chunk-size.patch
- 0010-policy.c-prevent-NULL-pointer-referencing.patch
- 0012-policy.c-Fix-for-compiler-error.patch
- 0013-imsm-finish-recovery-when-drive-with-rebuild-fails.patch
- 0014-imsm-fix-reshape-for-2TB-drives.patch
- 0015-Fix-spelling-typos.patch
- 0016-Detail.c-do-not-skip-first-character-when-calling-xs.patch
- 0018-Fix-reshape-for-decreasing-data-offset.patch
- 0019-mdadm-tests-add-one-test-case-for-failfast-of-raid1.patch
- 0020-mdmon-don-t-attempt-to-manage-new-arrays-when-termin.patch
- 0021-mdmon-wait-for-previous-mdmon-to-exit-during-takeove.patch
- 0022-Assemble-Fix-starting-array-with-initial-reshape-che.patch
- 0023-add-missing-units-to-examine.patch
- 0024-imsm-fix-spare-activation-for-old-matrix-arrays.patch
- 0025-Create-Block-rounding-size-to-max.patch
- 0026-udev-Add-udev-rules-to-create-by-partuuid-for-md-dev.patch
- 0027-mdmon-fix-wrong-array-state-when-disk-fails-during-m.patch
- 0028-Enable-probe_roms-to-scan-more-than-6-roms.patch
- 0029-super-intel-Fix-issue-with-abs-being-irrelevant.patch
- 0030-mdadm.h-Introduced-unaligned-get-put-_unaligned-16-3.patch
- 0031-super-intel-Use-put_unaligned-in-split_ull.patch
- 0032-mdadm-load-default-sysfs-attributes-after-assemblati.patch
- 0033-mdadm.h-include-sysmacros.h-unconditionally.patch
- 0034-mdadm-add-no-devices-to-avoid-component-devices-deta.patch
- 0035-udev-add-no-devices-option-for-calling-mdadm-detail.patch
- 0036-imsm-close-removed-drive-fd.patch
- 0037-mdadm-check-value-returned-by-snprintf-against-error.patch
- 0038-mdadm-Introduce-new-array-state-broken-for-raid0-lin.patch
- 0039-mdadm-force-a-uuid-swap-on-big-endian.patch
- 0040-mdadm-md.4-add-the-descriptions-for-bitmap-sysfs-nod.patch
- 0041-Init-devlist-as-an-array.patch
- 0042-Don-t-need-to-check-recovery-after-re-add-when-no-I-.patch
- 0043-udev-allow-for-udev-attribute-reading-bug.patch
- 0044-imsm-save-current_vol-number.patch
- 0045-imsm-allow-to-specify-second-volume-size.patch
- 0046-mdcheck-when-mdcheck_start-is-enabled-enable-mdcheck.patch
- 0050-mdcheck-use-to-pass-variable-to-mdcheck.patch
- 0051-SUSE-mdadm_env.sh-handle-MDADM_CHECK_DURATION.patch
- 0052-super-intel-don-t-mark-structs-packed-unnecessarily.patch
- 0053-Manage-Remove-the-legacy-code-for-md-driver-prior-to.patch
- 0054-Remove-last-traces-of-HOT_ADD_DISK.patch
- 0055-Fix-up-a-few-formatting-issues.patch
- 0056-Remove-unused-code.patch
- 0057-imsm-return-correct-uuid-for-volume-in-detail.patch
- 0058-imsm-Change-the-way-of-printing-nvme-drives-in-detai.patch
- 0059-Create-add-support-for-RAID0-layouts.patch
- 0060-Assemble-add-support-for-RAID0-layouts.patch
- 0061-Respect-CROSS_COMPILE-when-CC-is-the-default.patch
- 0062-Change-warning-message.patch
- 0063-mdcheck-service-can-t-start-succesfully-because-of-s.patch
- 0064-imsm-Update-grow-manual.patch
- 0065-Add-support-for-Tebibytes.patch
- 0066-imsm-fill-working_disks-according-to-metadata.patch
- 0067-mdadm.8-add-note-information-for-raid0-growing-opera.patch
- 0068-Remove-the-legacy-whitespace.patch
- 0069-imsm-pass-subarray-id-to-kill_subarray-function.patch
- 0070-imsm-Remove-dump-restore-implementation.patch
- 0071-Monitor-improve-check_one_sharer-for-checking-duplic.patch
- 0072-Detail-adding-sync-status-for-cluster-device.patch
- 0073-imsm-Correct-minimal-device-size.patch
- 0074-Detail-show-correct-bitmap-info-for-cluster-raid-dev.patch
- 0075-imsm-support-the-Array-Creation-Time-field-in-metada.patch
- 0076-imsm-show-Subarray-and-Volume-ID-in-examine-output.patch
- 0077-udev-Ignore-change-event-for-imsm.patch
- 0078-Manage-imsm-Write-metadata-before-add.patch
- 0079-Assemble-print-error-message-if-mdadm-fails-assembli.patch
- 0080-clean-up-meaning-of-small-typo.patch
- 0081-Assemble.c-respect-force-flag.patch
- 0082-mdcheck-Log-when-done.patch
- 0083-Makefile-add-EXTRAVERSION-support.patch
- 0084-uuid.c-split-uuid-stuffs-from-util.c.patch
- 0085-Include-count-for-0-character-when-using-strncpy-to-.patch
- 0086-restripe-fix-ignoring-return-value-of-read-and-lseek.patch
- 0087-Block-overwriting-existing-links-while-manual-assemb.patch
- 0088-Detect-too-small-device-error-rather-than-underflow-.patch
- 0089-Use-more-secure-HTTPS-URLs.patch
- 0090-Update-link-to-Intel-page-for-IMSM.patch
- 0091-mdadm-Grow-prevent-md-s-fd-from-being-occupied-durin.patch
- 0092-Specify-nodes-number-when-updating-cluster-nodes.patch
- 0093-mdadm-md.4-update-path-to-in-kernel-tree-documentati.patch
- 0094-manual-update-examine-badblocks.patch
- 0095-Detail-show-correct-raid-level-when-the-array-is-ina.patch
- 0096-Don-t-create-bitmap-for-raid5-with-journal-disk.patch
- 0097-Monitor-refresh-mdstat-fd-after-select.patch
- 0098-Monitor-stop-notifing-about-containers.patch
- 0099-mdmonitor-set-small-delay-once.patch
- 0100-Check-if-other-Monitor-instance-running-before-fork.patch
- 0101-Super1-allow-RAID0-layout-setting-to-be-removed.patch
- 0102-Detail-fix-segfault-during-IMSM-raid-creation.patch
- 0103-Create.c-close-mdfd-and-generate-uevent.patch
- 0104-imsm-update-num_data_stripes-according-to-dev_size.patch
- 0105-imsm-remove-redundant-calls-to-imsm_get_map.patch
- 0106-Monitor-don-t-use-default-modes-when-creating-a-file.patch
- 0107-imsm-limit-support-to-first-NVMe-namespace.patch
- 0108-mdadm-Unify-forks-behaviour.patch
- 0109-mdadm-Detail-show-correct-state-for-clustered-array.patch
- 0110-Make-target-to-install-binaries-only.patch
- 0111-udev-start-grow-service-automatically.patch
- 0112-Incremental-Remove-redundant-spare-movement-logic.patch
- 0113-Dump-get-stat-from-a-wrong-metadata-file-when-restor.patch
- 0114-super1-fix-Floating-point-exception.patch
- 0115-super1.c-avoid-useless-sync-when-bitmap-switches-fro.patch
- 0116-imsm-nvme-multipath-support.patch
- 0117-Grow-be-careful-of-corrupt-dev_roles-list.patch
- 0118-Remove-Spare-drives-line-from-details-for-external-m.patch
- 0119-Don-t-associate-spares-with-other-arrays-during-RAID.patch
- 0120-udev-md-raid-assembly.rules-skip-if-DM_UDEV_DISABLE_.patch
- 0121-imsm-support-for-third-Sata-controller.patch
- The patch from SLE15-SP4 is removed because it is in mdadm-4.2
upstream already,
- Monitor: print message before quit for no array to monitor
(bsc#1183229)
0120-Monitor-print-message-before-quit-for-no-array-to-mo.patch
* Mon Sep 19 2022 Coly Li <colyli@suse.com>
- mdadm.spec: add EXTRAVERSION string to make command line
(jsc#SLE-24761, bsc#1193566)
* Thu Aug 11 2022 Coly Li <colyli@suse.com>
- imsm: support for third Sata controller (bsc#1201297)
0121-imsm-support-for-third-Sata-controller.patch
- mdadm: enable Intel Alderlake RSTe configuration (bsc#1201297)
1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
* Mon May 30 2022 Heming Zhao <heming.zhao@suse.com>
- resource RAID failed during cluster patch, Mdadm gets floating point error (bsc#1197158)
1004-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
* Fri Mar 18 2022 Martin Wilck <mwilck@suse.com>
- skip RAID assembly if DM_UDEV_DISABLE_OTHER_RULES_FLAG (bsc#1196054)
* Add 0120-udev-md-raid-assembly.rules-skip-if-DM_UDEV_DISABLE_.patch
/usr/lib/systemd/system-shutdown /usr/lib/systemd/system-shutdown/mdadm.shutdown /usr/lib/systemd/system/mdadm-grow-continue@.service /usr/lib/systemd/system/mdadm-last-resort@.service /usr/lib/systemd/system/mdadm-last-resort@.timer /usr/lib/systemd/system/mdcheck_continue.service /usr/lib/systemd/system/mdcheck_continue.timer /usr/lib/systemd/system/mdcheck_start.service /usr/lib/systemd/system/mdcheck_start.timer /usr/lib/systemd/system/mdmon@.service /usr/lib/systemd/system/mdmonitor-oneshot.service /usr/lib/systemd/system/mdmonitor-oneshot.timer /usr/lib/systemd/system/mdmonitor.service /usr/lib/udev/rules.d/01-md-raid-creating.rules /usr/lib/udev/rules.d/63-md-raid-arrays.rules /usr/lib/udev/rules.d/64-md-raid-assembly.rules /usr/lib/udev/rules.d/69-md-clustered-confirm-device.rules /usr/libexec /usr/libexec/mdadm /usr/libexec/mdadm/mdadm_env.sh /usr/sbin/mdadm /usr/sbin/mdmon /usr/share/doc/packages/mdadm /usr/share/doc/packages/mdadm/CHANGELOG.md /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-1.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-10.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-11.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-12.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-13.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-2.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-3.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-4.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-5.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-6.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-7.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-8.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO-9.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO.html /usr/share/doc/packages/mdadm/Software-RAID.HOWTO.txt /usr/share/doc/packages/mdadm/external-reshape-design.txt /usr/share/doc/packages/mdadm/mdadm.conf-example /usr/share/doc/packages/mdadm/mdmon-design.txt /usr/share/fillup-templates/sysconfig.mdadm /usr/share/licenses/mdadm /usr/share/licenses/mdadm/COPYING /usr/share/man/man4/md.4.gz /usr/share/man/man5/mdadm.conf.5.gz /usr/share/man/man8/mdadm.8.gz /usr/share/man/man8/mdmon.8.gz /usr/share/mdadm /usr/share/mdadm/mdcheck
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 22 23:18:26 2025