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

Greg Kurz gkurz at fr.ibm.com
Tue Sep 27 16:12:29 UTC 2011


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 <daniel.lezcano at free.fr>:
> > > 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.

-- 
Gregory Kurz                                     gkurz at fr.ibm.com
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.





More information about the lxc-devel mailing list