Package: initramfs-tools Version: 0.120 Severity: normal When switching into the real root partition using switch_root/run-init we do not specifically direct the error output, as a result it may not end up visible to the user. Send it with the primary output to the console.
-apw
>From 223559b93fc219987fd8cbe50efdd9e73f220f81 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft <a...@canonical.com> Date: Mon, 25 Jun 2012 11:35:30 +0100 Subject: [PATCH] Add 2>&1 to the run-init line. Signed-off-by: Andy Whitcroft <a...@ubuntu.com> --- init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init b/init index abf7f25..7a8dfce 100755 --- a/init +++ b/init @@ -332,9 +332,9 @@ mount -n -o move /proc ${rootmnt}/proc # Chain to real filesystem if [ -z "$drop_caps" ] && command -v switch_root >/dev/null 2>&1; then - exec switch_root ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console + exec switch_root ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1 elif command -v run-init >/dev/null 2>&1; then - exec run-init ${drop_caps} ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console + exec run-init ${drop_caps} ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1 fi echo "Something went badly wrong in the initramfs." panic "Please file a bug on initramfs-tools." -- 2.5.0