[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369748: marked as done (please use mdadm, not mdrun)



Your message dated Sun, 1 Oct 2006 20:04:49 +0200
with message-id <200610012004.51032.elendil@planet.nl>
and subject line Bug:#369748 please use mdadm, not mdrun
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mdcfg
Version: 1.14
Severity: wishlist
Tags: patch

Please stop using mdrun and use mdadm instead. mdrun will be removed
in a future release. The following (untested) patch should work. You
can use either of mdadm 2.4.1-2/unstable or 2.5-1/experimental for
testing.

Index: packages/mdcfg/mdcfg.sh
===================================================================
--- packages/mdcfg/mdcfg.sh (revision 37707)
+++ packages/mdcfg/mdcfg.sh (working copy)
@@ -484,7 +484,8 @@
 mkdir -p /dev/md
 
 # Try to detect MD devices, and start them
-mdrun
+mdadm --examine --scan --config=partitions > /tmp/mdadm.conf
+mdadm --assemble --scan --config=/tmp/mdadm.conf --auto=yes
 
 # Make sure that we have md-support
 if [ ! -e /proc/mdstat ]; then
Index: packages/rescue/debian/rescue-mode.postinst
===================================================================
--- packages/rescue/debian/rescue-mode.postinst (revision 37707)
+++ packages/rescue/debian/rescue-mode.postinst (working copy)
@@ -28,7 +28,8 @@
 try_load_module raid0
 try_load_module raid1
 try_load_module raid5
-log-output -t rescue mdrun || true
+mdadm --examine --scan --config=partitions > /tmp/mdadm.conf || true
+log-output -t rescue mdadm --assemble --scan --config=/tmp/mdadm.conf --auto=yes || true
 
 # LVM support
 try_load_module dm-mod
Index: packages/rootskel/src/lib/debian-installer-startup.d/S02udev-fixup
===================================================================
--- packages/rootskel/src/lib/debian-installer-startup.d/S02udev-fixup  (revision 37707)
+++ packages/rootskel/src/lib/debian-installer-startup.d/S02udev-fixup  (working copy)
@@ -1,6 +1,8 @@
 # This is S02udev-fixup because udev-udeb already installs S02udev.
 if type udevd >/dev/null 2>&1; then
  # needed to make some programs (e.g. mdrun) behave correctly
+ # this used to say mdrun, but mdrun has been deprecated. do we still
+ # need it?
  mkdir -p /.dev
  mount -o bind /dev /.dev
 fi
Index: packages/partman/partman-md/init.d/md
===================================================================
--- packages/partman/partman-md/init.d/md (revision 37707)
+++ packages/partman/partman-md/init.d/md (working copy)
@@ -10,7 +10,8 @@
 #modprobe raid1 1>/dev/null 2>&1
 #
 ## Detect and start MD devices
-#/sbin/mdrun
+#/sbin/mdadm --examine --scan --config=partitions > /tmp/mdadm.conf
+#/sbin/mdadm --assemble --scan --config=/tmp/mdadm.conf --auto=yes
 
 # Mark all RAID partitions as being MD
 for dev in /var/lib/partman/devices/*; do

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


--- End Message ---
--- Begin Message ---
Version: 1.17

Was fixed with the upload of mdcfg version 1.17.

--- End Message ---

Reply to: