summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 17:10:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 17:50:47 +0000
commit2a13418ad62fe7818efe684415d63dbd240aeff3 (patch)
treed2dab0a3438fb912c26b25f8fcadea5cadd3a9b7
parentRefreshing fix-manpages.patch. (diff)
downloadmdadm-2a13418ad62fe7818efe684415d63dbd240aeff3.tar.xz
mdadm-2a13418ad62fe7818efe684415d63dbd240aeff3.zip
Refreshing mdmonitor-service-simplify.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0002-mdmonitor-service-simplify.patch17
-rw-r--r--debian/patches/mdmonitor-service-simplify.diff20
-rw-r--r--debian/patches/series2
3 files changed, 18 insertions, 21 deletions
diff --git a/debian/patches/debian/0002-mdmonitor-service-simplify.patch b/debian/patches/debian/0002-mdmonitor-service-simplify.patch
new file mode 100644
index 0000000..a8163d9
--- /dev/null
+++ b/debian/patches/debian/0002-mdmonitor-service-simplify.patch
@@ -0,0 +1,17 @@
+Author: Michael Tokarev <mjt@tls.msk.ru>
+Description: Simplify mdmonitor.service (Closes: #764647).
+ There isn't much for customization for mdadm --monitor.
+ it'll just do what it's supposed to do, so just run it.
+
+diff -Naurp mdadm.orig/systemd/mdmonitor.service mdadm/systemd/mdmonitor.service
+--- mdadm.orig/systemd/mdmonitor.service
++++ mdadm/systemd/mdmonitor.service
+@@ -11,7 +11,4 @@ DefaultDependencies=no
+ Documentation=man:mdadm(8)
+
+ [Service]
+-Environment= MDADM_MONITOR_ARGS=--scan
+-EnvironmentFile=-/run/sysconfig/mdadm
+-ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
+-ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
++ExecStart=BINDIR/mdadm --monitor --scan
diff --git a/debian/patches/mdmonitor-service-simplify.diff b/debian/patches/mdmonitor-service-simplify.diff
deleted file mode 100644
index 70ddea2..0000000
--- a/debian/patches/mdmonitor-service-simplify.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-Subject: simplify mdmonitor.service
-From: Michael Tokarev <mjt@tls.msk.ru>
-Date: Fri, 14 Nov 2014 19:18:05 +0300
-Bug-Debian: http://bugs.debian.org/764647
-Forwarded: no
-
-There isn't much for customization for mdadm --monitor.
-it'll just do what it's supposed to do, so just run it.
-
---- a/systemd/mdmonitor.service
-+++ b/systemd/mdmonitor.service
-@@ -11,7 +11,4 @@ DefaultDependencies=no
- Documentation=man:mdadm(8)
-
- [Service]
--Environment= MDADM_MONITOR_ARGS=--scan
--EnvironmentFile=-/run/sysconfig/mdadm
--ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
--ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
-+ExecStart=BINDIR/mdadm --monitor --scan
diff --git a/debian/patches/series b/debian/patches/series
index 634f37d..28e7c57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,5 @@
debian/0001-fix-manpages.patch
-mdmonitor-service-simplify.diff
+debian/0002-mdmonitor-service-simplify.patch
host-name-in-default-mailfrom.patch
exit-gracefully-when-md-device-not-found.patch
sha1-includes.diff