Commit Graph

105 Commits

Author SHA256 Message Date
Neil Brown
231108cf6e 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
b5f32620da - 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
984ab4d563 - 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
378c6a0dcb 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
abc5af37bf - 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
e25ca3c260 - 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
cd373fb85d 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
d0fbf8cdcd 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
d633f700ad 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
824e66d00a - 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
6c3ee769b5 - 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
0927375b35 - 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
e99df50458 - 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
1a1bebde19 - 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
527d4aa0ac 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
fd6258fec6 - 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
ab0baeee50 - 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
8c730eaf75 - 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
03acda9fc6 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
Neil Brown
0650dcc2aa - 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
7bd795bf3e 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
37dd4e28e9 - 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
Neil Brown
cb1c6bc876 - 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
Neil Brown
01c75c25cb 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
6904a50cd2 - 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
Robert Milasan
7fd8d96f2b - 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
dfce3d1bf1 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
Neil Brown
894e7e46b2 - 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
9ce8c5d116 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
Neil Brown
b4f2199395 - 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
Neil Brown
b5de3e63a0 - Use udev rules file from upstream package, rather
have having a separate one.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=40
2011-08-18 06:03:57 +00:00
Neil Brown
80b9aa3f04 - Update to new upstream 3.2.2 plug git patches.
Also update FSF address in boot-md.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=39
2011-08-18 03:03:50 +00:00
OBS User buildservice-autocommit
3f0eb4b4a7 Updating link to change in openSUSE:Factory/mdadm revision 59.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=898a812a0a1d554b0694b753de661bac
2011-08-11 08:05:48 +00:00
af3a245816 Accepting request 78412 from home:elvigia:branches:Base:System
- Do not use -fno-strict-aliasing when not needed

OBS-URL: https://build.opensuse.org/request/show/78412
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=37
2011-08-10 20:17:52 +00:00
OBS User buildservice-autocommit
0106a9789f Updating link to change in openSUSE:Factory/mdadm revision 57.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=bc00ffef997cfa354fe980e670b48723
2011-06-14 10:00:02 +00:00
Neil Brown
0be0f8c467 - 64-md-raid.rules - make clear distinction between
'disk' and 'partition' cases.  In particular it
  is wrong and problematic to test for 'md/array_state'
  for 'partition' devices as they cannot see 'md/*'
  and cannot exist when it doesn't have a valid value
  anyway. (bnc#684291)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=35
2011-06-14 06:09:00 +00:00
OBS User buildservice-autocommit
073d0b3398 Updating link to change in openSUSE:Factory/mdadm revision 55.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=a704862fc7634b495601af08c7900b84
2011-03-02 08:59:50 +00:00
Neil Brown
1b4305f284 - mkinitrd-boot.sh: don't assume /dev/md when device
name cannot be found.  It could easily be wrong,
  and there is no need as mdadm will choose a device.
  (bnc#656536)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=33
2011-03-01 22:16:38 +00:00
OBS User buildservice-autocommit
6e8ec861d8 Updating link to change in openSUSE:Factory/mdadm revision 53.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=fe045118e6625dec94cf4c657e30dae6
2011-02-18 11:25:57 +00:00
Neil Brown
328f1d8ab9 - 64-md-raid.rules: avoid races with md devices
appearing and disappearing.
  If the 'array_state' file doesn't exist, that is equivalent
  to it having 'clear' in it. (bnc#641382)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=31
2011-02-17 00:28:50 +00:00
OBS User buildservice-autocommit
4616f601e6 Updating link to change in openSUSE:Factory/mdadm revision 50.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=369c042e7b2676ea5768054f9aa1325e
2010-11-18 15:17:07 +00:00
Neil Brown
cfe801adf7 - boot.md - change args to mdmon.
The argument parsing of mdmon changed in the recent update
   and we need to change boot.md to match.  bnc#653965

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=29
2010-11-17 03:29:15 +00:00
OBS User buildservice-autocommit
c61ad5b95a Updating link to change in openSUSE:Factory/mdadm revision 48.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=8b8482559426848a9cce25441ac2b345
2010-10-22 14:31:55 +00:00
Cristian Rodríguez
7dcea2ba8a Accepting request 51209 from home:oertel:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/51209
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=27
2010-10-22 14:13:36 +00:00
OBS User buildservice-autocommit
7ca04ed32d Updating link to change in openSUSE:Factory/mdadm revision 46.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=a51c6516dd0113ed46602522d69cacd3
2010-07-20 18:49:21 +00:00
OBS User autobuild
82de050fda Accepting request 43454 from Base:System
checked in (request 43454)

OBS-URL: https://build.opensuse.org/request/show/43454
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=25
2010-07-20 18:49:20 +00:00
OBS User autobuild
6bb23a30c4 Accepting request 42186 from Base:System
checked in (request 42186)

OBS-URL: https://build.opensuse.org/request/show/42186
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=24
2010-06-29 14:43:02 +00:00
OBS User buildservice-autocommit
00e7ac046d Updating link to change in openSUSE:Factory/mdadm revision 43.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=4b089b0165abf84b4cb0140035fcc1bb
2010-06-29 14:43:02 +00:00
Stephan Kulow
4abda5eebc Accepting request 42147 from home:jengelh:smp
Copy from home:jengelh:smp/mdadm via accept of submit request 42147 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42147
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=23
2010-06-28 21:25:10 +00:00
Michal Marek
fa09927701 Accepting request 42185 from home:michal-m:branches:Base:System
Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 42185 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/42185
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=22
2010-06-28 09:44:27 +00:00