On Mon, Jul 22, 2013 at 10:58:30AM -0500, Serge Hallyn wrote:
> Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> > > May be worth having autoconf figure out the paths for those as they very
> > > well may be moved to /bin.
> > 
> > Yeah, these should be done through autoconf.
> > 
> > Well, or we could use execvp as below.
> > 
> > As for usernsexec, we first need to figure out what program we actually
> > want to use.
> > 
> > Do we want to ship usernsexec.c with lxc, or do we want to push
> > something into coreutils that serves our purpose?
> > 
> > Normally I'd prefer the latter, but coreutils in ubuntu seems to be
> > lagging - and upstream hasn't done a release lately - so I didn't
> > want to deal with it right now.
> 
> I'm going to add a patch to create lxc-usernsexec and use that
> for now, and I'll use execvp instead of hard-coding the paths.
> 
> I'll add an autoconf check for the newuidmap binary, and refuse
> attempts at unprivileged container creation if those are not
> available.
> 
> (And I'll switch to use XDG_RUNTIME_DIR if geteuid() != 0)
> 
> thanks,
> -serge

Perfect, thanks!

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to