forked from pool/mdadm
702c57405a
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
29 lines
940 B
Diff
29 lines
940 B
Diff
From 67ee238316785481a8ad440e531cae6c4dce36a4 Mon Sep 17 00:00:00 2001
|
|
From: NeilBrown <neilb@suse.de>
|
|
Date: Tue, 21 Jan 2014 09:46:07 +1100
|
|
Subject: [PATCH 12/13] systemd/mdmon: set IMSM_NO_PLATFORM=1
|
|
|
|
As mdmon doesn't inherit environment from mdadm when it is started
|
|
by system, it cannot inherit IMSM_NO_PLATFORM.
|
|
But if an imsm array as assembled then mdmon really should handle it
|
|
whether there is a platform present or not.
|
|
So always set this var.
|
|
|
|
Signed-off-by: NeilBrown <neilb@suse.de>
|
|
---
|
|
systemd/mdmon@.service | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- mdadm-3.3.orig/systemd/mdmon@.service
|
|
+++ mdadm-3.3/systemd/mdmon@.service
|
|
@@ -11,6 +11,9 @@ DefaultDependencies=no
|
|
Before=initrd-switch-root.target
|
|
|
|
[Service]
|
|
+# mdmon should never complain due to lack of a platform,
|
|
+# that is mdadm's job if at all.
|
|
+Environment=IMSM_NO_PLATFORM=1
|
|
ExecStart=/sbin/mdmon --foreground %I
|
|
StandardInput=null
|
|
StandardOutput=null
|