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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matt Helsley wrote:
> On Thu, 2009-02-05 at 01:29 -0800, Matt Helsley wrote:
>   
>> 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@xxxxxxxxxx>
>>>> ---
>>>>   
>>>>         
>>> Do you have an example on how that happens ?
>>>       
>> Configure lxc with a non-/ prefix:
>>
>> ./configure --prefix=/usr
>>     
>
> This explanation is wrong, sorry.
>
> The patch isn't necessary -- take a look at the one that handles
> debootstrap interruption/failure. Basically debootstrap would fail
> (apache doesn't exist in lenny I found out) and I'd have to go cleaning
> up lxc-debian directories by hand before I could retry. If I missed
> something one time then then lxc behaved oddly. This got me past some of
> that odd behavior (only to fail later of course).
>   
Ok, I understand why you tried to force the directory creation.
I will not apply this one, the next patch you sent with the partial 
debootstrap will fix this.

Thanks Matt.



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

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux