Bug#440238: live-initramfs: mountroot messages
Package: live-initramfs
Followup-For: Bug #440238
This is not wishlist, this is a bug. The mountrroot hides error messages
from critical part of boot process that is most likely to fail.
The patch to fix this is trivial:
--- usr/share/initramfs-tools/scripts/live~ 2007-11-18 17:21:41.000000000 +0100
+++ usr/share/initramfs-tools/scripts/live 2007-12-19 12:22:57.000000000 +0100
@@ -1220,6 +1220,8 @@
exec 7>&2
exec > live.log
exec 2>&1
+ tail -f live.log >&7 &
+ tailpid=$!
Arguments
@@ -1297,5 +1299,6 @@
exec 1>&6 6>&-
exec 2>&7 7>&-
+ kill $tailpid
cp live.log "${rootmnt}/var/log/"
}
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.3-src (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: