[lxc-devel] [lxc/lxc] 807b8d: set the monitor process title to something useful

GitHub noreply at github.com
Mon Mar 16 17:41:05 UTC 2015


  Branch: refs/heads/stable-1.1
  Home:   https://github.com/lxc/lxc
  Commit: 807b8d68b64fa6194c45b0516651bd60d488138f
      https://github.com/lxc/lxc/commit/807b8d68b64fa6194c45b0516651bd60d488138f
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  set the monitor process title to something useful

Instead of having a parent process that's called whatever the caller of the
library is called, we instead set it to "[lxc monitor] <lxcpath> <container>"

Closes #180

v2: check for null in tok for loop, only truncate environment when necessary

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


  Commit: 69095f58c6f53b13cf49815f4a43d18f6f3f9caa
      https://github.com/lxc/lxc/commit/69095f58c6f53b13cf49815f4a43d18f6f3f9caa
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  define some macros to fix the build

Not all kernels have these macros; they'll just give an EINVAL if/when invoked.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 75a8cfbf054117811932ac02caaf4b13044939fc
      https://github.com/lxc/lxc/commit/75a8cfbf054117811932ac02caaf4b13044939fc
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Also define PR_SET_MM (fixes Android)

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 397a1b4bf553c8642b04cbb9e0176572afd26010
      https://github.com/lxc/lxc/commit/397a1b4bf553c8642b04cbb9e0176572afd26010
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  getproctitle - check for null after last strchr

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 8df268000a31f242dcdc7978b84dff9bff2ab143
      https://github.com/lxc/lxc/commit/8df268000a31f242dcdc7978b84dff9bff2ab143
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M config/templates/plamo.common.conf.in
    M templates/lxc-plamo.in

  Log Message:
  -----------
  plamo: Change how to create objects under /dev in the container

lxc-plamo stop:
* creating objects under /dev when creating the container
* removing /dev population process from original rc script

now populate /dev at container boot time, and allow to enable
lxc.autodev=1

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 279428ea0ea1522f0b95e55b7ac78e31642de59b
      https://github.com/lxc/lxc/commit/279428ea0ea1522f0b95e55b7ac78e31642de59b
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Process command line is null terminated

It turns out the process command line is in fact null terminated on the stack;
this caused a bug where when the new process title was smaller than the old
one, the first environment entry would be rendered as part of the process
title.

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


  Commit: b1bfcca9d23cbec789135bd64fec5de626b55466
      https://github.com/lxc/lxc/commit/b1bfcca9d23cbec789135bd64fec5de626b55466
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  proc:mixed make /proc/sys/net writable

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


  Commit: 7efe6f67cc9b6d5bad960bac6d146d954bcfa316
      https://github.com/lxc/lxc/commit/7efe6f67cc9b6d5bad960bac6d146d954bcfa316
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  In lxc.mount.auto, skip on ENONENT

This resolves the case where /proc/sysrq-trigger doesn't exist by simply
ignoring any mount failure on ENOENT. With the current mount list, this
will always result in a safe environment (typically the read-only
underlay).

Closes #425

v2: Don't always show an error

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


  Commit: d665d89a5633d1ad59668f0bea8ef3c67279f523
      https://github.com/lxc/lxc/commit/d665d89a5633d1ad59668f0bea8ef3c67279f523
  Author: brauner <christianvanbrauner at gmail.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M config/templates/common.conf.in
    M config/templates/debian.common.conf.in
    M config/templates/gentoo.common.conf.in
    M config/templates/openwrt.common.conf.in
    M config/templates/plamo.common.conf.in
    M config/templates/ubuntu.common.conf.in

  Log Message:
  -----------
  config: Allow all containers to use fuse

This enables containers to mount fuse filesystems per default. The mount
is designed to be safe. Hence, it can be enabled per default in
common.conf. It will lead to a cleaner boot for some unprivileged
systemd-based containers.

Signed-off-by: Christian Brauner <christianvanbrauner at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: d64a45ae86dde212fb98e1f0e53e8af4d643123e
      https://github.com/lxc/lxc/commit/d64a45ae86dde212fb98e1f0e53e8af4d643123e
  Author: Дмитрий Пацура <zaets28rus at gmail.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M CONTRIBUTING

  Log Message:
  -----------
  Update CONTRIBUTING

Signed-off-by: Dmitry Patsura <talk at dmtry.me>


  Commit: 35035bfe8024fbca56f222f996ecf620e53dab1d
      https://github.com/lxc/lxc/commit/35035bfe8024fbca56f222f996ecf620e53dab1d
  Author: tukiyo <tukiyo3 at gmail.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M templates/lxc-centos.in

  Log Message:
  -----------
  no such option: --releasever on CentOS5's yum

Signed-off-by: tukiyo3 <tukiyo3 at gmail.com>


  Commit: cd530a146a65fedcd8d10e9d8e199d6a900b3466
      https://github.com/lxc/lxc/commit/cd530a146a65fedcd8d10e9d8e199d6a900b3466
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M doc/ja/lxc-snapshot.sgml.in
    M doc/lxc-snapshot.sgml.in

  Log Message:
  -----------
  doc: Update lxc-snapshot(1) for moving snapshot directory

At the commit 18aa217, the snapshot dir was moved to /var/lib/lxc/c/snaps.

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: edb573d5fb514d449e18652454deaa53bd6a7ebb
      https://github.com/lxc/lxc/commit/edb573d5fb514d449e18652454deaa53bd6a7ebb
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M doc/ja/lxc-clone.sgml.in
    M doc/lxc-clone.sgml.in

  Log Message:
  -----------
  doc: Add about zfs, aufs, overlayfs to '-s' option of lxc-clone(1)

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: d9b834741b3e1937a53f780fbfeeee9e25ff2776
      https://github.com/lxc/lxc/commit/d9b834741b3e1937a53f780fbfeeee9e25ff2776
  Author: Johannes Henninger <johannes at henninger.io>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: use _exit() instead of exit() in the intermediate child process

This prevents on_exit() and atexit() handlers registered by the parent
process from being run in the forked intermediate process.

Signed-off-by: Johannes Henninger <johannes at henninger.io>


  Commit: f7cf9dec15321c18eea0ddd184c1f2da36bfdc9f
      https://github.com/lxc/lxc/commit/f7cf9dec15321c18eea0ddd184c1f2da36bfdc9f
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Update Travis configuration

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 58e6399a20a4faf83a7e32ad00fb572573cce98e
      https://github.com/lxc/lxc/commit/58e6399a20a4faf83a7e32ad00fb572573cce98e
  Author: lxc at zitta.fr <lxc at zitta.fr>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M templates/lxc-gentoo.in

  Log Message:
  -----------
  gentoo container building fails during wget.

follow new gentoo's download server configuration.
Should be backported in earlier lxc versions.

Signed-off-by: Guillaume ZITTA <lxc at zitta.fr>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 6b9a014a6e430dadb3422b6951a4af376ce6410d
      https://github.com/lxc/lxc/commit/6b9a014a6e430dadb3422b6951a4af376ce6410d
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/bdev.c

  Log Message:
  -----------
  Use rdepends when non-thinpool LVM container is cloned

When a non-thinpool LVM container which have snapshotted clone is
destroyed, the LV of snapshotted clone was also deleted. This patch
prevent it.

The original non-thinpool LVM container of snapshotted clone cannot be
now destroyed.

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


  Commit: 1764f192f04d7606f9ba59a6055738d85b9decf8
      https://github.com/lxc/lxc/commit/1764f192f04d7606f9ba59a6055738d85b9decf8
  Author: Bostjan Skufca <bostjan at a2o.si>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/lxc_top.c

  Log Message:
  -----------
  lxc-top: limit container name to 18 characters

Signed-off-by: Bostjan Skufca <bostjan at a2o.si>


  Commit: faf093148d54c183a494010e24617eb09bf29ee4
      https://github.com/lxc/lxc/commit/faf093148d54c183a494010e24617eb09bf29ee4
  Author: Stuart Cardall <developer at it-offshore.co.uk>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M templates/lxc-download.in

  Log Message:
  -----------
  fix lxc-console on centos / oracle unprivileged containers

Signed-off-by: Stuart Cardall <developer at it-offshore.co.uk>


  Commit: f0a8b4b08b33d44dede8ef27333c72c1ac816600
      https://github.com/lxc/lxc/commit/f0a8b4b08b33d44dede8ef27333c72c1ac816600
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M config/init/common/lxc-net.in
    M src/lxc/lxc-restore-net

  Log Message:
  -----------
  Prefer iproute over ifconfig

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


  Commit: f7249672c9bc8a2fb7450eb4dcc4e71e0cf5d628
      https://github.com/lxc/lxc/commit/f7249672c9bc8a2fb7450eb4dcc4e71e0cf5d628
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  Fix get_config_item for sys:mixed

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


  Commit: 49b8b13d1d61dbffd2c4bb19c03b8a746e11d902
      https://github.com/lxc/lxc/commit/49b8b13d1d61dbffd2c4bb19c03b8a746e11d902
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  Attempt to fix control tty issues on attach

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


  Commit: bdd4f714b98f82e348e0d2ce3cbf7d4612956783
      https://github.com/lxc/lxc/commit/bdd4f714b98f82e348e0d2ce3cbf7d4612956783
  Author: Erik Mackdanz <erikmack at gmail.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M templates/lxc-gentoo.in

  Log Message:
  -----------
  Fix the --auth-key flag in gentoo template

Fix a typo in the getopt call,  should be auth-key not auth_key.
Also provide the argument to cat, so the script doesn't hang waiting
on stdin.

Closes #379

Signed-off-by: Erik Mackdanz <erikmack at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 9ee1d6d59e4bd4f47d4b01808f04b80fb4562f29
      https://github.com/lxc/lxc/commit/9ee1d6d59e4bd4f47d4b01808f04b80fb4562f29
  Author: Bogdan Purcareata <bogdan.purcareata at freescale.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: add ppc support

This patch enables seccomp support for LXC containers running on PowerPC
architectures. It is based on the latest PowerPC support added to libseccomp, on
the working-ppc64 branch [1].

Libseccomp has been tested on ppc, ppc64 and ppc64le architectures. LXC with
seccomp support has been tested on ppc and ppc64 architectures, using the
default seccomp policy example files delivered with the LXC package.

[1] https://github.com/seccomp/libseccomp/commits/working-ppc64

v2:
- add #ifdefs in get_new_ctx to fix builds on systems not having SCMP_ARCH_PPC*
  defined

Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: e3e44ebb2e20d6796c3f5af5c21773ba4823b9e2
      https://github.com/lxc/lxc/commit/e3e44ebb2e20d6796c3f5af5c21773ba4823b9e2
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M doc/ja/lxc-create.sgml.in
    M doc/lxc-create.sgml.in

  Log Message:
  -----------
  doc: Add options of 'loop' backingstore to lxc-create(1)

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/807b8d68b64f^...e3e44ebb2e20


More information about the lxc-devel mailing list