5 Dec 16:08
Bug#507889: mdadm: initramfs-tools script is broken, system with root on RAID won't boot
From: Laszlo Marai <debian-bugs <at> atleta.hu>
Subject: Bug#507889: mdadm: initramfs-tools script is broken, system with root on RAID won't boot
Newsgroups: gmane.linux.debian.devel.bugs.rc
Date: 2008-12-05 15:12:24 GMT
Subject: Bug#507889: mdadm: initramfs-tools script is broken, system with root on RAID won't boot
Newsgroups: gmane.linux.debian.devel.bugs.rc
Date: 2008-12-05 15:12:24 GMT
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)
RSS Feed