From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Helsley Subject: Re: [PATCH] liblxc: lxc-debian expects missing directories Date: Thu, 05 Feb 2009 01:29:34 -0800 Message-ID: <1233826174.28338.30.camel@localhost> References: <1233824717.28338.8.camel@localhost> <498AAF77.20906@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <498AAF77.20906-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 Thu, 2009-02-05 at 10:20 +0100, Daniel Lezcano wrote: > Matt Helsley wrote: > > lxc-debian fails unless the directories a given rootfs needs already > > exist. To fix this without relying on any particular function call order > > we can do: mkdir -p `dirname PATH/TO/FILE` > > before actually making the file. > > > > Signed-off-by: Matt Helsley > > --- > > > Do you have an example on how that happens ? Configure lxc with a non-/ prefix: ./configure --prefix=/usr Cheers, -Matt