Getty's on serial consoles need to be consistent

Bug #1359590 reported by Mark Shuttleworth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Medium
Unassigned
util-linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

In our cloud images today we launch a getty on ttyS0, as long as it's not in a container. We don't launch a getty on ttyS1-n even if they exist.

In MAAS, which also uses cloud images, it would often be useful to put getty's on the serial port that is mapped to remote serial access, such as IPMI SOL. It is however difficult to know which is the correct getty.

Broadly speaking I think we should have a consistent approach to getty's. That might mean:

 * launch a getty on each ttySn that passes an stty test (as per ttyS0 currently)
 * allow cloud-init to prevent some of those, via vendordata or userdata or default behaviour per-cloud

or

 * launch no getty's on ttyS, but
 * allow cloud-init to create them based on vendordata or userdata or default behaviour per-cloud

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Not sure if this should also be tracked against the cloud image builder.

Scott Moser (smoser)
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
Changed in util-linux (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

One big thing to consider with this is that some clouds (i.e CloudSigma and Joyent) use a serial console as a meta-data channel. In at least one case, activating a getty on the meta-data channel tty will result in the instance being unbootable. For this reason, I think that baking them into the Cloud Images is probably a bad thing.

Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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