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

Bug#357450: udev: timeout in initramfs-tools/scripts/init-premount/udev to short for 17 scsi disks

On Fri, Mar 17, 2006 at 04:54:53PM +0100, Maurice Massar wrote:
> On Fri, Mar 17, 2006 at 04:34:06PM +0100, maximilian attems wrote:
> > 0.55b should not drop you into the busyboxshell on scsi/usb  boots,
> > as it should handle those longer timeouts of scsi device just fine.
> > the boot you pasted could be possible with 0.53c

this extra sleep-loop is in udev_helper, which only invokes this code
if ${BOOT} is set to "local", but /init does not export ${BOOT}.
Attached patch should fix this problem.

diff -ur initramfs-tools-0.55b.orig/init initramfs-tools-0.55b/init
--- initramfs-tools-0.55b.orig/init	2006-02-27 01:22:16.000000000 +0100
+++ initramfs-tools-0.55b/init	2006-03-17 18:32:37.000000000 +0100
@@ -24,6 +24,9 @@
 # Export it for root hardcoding
 export ROOT=
+# Export boot for udev_help
+export BOOT=
 # Bring in the main config
 . /conf/initramfs.conf
 for i in conf/conf.d/*; do

Reply to: