[pkg-lxc-devel] Bug#784044: lxc: fails to create container from shipped template

Evgeni Golov evgeni at debian.org
Sun May 1 11:44:15 UTC 2016


Control: found -1 1:2.0.0-3

Hi,

On Sat, May 02, 2015 at 06:19:49PM +0530, Ritesh Raj Sarraf wrote:
> When trying to create an opensuse container, lxc failed to create one.
> LXC does have opensuse amongst the available templates.
> 
> 
> rrs at learner:/var/tmp/$ sudo lxc-create -n opensuse -t opensuse
> Checking cache download in /var/cache/lxc/opensuse/rootfs-x86_64 ... 
> Could not create openSUSE template :
> you need to install "build" package
> Failed to download 'opensuse base'
> failed to install opensuse
> lxc_container: container creation template for opensuse failed
> lxc_container: Error creating container opensuse
> 
> 
> A quick search for the 'build' binary resulted in nothing in Debian.
> Please provide the correct error message (or preferably add it to
> Recommends: ).

The message is tailored for openSUSE itself, where the build binary is in the build package.
Debian ships the build binary as "obs-build" in pkg:obs-build.

However, I was not able to create an openSUSE container even after fiddling around with the names in the template.

Lets see if the above helps the next brave person :)

Greets
Evgeni



More information about the Pkg-lxc-devel mailing list