Michael Tokarev: /etc/init.d/mdadm: change RUNDIR to /run instead of /var/ run
Michael Tokarev
mjt at alioth.debian.org
Sun Oct 28 20:40:20 UTC 2012
Module: mdadm
Branch: master
Commit: 018a3bd3e6564ca2c8bdf62ad7e7bfc6c69c173f
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=018a3bd3e6564ca2c8bdf62ad7e7bfc6c69c173f
Author: Michael Tokarev <mjt at tls.msk.ru>
Date: Sun Oct 28 20:49:46 2012 +0400
/etc/init.d/mdadm: change RUNDIR to /run instead of /var/run
---
debian/changelog | 5 +++++
debian/mdadm.init | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9a8339d..35ae868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,11 @@
mdadm (3.2.5-4) UNRELEASED; urgency=low
* fix `/etc/init.d/mdadm-raid status' inverse logic (Closes: #686100)
+ * /etc/init.d/mdadm: change RUNDIR to /run instead of /var/run.
+ Mdadm itself uses /run internally, we properly depend on initscripts
+ version which creates /run, and the initscript itself is started
+ after local_fs is processed, so this is merely a no-op, but let's
+ do it for consistency.
-- Michael Tokarev <mjt at tls.msk.ru> Sat, 20 Oct 2012 19:20:12 +0400
diff --git a/debian/mdadm.init b/debian/mdadm.init
index b2309b4..64e6d72 100644
--- a/debian/mdadm.init
+++ b/debian/mdadm.init
@@ -22,7 +22,7 @@
set -eu
MDADM=/sbin/mdadm
-RUNDIR=/var/run/mdadm
+RUNDIR=/run/mdadm
PIDFILE=$RUNDIR/monitor.pid
DEBIANCONFIG=/etc/default/mdadm
More information about the pkg-mdadm-commits
mailing list