[Devel] Re: [PATCH] liblxc: lxc-debian expects missing directories

Matt Helsley matthltc at us.ibm.com
Thu Feb 5 01:29:34 PST 2009


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 <matthltc at us.ibm.com>
> > ---
> >   
> Do you have an example on how that happens ?

Configure lxc with a non-/ prefix:

./configure --prefix=/usr

Cheers,
	-Matt

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




More information about the Devel mailing list