Re: [lxc-devel] making lxcpath a real path?

2013-12-04 Thread Serge Hallyn
Exporting the LXCPATH itself to hook scripts seems good. I don't see the value in having multiple LXCPATHs in the hook scripts. As for allowing ':'-separated paths in LXCPATH, it shouldn't interfere with anything we have now, so if someone wants to work on the patch I'll look at it, but really I

[lxc-devel] making lxcpath a real path?

2013-12-03 Thread Harald Dunkel
Hi folks, do you think it would be possible to make the path set by -P/--lxcpath or in the config file a _real_ path, e.g. lxc-ls -P /data1/lxc:/data2/lxc --fancy ? This could help to support HA scenarios based on DRBD or a network file system, for example. If one LXC server dies, then

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Michael H. Warfield
On Tue, 2013-12-03 at 12:49 +0100, Harald Dunkel wrote: Hi folks, do you think it would be possible to make the path set by -P/--lxcpath or in the config file a _real_ path, e.g. lxc-ls -P /data1/lxc:/data2/lxc --fancy ? You had me confused for a brief moment, referring to this as

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Stéphane Graber
On Tue, Dec 03, 2013 at 10:00:02AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 12:49 +0100, Harald Dunkel wrote: Hi folks, do you think it would be possible to make the path set by -P/--lxcpath or in the config file a _real_ path, e.g. lxc-ls -P /data1/lxc:/data2/lxc

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Michael H. Warfield
On Tue, 2013-12-03 at 10:20 -0500, Stéphane Graber wrote: On Tue, Dec 03, 2013 at 10:00:02AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 12:49 +0100, Harald Dunkel wrote: Hi folks, do you think it would be possible to make the path set by -P/--lxcpath or in the config

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Stéphane Graber
On Tue, Dec 03, 2013 at 10:57:44AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 10:20 -0500, Stéphane Graber wrote: On Tue, Dec 03, 2013 at 10:00:02AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 12:49 +0100, Harald Dunkel wrote: Hi folks, do you think it

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Mike, Of course I understand that the lxc container search path might lead to confusion in case of ambiguous container names. However, similar problems exist for $PATH and $LD_LIBRARY_PATH and others. How about first match wins? If lxcpath is a

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Michael H. Warfield
On Tue, 2013-12-03 at 11:04 -0500, Stéphane Graber wrote: On Tue, Dec 03, 2013 at 10:57:44AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 10:20 -0500, Stéphane Graber wrote: On Tue, Dec 03, 2013 at 10:00:02AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 12:49