All of lore.kernel.org
 help / color / mirror / Atom feed
* liblxc: lxc-debian
@ 2008-12-04  2:39 Serge E. Hallyn
       [not found] ` <20081204023936.GA31830-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Serge E. Hallyn @ 2008-12-04  2:39 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: Linux Containers

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-12-09 16:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04  2:39 liblxc: lxc-debian Serge E. Hallyn
     [not found] ` <20081204023936.GA31830-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-05 22:48   ` Daniel Lezcano
     [not found]     ` <4939AFA7.1060903-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-12-06  0:11       ` Serge E. Hallyn
     [not found]         ` <20081206001110.GA32712-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-08 21:44           ` Matt Helsley
2008-12-08 23:43             ` Serge E. Hallyn
     [not found]               ` <20081208234348.GA7935-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-09 10:36                 ` Daniel Lezcano
     [not found]                   ` <493E4A48.5020200-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-12-09 16:32                     ` Serge E. Hallyn
     [not found]                       ` <20081209163209.GE9487-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-12-09 16:43                         ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.