[lxc-devel] [PATCH] lxc-oracle: export upstart environment variable for maygetty

Serge Hallyn serge.hallyn at ubuntu.com
Fri May 16 13:55:57 UTC 2014


Quoting Dwight Engen (dwight.engen at oracle.com):
> On Fri, 16 May 2014 13:45:52 +0000
> Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> 
> > Quoting Dwight Engen (dwight.engen at oracle.com):
> > > This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf.
> > > Sorry, not sure how I missed this in testing the original patch.
> > > 
> > > Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
> > 
> > In the general case I assume this will work, but if I happen
> > to do a 'stop console; start console' then $container will be
> > empty right?  Any reason not to just do
> > 
> > env container=lxc
> > 
> > ?
> 
> Hmm, yeah I hadn't considered that case. But I don't think we can just
> do container=lxc because won't that override the container=libvirt-lxc
> case this is meant to handle in the first place?

Ah, yeah.  Well what you have won't work as is, so until we come up
with a better way (I bet Stéphane knows a perfect way :)

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>



More information about the lxc-devel mailing list