Bug 745718

Summary: Console confusion with two or more clients series
Product: Red Hat Enterprise Linux 6 Reporter: Alex Jia <ajia>
Component: libvirtAssignee: Peter Krempa <pkrempa>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, dyuan, mzhan, pkrempa, rwu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-13 08:00:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alex Jia 2011-10-13 07:50:29 UTC
Description of problem:
Consoles get scrambled and unusable if two clients try to connect
at same time to the console.

Version-Release number of selected component (if applicable):
libvirt-0.9.4-17.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. append 'console=ttyS0,115200' to guest kernel cmdline in grub.conf
2. reboot guest
3. open a terminal and run virsh console $guest
4. open another terminal and run virsh console $guest
6. run other shell command such as 'ls' in the first terminal
  
Actual results:
Output information is incomplete in these 2 terminals.

Expected results:
if a client has opened the console, and the other clients should get a notice rather than continue to allow connect the console, it will let 2 clients confusion, especially, if these 2 clients are a remote users.

Additional info:
Maybe, There are 2 solutions for this issue:
1. Document these stuff in virsh man page or other place such as libvirt.org
2. Get a notice if the console is alive.

Solution 2 should be very nice.

Comment 1 Peter Krempa 2011-10-13 08:00:14 UTC

*** This bug has been marked as a duplicate of bug 729940 ***