Issue with RHEL6.2 processing of data sent via TN3270 terminals

Solution Unverified - Updated -

Issue

  • Any command greater than 65 characters entered on the Linux command line is corrupted when echoed back to the console. Linux does have the valid command as indicated in subsequent output. This was also verified using long valid commands. The same type of console corruption occurs but the commands execute correctly. It seems likely that a 64-byte buffer is being overrun.

  • This can impact people using any tools that utilize the Linux console log such as IBM Operations Manager for z/VM.

  • Linux console: Note: The 72-char dummy command that is echoed back to the console is corrupt:

server1:~ # abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890                                                 
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ123 <pqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234               
                                    567890                                                                                           
If 'abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' is not a typo you can run the following command to loo 
kup the package that contains the binary:                                                                                           
    command-not-found abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890                                       
-bash: abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890: command not found                                   
server1:~ # 

Environment

  • IBM Mainframe System Z

  • Red Hat Enterprise Linux 6 running as a z/VM guest

    z/VM Version 6 Release 2.0, service level 0000 (64-bit)
    Linux server1 3.0.13-0.27-default #1 SMP Wed Jan 01 12:11:49 UTC 2012 (d73692b) s390x s390x s390x GNU/Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content