Laszlo Marai | 5 Dec 16:08

Bug#507889: mdadm: initramfs-tools script is broken, system with root on RAID won't boot

Package: mdadm
Version: 2.6.2-2
Severity: critical
Tags: patch
Justification: breaks the whole system

The /usr/share/initramfs-tools/scripts/local-top/mdadm script is broken and
thus an initrd regeneration will render the whole system unbootable. The
problem is with line 65: 
mkdir --parent /dev/md 
as the (busybox version of) mkdir
included on the initrd.img does only handle short options (-p and -m). The
fix is simple, just replace the offending line with:
mkdir -p /dev/md

  Laszlo / atleta

-- Package-specific info:
--- mount output
/dev/md0 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/md1 on /var/scratch type ext3 (rw,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
(Continue reading)

Bug#507889: marked as done (mdadm: initramfs-tools script is broken, system with root on RAID won't boot)


Your message dated Thu, 25 Dec 2008 12:10:02 +0100
with message-id <20081225111002.GB29100 <at> stro.at>
and subject line Re: mdadm: initramfs-tools script is broken, system with root on RAID won't boot
has caused the Debian Bug report #507889,
regarding mdadm: initramfs-tools script is broken, system with root on RAID won't boot
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner <at> bugs.debian.org
immediately.)

--

-- 
507889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507889
Debian Bug Tracking System
Contact owner <at> bugs.debian.org with problems
From: Laszlo Marai <debian-bugs <at> atleta.hu>
Subject: mdadm: initramfs-tools script is broken, system with root on RAID won't boot
Date: 2008-12-05 15:12:24 GMT
(Continue reading)


Gmane