<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 07/07/2013 01:11 AM, jjs - mainphrame wrote:
<blockquote
cite="mid:CABkzw7xQrF0QhTxyFt6okQBrhOwqS3X-9aQHdkh1R6gfaO92Xw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>All,</div>
<div><br>
</div>
<div>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. </div>
<div>
<br>
</div>
<div>The result is the same when attempting to create debian,
ubuntu or fedora containers. What am I missing here?</div>
<div><br>
</div>
<div>--- output follows ---</div>
<div><br>
</div>
<div>
<div>[root@max ~]# lxc-create -n debian1 -t debian</div>
<div>/usr/share/lxc/templates/lxc-debian is
/usr/share/lxc/templates/lxc-debian</div>
<div>debootstrap is /sbin/debootstrap<br>
</div>
<div>Checking cache download in
/var/cache/lxc/debian/rootfs-squeeze-amd64 ... </div>
<div>
Downloading debian minimal ...</div>
<div>I: Retrieving Release</div>
<div>W: Cannot check Release signature; keyring file not
available /usr/share/keyrings/debian-archive-keyring.gpg</div>
<div>I: Retrieving Packages</div>
<div>
I: Validating Packages</div>
<div>I: Resolving dependencies of required packages...</div>
<div>I: Resolving dependencies of base packages...</div>
<div>I: Found additional required dependencies: insserv
libbz2-1.0 libdb4.8 libslang2</div>
<div><br>
</div>
<div>... <snipped> ...</div>
<div><br>
</div>
I: Extracting mount...</div>
<div>I: Extracting util-linux...</div>
<div>I: Extracting liblzma2...</div>
<div>I: Extracting xz-utils...</div>
<div>I: Extracting zlib1g...</div>
<div>W: Failure trying to run: chroot
/var/cache/lxc/debian/partial-squeeze-amd64 mount -t proc proc
/proc</div>
<div>W: See
/var/cache/lxc/debian/partial-squeeze-amd64/debootstrap/debootstrap.log
for details</div>
<div>Failed to download the rootfs, aborting.</div>
<div>Failed to download 'debian base'</div>
<div>failed to install debian</div>
<div>lxc-create: failed to execute template 'debian'</div>
<div>lxc-create: aborted</div>
<div>[root@max ~]# </div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/windows-dev2dev">http://p.sf.net/sfu/windows-dev2dev</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</a>
</pre>
</blockquote>
<br>
I am not an expert in fedora/centos, but maybe there is a hint in
dmesg output ?<br>
like apparmor or something similar preventing from running chroot ?
<br>
<br>
and what is in
/var/cache/lxc/debian/partial-squeeze-amd64/debootstrap/debootstrap.log
, <br>
just last lines ? <br>
<br>
Regards, <br>
Alex<br>
</body>
</html>