[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Console Login Bug?


  • To: "Xen-api@xxxxxxxxxxxxx" <Xen-api@xxxxxxxxxxxxx>
  • From: James Bulpin <James.Bulpin@xxxxxxxxxxxxx>
  • Date: Tue, 11 Jun 2013 16:26:15 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Tue, 11 Jun 2013 16:26:29 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOZKQ+jifG2VuP8kGJksXd0f9i7pksb5UAgAJsdgCAAGF/8A==
  • Thread-topic: [Xen-API] Console Login Bug?

I wrote:
> Another data point: also happens with vncviewer so must be a server-side
> bug (probably vncterm).

Nope, it's even lower down the stack than that. Same thing on a direct 
connection to the console pty from dom0 (e.g. using "screen /dev/pts/<X>" or xl 
console <domid>"

If I strace agetty in the guest VM while typing "jj@" (which shows a line 
deletion when the @ is pressed) I see:

[root@localhost ~]# ps axfwww | grep agetty
6859 hvc0     Ss+    0:00 /sbin/agetty hvc0 115200 9600 linux
[root@localhost ~]# strace -p 6859
Process 6859 attached - interrupt to quit
read(0, "j", 1)                         = 1
write(1, "j", 1)                        = 1
read(0, "j", 1)                         = 1
write(1, "j", 1)                        = 1
read(0, "@", 1)                         = 1
write(1, "\10 \10", 3)                  = 3
write(1, "\10 \10", 3)                  = 3

so it looks like agetty is interpreting the "@" as being part of an escape 
sequence.

@Graham - doe you guest VMs use agetty?

Cheers,
James


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.