r22 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sat Jul 22 13:19:42 UTC 2006
Author: madduck
Date: 2006-07-22 13:19:41 +0000 (Sat, 22 Jul 2006)
New Revision: 22
Modified:
mdadm/trunk/debian/changelog
mdadm/trunk/debian/mdadm-raid
Log:
* Catching modprobe error in case of absence of the kernel modules, or
a non-modular kernel. Thanks to Holger Levsen.
Modified: mdadm/trunk/debian/changelog
===================================================================
--- mdadm/trunk/debian/changelog 2006-07-22 13:19:21 UTC (rev 21)
+++ mdadm/trunk/debian/changelog 2006-07-22 13:19:41 UTC (rev 22)
@@ -1,8 +1,10 @@
mdadm (2.5.2-8) unstable; urgency=low
* Re-added rootraiddoc.97.html which was mysteriously lost (closes: #378678).
+ * Catching modprobe error in case of absence of the kernel modules, or
+ a non-modular kernel. Thanks to Holger Levsen.
- -- martin f. krafft <madduck at debian.org> Sat, 22 Jul 2006 14:16:56 +0100
+ -- martin f. krafft <madduck at debian.org> Sat, 22 Jul 2006 14:19:35 +0100
mdadm (2.5.2-7) unstable; urgency=low
Modified: mdadm/trunk/debian/mdadm-raid
===================================================================
--- mdadm/trunk/debian/mdadm-raid 2006-07-22 13:19:21 UTC (rev 21)
+++ mdadm/trunk/debian/mdadm-raid 2006-07-22 13:19:41 UTC (rev 22)
@@ -69,8 +69,8 @@
PREFIX="Assembling RAID array"
if is_true $AUTOSTART; then
- if [ ! -f /proc/mdstat ] && [ -x $(command -v modprobe) ] ; then
- modprobe -k md >/dev/null 2>&1
+ if [ ! -f /proc/mdstat ] && [ -x "$(command -v modprobe)" ] ; then
+ modprobe -kq md 2>/dev/null || :
fi
if [ ! -f /proc/mdstat ]; then
log_problem "failed to load RAID subsystem"
More information about the pkg-mdadm-commits
mailing list