[Devel] liblxc: lxc-debian

Serge E. Hallyn serue at us.ibm.com
Wed Dec 3 18:39:36 PST 2008


Hi Daniel,

to create a debian-based container using lxc-debian on fedora 10,
I needed to just a couple of things:

	1. iptables -F   :)  Grrr.

	2. Right above the debootstrap command, I had to fool
	   chage (used during openssh configuration) into thinking
	   selinux was disabled.  So after the line:
	   mkdir -p "$CACHE/rootfs-$ARCH"
	   I added
	   mkdir -p "$CACHE/rootfs-$ARCH/selinux"
	   echo 0 > "$CACHE/rootfs-$ARCH/selinux/enforce"

	3. For the actual debootstrap command I had to do
	   debootstrap --arch $ARCH etc $CACHE/rootfs-$ARCH
	   Then apt-get install openssh-server and apache
	   worked fine.  But your debootstrap command failed
	   (the last time i tried) on chroot - no idea why.

Now it seems to work.  This shouldn't have taken me 2 hours to
figure out, but the symptoms were deceptive :)

thanks,
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list