[lxc-devel] [PATCH] change default path for config files to /etc/lxc

Daniel Lezcano daniel.lezcano at free.fr
Sun Dec 4 11:08:06 UTC 2011


On 11/30/2011 01:07 PM, Alexey Shabalin wrote:
> 2011/10/13 Alexey Shabalin :
>> 2011/9/27 Greg Kurz :
>>> On Tue, 2011-09-27 at 14:10 +0200, Frederic Crozat wrote:
>>>> Le vendredi 26 août 2011 à 16:00 +0400, Alexey Shabalin a écrit :
>>>>> 2011/8/26 Daniel Lezcano :
>>>>>> On 08/23/2011 03:56 PM, Alexey Shabalin wrote:
>>>>>>> Hello.
>>>>>>> I think the directory /etc better suited for storing configuration files.
>>>>>>> This patch allows you to specify the location configs as options for
>>>>>>> ./configure.
>>>>>> Is this patch to store the configuraton files in /etc/lxc and the rootfs
>>>>>> in /var/lib/lxc ?
>>>>> yes.
>>>>> this patch add new option --with-container-path (default /var/lib/lxc)
>>>>> and change option --with-config-path (default /etc/lxc).
>>>>> If you want to use configs in /var/lib/lxc, you can use
>>>>> --with-config-path=/var/lib/lxc.
>>>> Any status on this patch ?
>>>>
>>> I don't have any opinion on this patch, but it's likely to conflict
>>> with:
>>>
>>> http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
>>>
>>> I guess it should be rebased and resent.
>>>
>>> Cheers.
>> Update patch.
> What about this patch?
> What about move configs to /etc?
I have to respin it on top of git HEAD.

Just one question: is the default behavior kept ?

Thanks
  -- Daniel




More information about the lxc-devel mailing list