Bug#594418: Confirming that adding `mkdir -p /lib/init/rw' fixes the problem

Alexander Kurtz kurtz.alex at googlemail.com
Wed Aug 25 23:02:15 UTC 2010


Am Donnerstag, den 26.08.2010, 07:57 +1000 schrieb Neil Brown:
> I'm fairly sure this is a known bug which is fixed in 3.1.3 which has just
> been released in Debian (I think).
Unfortunately that has not happened yet[1].

> If you repeat your experiment with init=/bin/sh, and
>    mkdir -p /lib/init/rw
> before starting udev, I think you will find that it works better.
Yes this actually fixes the problem. I am using this as a workaround now
until 3.1.3 is available in Debian:

$ diff -u /usr/share/initramfs-tools/scripts/local-top/mdadm /etc/initramfs-tools/scripts/local-top/mdadm 
--- /usr/share/initramfs-tools/scripts/local-top/mdadm	2010-08-14 17:34:00.000000000 +0200
+++ /etc/initramfs-tools/scripts/local-top/mdadm	2010-08-26 00:41:11.307448188 +0200
@@ -1,4 +1,5 @@
 #!/bin/sh
+mkdir -p /lib/init/rw
 #
 # Copyright © 2006-2008 Martin F. Krafft <madduck at debian.org>
 # based on the scripts in the initramfs-tools package.

Thank you very much for your help!

Alexander Kurtz

[1] http://packages.debian.org/search?keywords=mdadm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20100826/e6cc0bc8/attachment.pgp>


More information about the pkg-mdadm-devel mailing list