[lxc-devel] [lxc/lxc] c154af: Export LXC_TARGET env variable in stop hook

GitHub noreply at github.com
Thu Dec 3 06:15:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c154af98c17b3584ccafb88b10c8f861eed91093
      https://github.com/lxc/lxc/commit/c154af98c17b3584ccafb88b10c8f861eed91093
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/start.c

  Log Message:
  -----------
  Export LXC_TARGET env variable in stop hook

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: d16ccca80f1e3416d353e82c2e02a833add054ba
      https://github.com/lxc/lxc/commit/d16ccca80f1e3416d353e82c2e02a833add054ba
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  log: use the right size for timestamp formatting

v2: get rid of extra debug crap

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: a8dfe4e08da61a454afca3c94e94a88fb310ebba
      https://github.com/lxc/lxc/commit/a8dfe4e08da61a454afca3c94e94a88fb310ebba
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M doc/lxc.container.conf.sgml.in
    M src/lxc/conf.h
    M src/lxc/confile.c
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Added lxc.monitor.unshare

If manual mounting with elevated permissions is required
this can currently only be done in pre-start hooks or before
starting LXC. In both cases the mounts would appear in the
host's namespace.
With this flag the namespace is unshared before the startup
sequence, so that mounts performed in the pre-start hook
don't show up on the host.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 6039eaa23692f417457a2af3c6fc7ce01d78b5c2
      https://github.com/lxc/lxc/commit/6039eaa23692f417457a2af3c6fc7ce01d78b5c2
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M doc/lxc.container.conf.sgml.in

  Log Message:
  -----------
  doc: lxc.monitor.unshare requires CAP_SYS_ADMIN

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: f2e206ff4770fd2e7d642481c873dffafb4627d8
      https://github.com/lxc/lxc/commit/f2e206ff4770fd2e7d642481c873dffafb4627d8
  Author: fli <fupan.li at windriver.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  lxc: let lxc-start support wlan phys

The commit: e5848d395cb <netdev_move_by_index: support wlan> only
made netdev_move_by_name support wlan, instead of netdev_move_by_index.

Given netdev_move_by_name is a wrapper of netdev_move_by_index, so here
replacing all of the call to lxc_netdev_move_by_index with lxc_netdev_move_by_name
to let lxc-start support wlan phys.

Signed-off-by: fupan li <fupan.li at windriver.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: b035f7920938e52716cdbdd3cff369f734f028cf
      https://github.com/lxc/lxc/commit/b035f7920938e52716cdbdd3cff369f734f028cf
  Author: Sungbae Yoo <sungbae.yoo at samsung.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M configure.ac
    M doc/ko/Makefile.am
    A doc/ko/lxc-copy.sgml.in

  Log Message:
  -----------
  doc: Add Korean manpage for lxc-copy

Update for commit 2b47bac

Signed-off-by: Sungbae Yoo <sungbae.yoo at samsung.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 480c876b201e1296f94b53735eba786ba5879a6e
      https://github.com/lxc/lxc/commit/480c876b201e1296f94b53735eba786ba5879a6e
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M src/lxc/lsm/apparmor.c

  Log Message:
  -----------
  apparmor: support lxc.aa_profile = unchanged

In which case lxc will not update the apparmor profile at all.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 7635139aa801f3dbe9d9b8091085fe9dce45ec15
      https://github.com/lxc/lxc/commit/7635139aa801f3dbe9d9b8091085fe9dce45ec15
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-12-03 (Thu, 03 Dec 2015)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: support 32-bit arm on arm64, and 32-bit ppc on ppc64

Generally we enforce that a [arch] seccomp section can only be used on [arch].
However, on amd64 we allow [i386] sections for i386 containers, and there we
also take [all] sections and apply them for both 32- and 64-bit.

Do that also for ppc64 and arm64.  This allows seccomp-protected armhf
containers to run on arm64.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/114387972a27...7635139aa801


More information about the lxc-devel mailing list