Bug 910117

Summary: virt-v2v removes serial console from securetty list
Product: [Community] Virtualization Tools Reporter: kelvin
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rjones
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-17 00:10:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kelvin 2013-02-11 21:11:18 UTC
Description of problem:

ttyS0 not preserved as a securetty in a v2v conversion of a Xen vm.

Version-Release number of selected component (if applicable):
# virt-v2v --version
0.8.7


Steps to Reproduce:
On Xen server
1. lvcreate -L 5G -n c5-remote <VolumeGroup>
2. virt-install --bridge=br0 --nographics --paravirt --file=/dev/<VolumeGroup>/c5-remote --location=http://<localmirror>/distros/centos/5/os/x86_64 --os-type=linux --os-variant=rhel5.4 --name=c5-remote --ram=512 --vcpus=1
3. shutdown

On kvm server:
4. virt-v2v -ic xen+ssh://root@<xen_server> -op vm_pool --bridge br0 c5-remote
5. virsh start c5-remote --console
6. login as root

expected result: successful login
actual result: failed login.
  
I compared the filesystems of both the pre- and post-converted vm, and found that xvc0 was stripped from /etc/securetty and ttyS0 was not inserted in its place.

Comment 1 Red Hat Bugzilla 2025-10-17 00:10:03 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 2 Alasdair Kergon 2025-10-17 12:52:13 UTC
Reopening because Virtualization Tools has not been discontinued.