conf: Put a getty on hvc0

Bug #372864 reported by Soren Hansen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

kvm and Xen both provide a special virtio console on /dev/hvc0. I'd like
to put a getty on it.

Simply copying one of the existing tty? jobs causes a respawning getty
on systems that don't have hvc0.

Does upstart have a way to trigger on presence of device nodes or udev
events or something already? If not, could we add a udev rule to call
"initctl emit virtio-console" or something and do "start on
virtio-console" in the hvc0 job description?

 affects ubuntu/upstart

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

No, Upstart has no mechanism to do this currently

Revision history for this message
Soren Hansen (soren) wrote :

Would the "initctl emit" trickery be acceptable? Or do you have better suggestions?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 372864] Re: Put a getty on hvc0

On Tue, 2009-06-09 at 11:05 +0000, Soren Hansen wrote:

> Would the "initctl emit" trickery be acceptable? Or do you have better
> suggestions?
>
Don't worry about it for now.

Scott
--
Scott James Remnant
<email address hidden>

summary: - Put a getty on hvc0
+ event.d: Put a getty on hvc0
Changed in upstart (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
summary: - event.d: Put a getty on hvc0
+ conf: Put a getty on hvc0
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Note that in Karmic you can do:

  start on (tty-device-added KERNEL=hvc0
            and runlevel [23])

Changed in upstart (Ubuntu):
status: Triaged → Fix Released
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.