Bug 910117 - virt-v2v removes serial console from securetty list
Summary: virt-v2v removes serial console from securetty list
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-11 21:11 UTC by kelvin
Modified: 2021-04-19 10:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.