<div dir="ltr">Hi Alex,<div><br></div><div>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.</div>
<div><br></div><div>Joe</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 12:55 AM, Alex Mestiashvili <span dir="ltr"><<a href="mailto:alex@biotec.tu-dresden.de" target="_blank">alex@biotec.tu-dresden.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div>
On 07/07/2013 01:11 AM, jjs - mainphrame wrote:
</div></div><blockquote type="cite"><div><div>
<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></fieldset>
<br>
</div></div><pre>------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
<a href="http://p.sf.net/sfu/windows-dev2dev" target="_blank">http://p.sf.net/sfu/windows-dev2dev</a></pre>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Lxc-users mailing list
<a href="mailto:Lxc-users@lists.sourceforge.net" target="_blank">Lxc-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">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>
</div>
<br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Windows:<br>
<br>
Build for Windows Store.<br>
<br>
<a href="http://p.sf.net/sfu/windows-dev2dev" target="_blank">http://p.sf.net/sfu/windows-dev2dev</a><br>_______________________________________________<br>
Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net" target="_blank">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br></blockquote></div><br></div></div>