https://bugzilla.novell.com/show_bug.cgi?id=707855
https://bugzilla.novell.com/show_bug.cgi?id=707855#c5
Neil Brown changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO
CC| |mmarek@suse.com
InfoProvider| |bruno@ioda-net.ch
--- Comment #5 from Neil Brown 2011-09-21 07:27:03 UTC ---
Curiouser and curiouser.
My initrd (Tumbleweed) has /bin/grep.
It seems that /bin/grep is installed on the initrd by
/lib/mkinitrd/scripts/setup-network.sh
if and only if
/etc/udev/rules.d/77-network.rules
exists.
However the sysconfig package which provides this file has recently
moved it to
/lib/udev/rules.d/77-network.rules
so we aren't getting /bin/grep any more.
I'll fix mdadm with the following patch so that mdadm explicitly asks for
/bin/grep.
Also Cc:ing Michal Marek - mkinitrd maintainer - incase he want to address this
incongruity in setup-network.sh
Bruno: could you please apply this patch by hand to
/lib/mkinitrd/scripts/boot-md.sh
and run mkinitrd and confirm that it fixes the problem.
Thanks.
Index: mkinitrd-boot.sh
===================================================================
--- mkinitrd-boot.sh (revision 1d789c91bcc5f253fb185d54aceaffd1)
+++ mkinitrd-boot.sh (working copy)
@@ -1,6 +1,7 @@
#!/bin/bash
#%stage: softraid
-#%programs: /sbin/mdadm /sbin/mdmon
+# grep needed for udev rules file.
+#%programs: /sbin/mdadm /sbin/mdmon /bin/grep
#%modules: raid0 raid1 raid10 raid456
#%if: -n "$need_mdadm"
#
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.