[lxc-devel] [lxc/lxc] 7b50c6: Fix to work lxc-start with unprivileged containers...

GitHub noreply at github.com
Mon Jun 30 16:25:20 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 7b50c609e43e981d5bd4cebe8a59b3ab17f199f6
      https://github.com/lxc/lxc/commit/7b50c609e43e981d5bd4cebe8a59b3ab17f199f6
  Author: TAMUKI Shoichi <tamuki at linet.gr.jp>
  Date:   2014-06-30 (Mon, 30 Jun 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Fix to work lxc-start with unprivileged containers on recent kernel

Change chown_mapped_root() to map in both the root uid and gid, not
just the uid, so as to work lxc-start with unprivileged containers on
recent kernel.

Signed-off-by: TAMUKI Shoichi <tamuki at linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 8b227008f67c68caaa334876c523bff830f3c44d
      https://github.com/lxc/lxc/commit/8b227008f67c68caaa334876c523bff830f3c44d
  Author: TAMUKI Shoichi <tamuki at linet.gr.jp>
  Date:   2014-06-30 (Mon, 30 Jun 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Fix to work lxc-destroy with unprivileged containers on recent kernel

Change idmap_add_id() to add both ID_TYPE_UID and ID_TYPE_GID entries
to an existing lxc_conf, not just an ID_TYPE_UID entry, so as to work
lxc-destroy with unprivileged containers on recent kernel.

Signed-off-by: TAMUKI Shoichi <tamuki at linet.gr.jp>
Acked-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/3fdd0ca89ecc...8b227008f67c


More information about the lxc-devel mailing list