From 0312d98d9f4eb8f9810c1e8fde4d4687004e114b Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 27 Apr 2005 23:24:44 +0000 Subject: [PATCH] - fix mdmonitor initscript (#144717) --- mdadm.spec | 5 ++++- mdmonitor.init | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mdadm.spec b/mdadm.spec index 05ef1d9..e5ec284 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,7 +1,7 @@ Summary: mdadm controls Linux md devices (software RAID arrays) Name: mdadm Version: 1.9.0 -Release: 2.fc4 +Release: 3.fc4 Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz Source1: mdmonitor.init Source2: mdmpd-0.4.tgz @@ -77,6 +77,9 @@ fi %attr(0700,root,root) %dir /var/run/mdadm %changelog +* Wed Apr 27 2005 Jeremy Katz - 1.9.0-3.fc4 +- fix mdmonitor initscript (#144717) + * Mon Mar 21 2005 Doug Ledford 1.9.0-2 - Build mdadm.static and mdassemble (static as well) to be used in initrd images diff --git a/mdmonitor.init b/mdmonitor.init index a40f9a0..23eb21f 100755 --- a/mdmonitor.init +++ b/mdmonitor.init @@ -35,7 +35,7 @@ start () { ulimit -S -c 0 >/dev/null 2>&1 echo -n $"Starting $prog: " - daemon --check mdadm \ + daemon --check mdadm --user=root \ "/bin/bash -c \"mdadm --monitor --scan -f > /var/run/mdadm/mdadm.pid\"" # hack: wait for mdadm to die, assume success if it doesn't die quickly usleep 100000