plymouth loses output to /dev/console (such as ci-info: messages)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plymouth |
Invalid
|
Medium
|
|||
plymouth (Ubuntu) |
Fix Released
|
High
|
Unassigned |
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-
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. bug 682831 has an attachment 'myhack-init' that does a similar thing but starts outputting by replacing /sbin/init and then calling /sbin/init itself.
Related bugs:
* bug 682831: lost console output early in boot
* bug 1303815: cloud image boot produces unnecessary output
== 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.
description: | updated |
summary: |
- ci-info: eth0 not reliable in latest saucy images + plymouth loses output to /dev/console (such as ci-info: messages) |
description: | updated |
Changed in plymouth: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in plymouth: | |
status: | Confirmed → Invalid |
Sample console output from precise.