[lxc-users] using LXC opensrc

Serge Hallyn serge.hallyn at ubuntu.com
Fri May 9 13:38:55 UTC 2014


Quoting Rama Srinivas (ramasrinivas at gmail.com):
> Hi ,
> 
> How to use this library.  As per Readme , builiding the library and tools
> is OK.  But How to build tests ?

You need to add --enable-tests to the configure flags for tests to build.

> Also in the "lxccontainer.c" file , "lxcapi_create" is exiting with error
> because forked child exited causing goto "out_unlock" .  Why the code is
> like that to exit the child as soon it is done with bdev_create ?

That only happens if the template exited with failure.


More information about the lxc-users mailing list