[Lxc-users] Unable to create lxc CT on fedora 19

jjs - mainphrame jake at mainphrame.com
Mon Jul 8 15:49:57 UTC 2013


Hi Alex,

Oddly, The referenced files don't even exist after the failed creation
attempts. The usual logs don't say anything about the failed lxc create
attempts. I tried putting selinux into permissive mode as a shot in the
dark, but no joy.

Joe


On Mon, Jul 8, 2013 at 12:55 AM, Alex Mestiashvili <
alex at biotec.tu-dresden.de> wrote:

>  On 07/07/2013 01:11 AM, jjs - mainphrame wrote:
>
>  All,
>
>  Noob question here. I've been testing lxc on ubunbtu 13.04 and
> everything just works. However, all my attempts to create an lxc CT on
> fedora 19 have failed.
>
>  The result is the same when attempting to create debian, ubuntu or
> fedora containers. What am I missing here?
>
>  --- output follows ---
>
>  [root at max ~]# lxc-create -n debian1 -t debian
> /usr/share/lxc/templates/lxc-debian is /usr/share/lxc/templates/lxc-debian
> debootstrap is /sbin/debootstrap
>  Checking cache download in /var/cache/lxc/debian/rootfs-squeeze-amd64
> ...
>  Downloading debian minimal ...
> I: Retrieving Release
> W: Cannot check Release signature; keyring file not available
> /usr/share/keyrings/debian-archive-keyring.gpg
> I: Retrieving Packages
>  I: Validating Packages
> I: Resolving dependencies of required packages...
> I: Resolving dependencies of base packages...
> I: Found additional required dependencies: insserv libbz2-1.0 libdb4.8
> libslang2
>
>  ...  <snipped> ...
>
>  I: Extracting mount...
> I: Extracting util-linux...
> I: Extracting liblzma2...
> I: Extracting xz-utils...
> I: Extracting zlib1g...
> W: Failure trying to run: chroot
> /var/cache/lxc/debian/partial-squeeze-amd64 mount -t proc proc /proc
> W: See
> /var/cache/lxc/debian/partial-squeeze-amd64/debootstrap/debootstrap.log for
> details
> Failed to download the rootfs, aborting.
> Failed to download 'debian base'
> failed to install debian
> lxc-create: failed to execute template 'debian'
> lxc-create: aborted
> [root at max ~]#
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
> http://p.sf.net/sfu/windows-dev2dev
>
>
>
> _______________________________________________
> Lxc-users mailing listLxc-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
> I am not an expert in fedora/centos, but maybe there is a hint in dmesg
> output ?
> like apparmor or something similar preventing from running chroot ?
>
> and what is in
> /var/cache/lxc/debian/partial-squeeze-amd64/debootstrap/debootstrap.log ,
> just last lines ?
>
> Regards,
> Alex
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130708/7a2174d3/attachment.html>


More information about the lxc-users mailing list