[Bug 1235231] Re: ci-info: eth0 not reliable in latest saucy images
Scott Moser
smoser at ubuntu.com
Mon Oct 7 13:05:44 UTC 2013
So, some more information..
this bug is "fixed" by doing:
for x in /etc/init/plymouth*; do sudo mv $x $x.disabled; done
after doing so 100% of /dev/console output makes it to the console
(whoohoo!).
that lays this squarely on plymouth.
There is some conversation with slangasek, smoser and utlemming at
http://irclogs.ubuntu.com/2013/10/04/%23ubuntu-devel.html#t18:07 .
Steve thinks its not entirely unreasonable to just disable plymouth via
.override files in cloud-images. I think he would suggest that that be
done at the package level and be handled by cloud-init. That wasn't
clear to me though.
Given the above, this is clearly a plymouth bug, its supposed to replay
output that it captured, but it is losing some.
** Package changed: upstart (Ubuntu) => plymouth (Ubuntu)
** Changed in: plymouth (Ubuntu)
Status: New => Confirmed
** Changed in: plymouth (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1235231
Title:
plymouth loses output to /dev/console (such as ci-info: messages)
Status in “cloud-init” package in Ubuntu:
Confirmed
Status in “plymouth” package in Ubuntu:
Confirmed
Bug description:
During early boot, plymouth captures writes to /dev/console. As I
understand it, it is supposed to re-play that content later. Whether
or not it intends to is not the issue. In our cloud-images (and in
other cases) users may write data to /dev/console that needs to be
seen on the other side (ie a serial logger or 'get-console-ouptput'
api call).
See the attached 'my-logger.conf' for an upstart job that simply
writes data early in boot to /dev/console. Sometimes data "lost" is
available in /var/log/boot.log, but sometimes it doesn't even seem to
make it there.
Related bugs:
* bug 682831: lost console output early in boot
== Original bug report ==
On precise cloud images, I get a console output line like this:
ci-info: eth0 : 1 192.168.122.204 255.255.255.0 52:54:00:7f:d8:ca^M
On saucy cloud images, this is missing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1235231/+subscriptions
More information about the foundations-bugs
mailing list