init: static ${rootmnt} at the end

Bug #24266 reported by Juanje Ojeda on 2005-10-19
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Scott James Remnant (Canonical)

Bug Description

I guess it wasn't intentional to leave '/root/dev/console' instead of
'${rootmnt}/dev/console', was it?
Usually people doesn't change this var, but if they do, then it could crash or
I put here my patch:
--- init 2005-09-30 21:24:10.000000000 +0100
+++ init.mine 2005-10-19 15:06:08.278285176 +0100
@@ -108,4 +109,5 @@

 # Chain to real filesystem
-exec run-init ${rootmnt} ${init} "$@" </root/dev/console >/root/dev/console
+exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console

Thanks again for your work, it's lovely ;-)

Jeff Bailey (jbailey) wrote :

Another good patch from Juanje. Thanks! =)

Jeff Bailey

*cough* while I was in there, I fixed this

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.