From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Helsley Subject: Re: [PATCH] liblxc: Update lxc-debian to use the lenny release Date: Mon, 09 Feb 2009 12:58:38 -0800 Message-ID: <1234213118.29561.17.camel@localhost> References: <1233825739.28338.22.camel@localhost> <1233826353.28338.35.camel@localhost> <49906491.8050200@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49906491.8050200-GANU6spQydw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Daniel Lezcano Cc: Containers List-Id: containers.vger.kernel.org On Mon, 2009-02-09 at 18:14 +0100, Daniel Lezcano wrote: > Matt Helsley wrote: > > With the release of lenny nearing this patch may soon be useful. > > > > Signed-off-by: Matt Helsley > > --- > > scripts/lxc-debian.in | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > Index: lxc/scripts/lxc-debian.in > > =================================================================== > > --- lxc.orig/scripts/lxc-debian.in > > +++ lxc/scripts/lxc-debian.in > > @@ -222,8 +222,8 @@ create() { > > # download a mini debian into a cache > > echo "Downloading debian minimal ..." > > debootstrap --verbose --variant=minbase --arch=$ARCH \ > > - --include apache,netbase,net-tools,iproute,openssh-server \ > > - etch $CACHE/partial-$ARCH http://ftp.debian.org/debian > > + --include apache2,netbase,net-tools,iproute,openssh-server \ > > + lenny $CACHE/partial-$ARCH http://ftp.debian.org/debian > > > > RESULT=$? > > if [ "$RESULT" != "0" ]; then > > > Applied, thanks Matt. > > ps : I added the ifupdown missing package because ifup/ifdown are no > longer in the initscripts package. Hasn't debian switched to Network Manager too? Seems like there should be a way to interact with it via scripts without forcing the use of ifup/ifdown. I was somewhat suprised to find debootstrap is incredibly easy to install by hand on non-debian systems. Even better, there's a package in fedora. So I've been playing with lxc-debian on fedora 9 and 10. However I've had problems "Configuring" the opennssh-server package. Removing that package allows lxc-debian to create the rootfs. I haven't found an underlying reason yet :/ -- have you run into this problem? Cheers, -Matt