Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470704 - app-emulation/libvirt-1.0.5 - LXC containers die on startup
Summary: app-emulation/libvirt-1.0.5 - LXC containers die on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-20 01:17 UTC by Jon Taylor
Modified: 2013-06-04 21:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Taylor 2013-05-20 01:17:59 UTC
Hi,

libvirt is 1.0.5, lxc is 0.8.1-r1.  Arch is amd64.

I am attempting to start a simple test container with the following XML:

<domain type='lxc'>
<name>helloworld</name>
<memory>102400</memory>
<os>
<type>exe</type>
<init>/bin/sh</init>
</os>
<devices>
<console type='pty'/>
</devices>
</domain>

This worked on libvirt 1.0.3, but after anmasking and upgrading to 1.0.5, I get this:
error: Failed to start domain helloworld
error: internal error guest failed to start: 2013-05-19 18:04:34.592+0000: 20872: info : libvirt version: 1.0.5
2013-05-19 18:04:34.592+0000: 20872: error : virLXCControllerSetupConsoles:1303 : Failed to allocate tty: Bad address
Failed to allocate tty: Bad address
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-06-04 21:43:38 UTC
This should be fixed in 1.0.5.1 or newer.