[Bug 1016695] Re: add console=tty0 to cloud-image kernel boot parameters

Scott Moser smoser at ubuntu.com
Fri Jun 22 19:29:13 UTC 2012


The kernel actually does a good job of handling multiple 'console='
items.  It then writes the same data to each of them (if they're valid
devices).

However, when init (upstart) takes over, it only writes to /dev/console.
So whatever the /dev/console means to the kernel is the only place that
output from upstart or it subprocesses will go.

I think the kernel picks the last of the 'console=' items on the command
line to tie to /dev/console.  It may take the last *valid* entry, i'm
not sure.

So, when upstart starts, and then starts running jobs (such as cloud-
init) their output goes to /dev/console, and not to the other 'console='
places specified on the command line.

What all that means, is that I think we can fairly harmlessly add
additional 'console=' lines to the command line, and have kernel
messages go there.  However, upstart messages will *not* go to those
places.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1016695

Title:
  add console=tty0 to cloud-image kernel boot parameters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1016695/+subscriptions



More information about the Ubuntu-server-bugs mailing list