[lxc-devel] [lxc/lxc] 3ca2ba: Add SIGPWR support to lxc_init

GitHub noreply at github.com
Thu Jul 31 17:33:46 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 3ca2ba5225f9de6e4670558a73ba301785e7b805
      https://github.com/lxc/lxc/commit/3ca2ba5225f9de6e4670558a73ba301785e7b805
  Author: Nikolay Martynov <mar.kolya at gmail.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M src/lxc/lxc_init.c

  Log Message:
  -----------
  Add SIGPWR support to lxc_init

This patch adds SIGPWR support to lxc_init.
This helps to properly shutdown lxc_init based containers.

Signed-off-by: Nikolay Martynov <mar.kolya at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 8a6669e0c80fa9732207b3bdbcc0d2eb951ccf41
      https://github.com/lxc/lxc/commit/8a6669e0c80fa9732207b3bdbcc0d2eb951ccf41
  Author: Ansa89 <ansalonistefano at gmail.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M config/init/sysvinit/lxc.in

  Log Message:
  -----------
  Sysvinit script fixes

Signed-off-by: Stefano Ansaloni <ansalonistefano at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: f5eaf8d1a825257e12b9484f6350755c4de9554b
      https://github.com/lxc/lxc/commit/f5eaf8d1a825257e12b9484f6350755c4de9554b
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M src/lxc/lxc_user_nic.c

  Log Message:
  -----------
  unprivileged containers: use next available nic name if unspecified

Rather than always using eth0.  Otherwise unpriv containers cannot have
multiple lxc.network.type = veth's without manually setting
lxc.network.name =.

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


  Commit: 49dfe33bdd3d04f6fd7cee0f7a6df5d67377994c
      https://github.com/lxc/lxc/commit/49dfe33bdd3d04f6fd7cee0f7a6df5d67377994c
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M src/lxc/bdev.c

  Log Message:
  -----------
  fix typo in btrfs error msg

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


  Commit: 45627ef10488fae57c0564910b04e47a370fb4b8
      https://github.com/lxc/lxc/commit/45627ef10488fae57c0564910b04e47a370fb4b8
  Author: Trần Ngọc Quân <vnwildman at gmail.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  add help string for ubuntu templete

Signed-off-by: Trần Ngọc Quân <vnwildman at gmail.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 2ac9010b005b128bd1ac832e8611c04d5277bf1c
      https://github.com/lxc/lxc/commit/2ac9010b005b128bd1ac832e8611c04d5277bf1c
  Author: Martin Pitt <martin.pitt at ubuntu.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M config/apparmor/abstractions/start-container

  Log Message:
  -----------
  apparmor: Allow slave bind mounts

Without this, if the system uses shared subtrees by default (like systemd), you
get a large stream of

  lxc-start: Permission denied - Failed to make /<mountpoint> rslave
  lxc-start: Continuing...

with

  apparmor="DENIED" operation="mount" info="failed flags match" error=-13
  profile="/usr/bin/lxc-start" name="/" pid=17284 comm="lxc-start" flags="rw, slave"

and eventual failure plus a lot of leftover mounts in the host.

https://launchpad.net/bugs/1325468


Compare: https://github.com/lxc/lxc/compare/d21bbd907077...2ac9010b005b


More information about the lxc-devel mailing list