Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 57d116ab501594c2e50ab45f1cf2fae48c5eab09
      https://github.com/lxc/lxc/commit/57d116ab501594c2e50ab45f1cf2fae48c5eab09
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/lxccontainer.c
    M templates/lxc-ubuntu-cloud.in

  Log Message:
  -----------
  create_run_template: tell the template what caller's uid was mapped to

conf.c/conf.h: have replaced bool hostid_is_mapped() with int mapped_hostid()
   which returns the mapped uid for the caller's uid on the host, or -1 if
   none

create_run_template: pass caller's uid into template.

lxc-ubuntu-cloud:
        1. accept --mapped-uid argument
        2. don't write to devices cgroup - not allowed.
        3. if running in userns, use $HOME/.cache
        4. chown cached files to the uid to which our caller was
           mapped
        5. ignore /dev when extracting rootfs in a userns

Changelog: nov 5: remove debugging INFO line.

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com>


  Commit: 4119204eef01e68c603f0f432b5ce653ea219eea
      https://github.com/lxc/lxc/commit/4119204eef01e68c603f0f432b5ce653ea219eea
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/lxc_user_nic.c

  Log Message:
  -----------
  lxc-user-nic: rename nic inside container to desired name

To do so we do a quick setns into the container's netns.  This
(unexpectedly) turns out cleaner than trying to rename it from
lxc_setup(), because we don't know the original nic name in
the container until we created it which we do in the parent
after the init has been cloned.

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/b9d957c316c3...4119204eef01
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&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