Commit Graph

338 Commits

Author SHA256 Message Date
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
Stephan Kulow
b95b3aac4f Accepting request 197358 from Base:System
Complete with extra noise in changes file aas requested.

- New upstream release - mdadm-3.3
  Lot of improvements to --grow and DDF support.
  Better interaction with systemd.
  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/request/show/197358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=83
2013-09-04 11:57:46 +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
Stephan Kulow
0c80e21f70 Accepting request 178832 from Base:System
- 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/request/show/178832
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=82
2013-06-18 08:33:48 +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
Stephan Kulow
850c6282a7 Accepting request 171239 from Base:System
- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 171084 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/171239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=81
2013-04-17 21:06:40 +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
Stephan Kulow
6b7139e36d Accepting request 156767 from Base:System
license update: GPL-2.0
mdadm/Software-RAID.HOWTO.tar.bz2 (forwarded request 156539 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/156767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=80
2013-03-01 06:27:36 +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
Stephan Kulow
ab231e9697 Accepting request 140065 from Base:System
- Fix factory breakage on udev and systemd rules. (forwarded request 140064 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/140065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=78
2012-11-06 15:12:52 +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
Stephan Kulow
288d68c3ea Accepting request 139359 from Base:System
- 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/request/show/139359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=77
2012-10-26 15:25:55 +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
Stephan Kulow
a749d8ba34 Accepting request 137540 from Base:System
- 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/request/show/137540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=76
2012-10-11 09:02: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
e3a8115e50 Accepting request 135563 from Base:System
- 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)
- mkinitrd-setup.sh: allow use stable md device name
  and allow it to have a ':' in it. (bnc#779087)
- boot.md: make sure udev-trigger runs before
  boot.md. (bnc#772286)

OBS-URL: https://build.opensuse.org/request/show/135563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=75
2012-09-25 08:41:38 +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
Ismail Dönmez
14bea8189e Accepting request 131201 from Base:System
mdadm update to fix various install/boot issues with IMSM RAID.

- 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/request/show/131201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=74
2012-08-22 12:37:17 +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
Stephan Kulow
f85966aa63 Accepting request 129123 from Base:System
- Add blkid-builtin.patch: use blkid built-in from udev (less fork, useful for dracut, please fwd for 12.2) (forwarded request 129089 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/129123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=73
2012-07-30 07:22:40 +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
Stephan Kulow
e431e4d10a Accepting request 127149 from Base:System
mdadm bugfix for Factory

- mdmon-arg.fix: fix arg parsing in mdmon so that
  "--all --takeover" works. (bnc#767150)

OBS-URL: https://build.opensuse.org/request/show/127149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=72
2012-07-09 07:50:37 +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
Stephan Kulow
c4e8237add Accepting request 125982 from Base:System
- use recommends: smtp_daemon, similar to cronie example

- add missing dependencies on cron and /usr/sbin/sendmail (bnc#767155)

OBS-URL: https://build.opensuse.org/request/show/125982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=71
2012-06-26 15:07:06 +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
9fe72f52ca Accepting request 125036 from home:cboltz:branches:Base:System
- add missing dependencies on cron and /usr/sbin/sendmail (bnc#767155)

See https://bugzilla.novell.com/show_bug.cgi?id=767155 for a detailed
explanation - and feel free to close the bug after accepting this SR ;-)

OBS-URL: https://build.opensuse.org/request/show/125036
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=61
2012-06-21 07:26:19 +00:00
Stephan Kulow
82337be629 Accepting request 123057 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/123057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=69
2012-06-01 05:21:25 +00:00
Neil Brown
3fcefe6c90 - udev-rules.fix: make sure systemd doesn't try
to mount array before it is fully assembled.
  (bnc#752869)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=59
2012-05-24 01:54:00 +00:00
Neil Brown
45851a289f Add missing %files entry
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=58
2012-05-22 05:25:59 +00:00
Neil Brown
7d9073a996 - boot.md/mkinitrd-boot.sh: complete any incremental
assembly before attempting to assemble arrays.
  If incremental assembly has partialy assembled
  degraded arrays, now is the time to start them going.
  (bnc#752869)
- mdamd.cron: send daily reports if any arrays are
  degraded.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=57
2012-05-22 05:18:08 +00:00
Stephan Kulow
67315f8875 Accepting request 121367 from Base:System
- New upstream version: 3.2.5.  Serious regression
  in 3.2.4 necessitated a new release.  Only significant
  fix is that "--add" now works again.

OBS-URL: https://build.opensuse.org/request/show/121367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=68
2012-05-21 06:07:29 +00:00
Neil Brown
935a13fb6a - New upstream version: 3.2.5. Serious regression
in 3.2.4 necessitated a new release.  Only significant
  fix is that "--add" now works again.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=55
2012-05-18 07:23:54 +00:00
Stephan Kulow
e29ce82cec Accepting request 116799 from Base:System
New upstream mdadm for openSUSE 12.2

- New upstream version: 3.2.4. /run/mdadm is not
  used for runtime files, not /var/run or /dev/.mdadm.

OBS-URL: https://build.opensuse.org/request/show/116799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=67
2012-05-09 16:18:17 +00:00
Neil Brown
0cbcffd111 Remove old patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=53
2012-05-09 01:24:09 +00:00
Neil Brown
f4371a9780 - New upstream version: 3.2.4. /run/mdadm is not
used for runtime files, not /var/run or /dev/.mdadm.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=52
2012-05-09 01:23:18 +00:00
Stephan Kulow
ff33f91997 Accepting request 114777 from Base:System
- Run update of initrd at %post and %postun.
  We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/request/show/114777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=66
2012-04-23 07:15:39 +00:00
Robert Milasan
2217494ff8 - Run update of initrd at %post and %postun.
We need this to make sure initrd reflects the updates.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=50
2012-04-20 08:01:08 +00:00
Stephan Kulow
984b10b6cf Accepting request 97882 from Base:System
- remove call to suse_update_config (very old work around) (forwarded request 97714 from coolo)

OBS-URL: https://build.opensuse.org/request/show/97882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=65
2011-12-25 16:36:34 +00:00
Stephan Kulow
061c6722f2 Accepting request 97714 from home:coolo:removeautoconf
- remove call to suse_update_config (very old work around)

OBS-URL: https://build.opensuse.org/request/show/97714
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=48
2011-12-22 12:42:21 +00:00
Stephan Kulow
dc567352df replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=64
2011-12-06 17:28:43 +00:00
Ruediger Oertel
d0aad0a1b1 Accepting request 86854 from Base:System
Fix for bnc#721905 - for Factory and 12.1

- mkinitrd-setup.sh -- add "AUTO -all" to initrd mdadm.conf
  so that only arrays needed for boot are auto-assembled.
- auto-line.fix -- fix handling of "AUTO" line
  in mdadm.conf so it actually works.
  (bnc#721905)

OBS-URL: https://build.opensuse.org/request/show/86854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=62
2011-10-06 14:43:46 +00:00
Neil Brown
d8f9bd9148 - mkinitrd-setup.sh -- add "AUTO -all" to initrd mdadm.conf
so that only arrays needed for boot are auto-assembled.
- auto-line.fix -- fix handling of "AUTO" line
  in mdadm.conf so it actually works.
  (bnc#721905)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=45
2011-10-06 02:24:11 +00:00
Ruediger Oertel
5333fcf945 Accepting request 86440 from Base:System
- cross-build fix: use %__cc macro (forwarded request 86414 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=61
2011-10-04 16:13:27 +00:00
563a62e82b Accepting request 86414 from home:uli_suse:branches:Base:System
- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86414
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=43
2011-10-04 08:39:41 +00:00
Sascha Peilicke
17a82eb024 Accepting request 79195 from Base:System
New upstream mdadm release, and assort minor tidy-ups.

- boot.md: improve 'status' and add 'reload'
  function.  Also change 'Raid' to 'RAID'
  for consistency (bnc#709474)

- Use udev rules file from upstream package, rather
  have having a separate one.

- Update to new upstream 3.2.2 plug git patches.
  Also update FSF address in boot-md.

OBS-URL: https://build.opensuse.org/request/show/79195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=60
2011-08-18 08:19:54 +00:00
Neil Brown
6534d1a09a - boot.md: improve 'status' and add 'reload'
function.  Also change 'Raid' to 'RAID'
  for consistency (bnc#709474)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=41
2011-08-18 06:32:28 +00:00