I'm trying to start a RHEL 6.1 container on an RHEL 6.1 host through libvirt 
0.9.3.  I've removed most of the startup services from the guest container, 
except the network and sshd.  I can get the system to boot to a login prompt 
and can access the console through virsh; however, as soon as I authenticate, I 
get the following error message:

Cannot make/remove an entry for the specified session
init: tty (/dev/tty1) main process (372) terminated with status 1
init: tty (/dev/tty1) main process ended, respawning

After this, I'm again left at the login prompt.  I'm also unable to establish 
an ssh session, which I assume is related to the issue I'm having with the 
virsh console.  Can anyone offer any suggestions as to what's going on here?  
I'm using the following XML for my domain creation:

<domain type='lxc'>
  <name>RHEL6</name>
  <memory>512000</memory>
  <os>
    <type>exe</type>
    <init>/sbin/init</init>
  </os>
  <vcpu>1</vcpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/libvirt_lxc</emulator>
    <filesystem type='mount'>
      <source dir='/media'/>
      <target dir='/'/>
    </filesystem>
    <interface type='network'>
      <source network='default'/>
    </interface>
    <console type='pty' />
  </devices>
</domain>

Any thoughts?

best,
JP

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to