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

Frederic Crozat fcrozat at suse.com
Thu Apr 19 15:09:57 UTC 2012


Le dimanche 04 décembre 2011 à 12:08 +0100, Daniel Lezcano a écrit :
> 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 ?

No, the default behavior was not kept.

I've took some time and modified the patch to:
 - cleanly apply to git (and also modify new templates which were added since initial submission)
 - ensure the default behavior is kept
 - author is still Alexey in the git commit

-- 
Frederic Crozat <fcrozat at suse.com>
SUSE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-change-default-path-for-config-files-to-etc-lxc.patch
Type: text/x-patch
Size: 22345 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120419/22b2dfe5/attachment.bin>


More information about the lxc-devel mailing list