[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:34:16 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Tue, 11 Jun 2013 16:34:28 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOZKQ+jifG2VuP8kGJksXd0f9i7pksb5UAgAJsdgCAAGF/8IABewpw
  • Thread-topic: [Xen-API] Console Login Bug?

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

Which is probably should anway in get_logname. But the login bash shell does 
the same too:

6859 ?        Ss     0:00 login -- root
32052 hvc0     Ss+    0:00  \_ -bash
[root@localhost ~]# strace -p 32052
Process 32052 attached - interrupt to quit
read(0, "d", 1)                         = 1
write(2, "d", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "d", 1)                         = 1
write(2, "d", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "d", 1)                         = 1
write(2, "d", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "d", 1)                         = 1
write(2, "d", 1)                        = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(0, "@", 1)                         = 1
write(2, "\10\10\10\10\33[K", 7)        = 7
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0 


_______________________________________________
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®.