[lxc-devel] [lxc/lxc] 99cbd2: lxc-archlinux.in: Add pacman keyring initializatio...

GitHub noreply at github.com
Fri Jun 27 17:09:05 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 99cbd2996bd5cebf1869c2f7637f6c9fc2004849
      https://github.com/lxc/lxc/commit/99cbd2996bd5cebf1869c2f7637f6c9fc2004849
  Author: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

  Changed paths:
    M templates/lxc-archlinux.in

  Log Message:
  -----------
  lxc-archlinux.in: Add pacman keyring initialization back

Shuffle around usage text a bit and add missing -d while there.

Signed-off-by: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 23cc88bae05f790dcdfa9f511bbb60b2225692be
      https://github.com/lxc/lxc/commit/23cc88bae05f790dcdfa9f511bbb60b2225692be
  Author: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

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

  Log Message:
  -----------
  lxc-archlinux.in: update securetty when lxc.devttydir is set

Update container's /etc/securetty to allow console logins when lxc.devttydir is not empty.
Also use config entries provided by shared and common configuration files.

Signed-off-by: Alexander Vladimirov <alexander.idkfa.vladimirov at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: d4ff9645594cc3a132d2633314732f6e510f6b1f
      https://github.com/lxc/lxc/commit/d4ff9645594cc3a132d2633314732f6e510f6b1f
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-27 (Fri, 27 Jun 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgmanager: have cgm_set and cgm_get use absolute path when possible

This allows users to get/set cgroup settings when logged into a different
session than that from which they started the container.

There is no cgmanager command to do an _abs variant of cgmanager_get_value
and cgmanager_set_value.  So we fork off a new task, which enters the
parent cgroup of the started container, then can get/set the value from
there.  The reason not to go straight into the container's cgroup is that
if we are freezing the container, or the container is already frozen, we'll
freeze as well :)  The reason to fork off a new task is that if we are
in a cgroup which is set to remove-on-empty, we may not be able to return
to our original cgroup after making the change.

This should fix https://github.com/lxc/lxc/issues/246

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/0d7cf7e9da5f...d4ff9645594c


More information about the lxc-devel mailing list