Commit Graph

187 Commits

Author SHA256 Message Date
Neil Brown
7e1277d81a - Don't list XXX@.server files for service_add/del
They cannot be restarted by systemctl as they are
  just templates.  They don't need to be restarted
  at reinstall anyway.
  (bsc#979749)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=142
2016-05-20 05:16:52 +00:00
Neil Brown
0252a672c1 - New upstream release mdadm-3.4
Adds support for clustered-raid1 and journalled raid5
- 0001-super1-Clear-memory-allocated-for-superblock-bitmap-.patch
  Important upstream bugfix relating to uninialised memory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=140
2016-05-04 05:00:38 +00:00
Neil Brown
b5da44318c Accepting request 349012 from home:tiwai:branches:Base:System
- Add missing pre-requres for initrd macros (boo#958562)

OBS-URL: https://build.opensuse.org/request/show/349012
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=138
2015-12-15 21:28:50 +00:00
Stephan Kulow
23e7d7edf1 Accepting request 330895 from home:dimstar:Factory
- Own %{_systemdshutdowndir} in case nothing else does. This
  ensures build success even if systemd-mini does not own it
  (happens in some versions of our package).

OBS-URL: https://build.opensuse.org/request/show/330895
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=136
2015-09-19 06:35:27 +00:00
7abf00befa Accepting request 328239 from home:dimstar:Factory
- Do not BuildRequire systemd: it conflicts with systemd-mini,
  pulled in by systemd-mini-devel (due to BuildRequires:
  pkgconfig(systemd)). The reason systemd was added as a
  buildrequires was for 'something' to onw
  /usr/lib/systemd/system-shutdown/; systemd-mini does that also
  for us.

OBS-URL: https://build.opensuse.org/request/show/328239
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=134
2015-09-10 10:26:14 +00:00
Neil Brown
6d6d2fa509 - new upstream version 3.3.4. Important bugfix
to honour IMSM ROM settings when RAID is disabled.
  (bsc#939748 bsc#937363)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=132
2015-08-03 06:34:23 +00:00
Neil Brown
5528872f92 - new upstream version 3.3.3. Lots of bug fixes, particular
"mdadm --assemble --force" would often not do the right thing
  for RAID5.
-  0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch
   0001-Grow-fix-removal-of-line-in-wrong-case.patch
   0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch
   0001-Makefile-install-mdadm-grow-continue-.service.patch
   mdcheck-careful.patch
   mdcheck-no-devices.fix
   All removed as now included upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=131
2015-07-27 05:12:21 +00:00
Dr. Werner Fink
e3c859c779 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=130
2015-07-13 09:20:46 +00:00
Neil Brown
79655ba167 Accepting request 288571 from home:mgorse:branches:Base:System
- 0001-IMSM-Add-warning-message-when-assemble-spanned-conta.patch
  (bnc#882634)
- 0001-Grow-Do-not-try-to-restart-if-reshape-is-running.patch
  (bnc#887773)

Found these while looking through sle for things which should
probably go into openSUSE.

OBS-URL: https://build.opensuse.org/request/show/288571
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=128
2015-03-04 05:40:10 +00:00
Neil Brown
70468495f0 - mdcheck-careful.patch
Be careful about reading all output of "mdadm --detail --export"
  as shell commands - it isn't quoted.
  (bnc#910500)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=126
2015-02-03 23:41:59 +00:00
Neil Brown
2b55227bf2 - mdcheck-no-devices.fix
mdcheck mustn't report an error if not md devices
  exist (bnc#903051)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=124
2014-11-03 00:26:47 +00:00
Neil Brown
ed20bca35b - cron.d.mdadm: add correct PATH setting
(bnc#898239)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=122
2014-09-29 01:24:00 +00:00
Neil Brown
695ee589d2 - Add cron job to run 'mdcheck' regularly to
verify all md arrays. (bnc#869261)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=120
2014-09-16 01:06:21 +00:00
Neil Brown
928b1732b2 Accepting request 242360 from home:posophe:branches:Base:System
- Remove insserv dependency; the package has been moved to systemd
  init system
- Remove redundant %clean section

OBS-URL: https://build.opensuse.org/request/show/242360
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=118
2014-07-25 21:09:40 +00:00
OBS User buildservice-autocommit
390f848298 Accepting request 239413 from Base:System
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/239413
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=116
2014-07-12 15:14:20 +00:00
OBS User buildservice-autocommit
4a54d95f70 Updating link to change in openSUSE:Factory/mdadm revision 92.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=4a1fbabd751d27bf803b138c748e7616
2014-07-12 15:14:20 +00:00
Neil Brown
a725f5f212 - Remove mkinitrd scripts again. "libguestfs" now
includes them so "guestfs" does not need us to.
  (bnc#883873)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=115
2014-07-07 01:53:50 +00:00
Neil Brown
4126681dce - 0001-Grow-fix-removal-of-line-in-wrong-case.patch
(bnc#881530)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=114
2014-06-26 03:46:07 +00:00
Neil Brown
4feccbfb0d - add mkinitrd scripts back in. They are needed by
"guestfs"
  (bnc#883873)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=113
2014-06-26 02:54:59 +00:00
Neil Brown
8623a1243a - mdadm.spec: change calling of mkinitrd to use the
%regenerate_initrd_{post,posttrans} macros to optimise
  initrd regeneration. (bnc#881780)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=111
2014-06-12 02:09:59 +00:00
Neil Brown
6ae4649722 Really remove the mkinitrd scripts
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=110
2014-06-10 11:17:34 +00:00
Neil Brown
45fe4a7175 - 0001-Makefile-install-mdadm-grow-continue-.service.patch
make sure mdadm-grow-continue.service is installed properly.
- remove mkinitrd files, we now use dracut

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=109
2014-06-10 11:05:25 +00:00
Neil Brown
cfeabb7b60 - new upstream release 3.3.1, incorporates all current patches
and includes assorted other minor fixes.
- Delete  0001-Assemble-allow-load_devices-to-change-the-st-which-i.patch
- Delete  0001-DDF-mark-missing-on-assembly-device-properly.patch
- Delete  0001-mdmon-.service-Change-type-of-process-start-up-to-fo.patch
- Delete  0001-systemd-various-fixes-for-boot-with-container-arrays.patch
- Delete  0002-Assemble-re-arrange-freeing-of-tst-in-load_devices.patch
- Delete  0002-DDF-guard-against-pdnum-being-negative.patch
- Delete  0003-Assemble-change-load_devices-to-return-most_recent-s.patch
- Delete  0003-DDF-fix-possible-mdmon-crash-when-updating-metadata.patch
- Delete  0003-Work-around-architectures-having-statfs.f_type-defin.patch
- Delete  0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch
- Delete  0004-DDF-report-seq-counter-as-events.patch
- Delete  0005-DDF-when-first-activating-an-array-record-any-missin.patch
- Delete  Assembe-fix-bug-in-force_array-it-wasn-t-forcing-pro.patch
- Delete  Assemble-Incremental-don-t-hold-O_EXCL-on-mddev-afte.patch
- Delete  Assemble-avoid-infinite-loop-when-auto-assembling-pa.patch
- Delete  DDF-add_to_super_ddf-be-careful-with-workspace_lba.patch
- Delete  DDF-allow-for-possibility-that-there-is-no-secondary.patch
- Delete  DDF-brief_examine_subarrays_ddf-print-array-name.patch
- Delete  DDF-compare_super_ddf-fix-sequence-number-check.patch
- Delete  DDF-factor-out-array-name-generation.patch
- Delete  DDF-fix-detection-of-failed-devices-during-assembly.patch
- Delete  DDF-handle-fake-RAIDs-with-changing-subarray-UUIDs.patch
- Delete  DDF-really-ignore-DDF-metadata-on-partitions.patch
- Delete  Grow-fix-problems-with-prematurely-aborting-of-resha.patch
- Delete  IMSM-don-t-crash-when-creating-an-array-with-missing.patch
- Delete  Incremental-add-export-handling.patch
- Delete  Incremental-improve-support-for-DEVICE-based-restric.patch
- Delete  Make-IRs-and-run-work-properly-for-containers.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=108
2014-06-10 04:08:57 +00:00
Neil Brown
8fb4d24934 - 0001-systemd-various-fixes-for-boot-with-container-arrays.patch
various fixes to improve boot-from-DDF or IMSM
  (bnc#866660)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=106
2014-04-08 07:39:43 +00:00
Neil Brown
aca7a2aa5a - 0001-DDF-mark-missing-on-assembly-device-properly.patch
- 0002-DDF-guard-against-pdnum-being-negative.patch
- 0003-DDF-fix-possible-mdmon-crash-when-updating-metadata.patch
- 0004-DDF-Don-t-fail-compare_super_ddf-due-to-re-configure.patch
  More upstream DDF fixes (bnc#866660)

- 0001-mdmon-.service-Change-type-of-process-start-up-to-fo.patch
- 0003-Work-around-architectures-having-statfs.f_type-defin.patch
- 0004-DDF-report-seq-counter-as-events.patch
- 0005-DDF-when-first-activating-an-array-record-any-missin.patch
  Two fixes for DDF (bnc#866660) and a couple of other upstream fixes
  just for good measure.

- 0001-Assemble-allow-load_devices-to-change-the-st-which-i.patch
  0002-Assemble-re-arrange-freeing-of-tst-in-load_devices.patch
  0003-Assemble-change-load_devices-to-return-most_recent-s.patch
  Allow RAID5 to be assembled even when firs device listed recently
  failed (bnc#865221)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=105
2014-04-02 06:19:16 +00:00
Neil Brown
8983119084 Add %fillup_only back in
I removed %fillup_and_insserv but only really wanted to remove %insserv.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=103
2014-01-23 09:31:18 +00:00
Neil Brown
639327d1db - remove boot.md. It no longer does anything useful.
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=102
2014-01-22 23:46:10 +00:00
Neil Brown
a713ca507f - mdmonitor
run "mdadm --monitor" from systemd instead of init.d
  sciprt (bnc#849523)
- remove mdadmd due to above.
- udev-rules-try-mdadm-I-on-change-events.patch
  (bnc#851993)
- policy-NULL-path-isn-t-really-acceptable-use-the-dev.patch
- DDF-really-ignore-DDF-metadata-on-partitions.patch
- Assemble-avoid-infinite-loop-when-auto-assembling-pa.patch
- DDF-fix-detection-of-failed-devices-during-assembly.patch
- Grow-fix-problems-with-prematurely-aborting-of-resha.patch
- IMSM-don-t-crash-when-creating-an-array-with-missing.patch
- mdmon-don-t-complain-about-notifying-parent-when-the.patch
- systemd-mdmon-set-IMSM_NO_PLATFORM-1.patch
- mdmon-.service-remove-over-ride-of-Standard-IO.patch
  Various upstream bug fixes.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=101
2014-01-22 04:59:00 +00:00
Neil Brown
8715c5394a - Assemble-Incremental-don-t-hold-O_EXCL-on-mddev-afte.patch
Ensure fsck/mount don't find an md array to be BUSY
  the moment it appears.
- mkinitrd-setup.sh: Make the array device names in
  /etc/mdadm.conf in the initrd match those in /etc/mdadm.conf
  in the root filesystem.  (bnc#851993)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=99
2013-12-04 23:59:54 +00:00
Neil Brown
d7bc5406dc - Restructure-assemble_container_content-and-improve-m.patch
- Incremental-add-export-handling.patch
- udev-rules.degraded
- systemd-mdadm-last-resort@.service
- systemd-mdadm-last-resort@.timer
  Teach systemd to start degraded arrays after a timeout if
  some missing devices never appear (bnc#832501)
- Incremental-improve-support-for-DEVICE-based-restric.patch
  Teach "mdadm --incremental" to handle "DEVICE" lists from
  mdadm.conf properly (bnc@851993)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=98
2013-12-03 03:13:54 +00:00
Neil Brown
78f6e472f9 - DDF-handle-fake-RAIDs-with-changing-subarray-UUIDs.patch
- DDF-compare_super_ddf-fix-sequence-number-check.patch
- Monitor-don-t-set-arrays-dirty-after-transition-to-r.patch
- DDF-add_to_super_ddf-be-careful-with-workspace_lba.patch
- Monitor-write-meta-data-in-readonly-state-sometimes.patch
- Assembe-fix-bug-in-force_array-it-wasn-t-forcing-pro.patch
  Various bugfixes from upstream - several to improve
  DDF support, one which fixes a nasty bug in "--assemble --force".

- DDF-brief_examine_subarrays_ddf-print-array-name.patch
  DDF-factor-out-array-name-generation.patch
  Include name in "-Db" output for DDF
  FATE#316007

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=96
2013-11-11 00:47:33 +00:00
Neil Brown
4ca54c1584 - DDF-allow-for-possibility-that-there-is-no-secondary.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=94
2013-09-13 10:39:56 +00:00
Neil Brown
a8a26f3695 Multiple fixes for mdadm:
- upstream bugfixes in 3.3
 - simplify array assembly in initrd and normal boot.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=93
2013-09-13 01:49:53 +00:00
Neil Brown
4af8f82cac - mkinitd-boot.sh: Clear {root,resume}_major variable
If multipath is in use, md is always on top of it. Therefore, the root
  device is always an md device. (bnc#786526)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=91
2013-09-09 03:08:27 +00:00
Neil Brown
07e6883325 - mkinitrd-setup.sh: copy new udev rules files into
the initrd.
  The "mkinitrd" package does this for the old name.
  It is easier if this packages does it for the files
  this package installs.
  (bnc#838777)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=90
2013-09-06 04:05:58 +00:00
Neil Brown
5dbb36a05c Hot-replace support and more.
Removes patches:
    assemble-EXCL-race.fix
    0001-Add-support-for-launching-mdmon-via-systemctl-instea.patch
    0002-In-case-launching-mdmon-fails-print-an-error-message.patch
    0003-mdmon-add-foreground-option.patch
    0004-Suppress-error-messages-from-systemctl.patch
  which were backports from upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=88
2013-09-04 03:21:19 +00:00
Neil Brown
4ceb37ee0e - New upstream release - mdadm-3.3
Lot of improvements to --grow and DDF support.
  Better interaction with systemd.
  Hot-replace support
  and more.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=87
2013-09-03 05:46:59 +00:00
Neil Brown
9eca190d93 - assemble-EXCL-race.fix: avoid some races during
array assembled- particularly at boot (bnc#793954)
- boot.md: make sure systemd-udev-trigger runs before
  boot.md to avoid races: bnc#793954
- mdmon@.service - new file plus patches to allow
  mdmon to be started by systemd, so it doesn't
  kill it (bnc#321366)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=85
2013-06-13 04:16:10 +00:00
6d9d439117 Accepting request 171084 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/171084
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=83
2013-04-17 08:05:12 +00:00
Neil Brown
04eafce4bd Accepting request 156539 from home:babelworx:ldig:branches:Base:System
license update: GPL-2.0
mdadm/Software-RAID.HOWTO.tar.bz2

OBS-URL: https://build.opensuse.org/request/show/156539
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=81
2013-02-27 22:27:08 +00:00
Cristian Rodríguez
3b06425b46 Accepting request 140064 from home:elvigia:branches:Base:System
- Fix factory breakage on udev and systemd rules.

OBS-URL: https://build.opensuse.org/request/show/140064
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=79
2012-11-04 02:24:36 +00:00
Neil Brown
15ad866b8c - new upstream release 3.2.6. Subsumes all of our
patches and adds a lot of other bug fixes for
  less common cases including for a couple that cause
  mdadm to crash.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=77
2012-10-25 23:19:41 +00:00
Neil Brown
2e9b215bf9 - remove /lib/udev/devices from specfile as it is
unused
- mkinitrd-setup.sh: fixed recent breakage for IMSM
  arrays (bnc#783444)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=75
2012-10-09 03:37:26 +00:00
Stephan Kulow
009029502f - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=73
2012-09-24 05:24:58 +00:00
Neil Brown
6da4634445 - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=70
2012-08-20 07:01:39 +00:00
Neil Brown
c56de49a0b - mdmon-takeover.fix
find-free-devnum.fix
  mapfile-rebuild.fix
  udev-offroot
   Fix various issues will installation on IMSM
  RAID arrays, booting from those arrays, and
  clean shutdown when such an array is used for '/'.
  (bnc#752107 bnc#732294 bnc#770351)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=69
2012-08-20 06:57:35 +00:00
044bd6fcfd Accepting request 129089 from home:fcrozat:branches:Base:System
- Add blkid-builtin.patch: use blkid built-in from udev (less fork, useful for dracut, please fwd for 12.2)

OBS-URL: https://build.opensuse.org/request/show/129089
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=67
2012-07-27 16:43:55 +00:00
Neil Brown
4672f4ab84 - mdmon-arg.fix: fix arg parsing in mdmon so that
"--all --takeover" works. (bnc#767150)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=65
2012-07-05 03:15:54 +00:00
27041c13ed - use recommends: smtp_daemon, similar to cronie example
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=63
2012-06-25 12:07:01 +00:00
b214ff16f6 - use recommends: smtp_daemon postfix, just like cronie example
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=62
2012-06-21 07:28:06 +00:00