[lxc-devel] [lxc/lxc] 184072: doc: Update Japanese lxc-autostart(1) for -a and -...

GitHub noreply at github.com
Thu Mar 13 00:37:58 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 184072bc6173c7b72ddbd8d27f58aaf85cfce25c
      https://github.com/lxc/lxc/commit/184072bc6173c7b72ddbd8d27f58aaf85cfce25c
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

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

  Log Message:
  -----------
  doc: Update Japanese lxc-autostart(1) for -a and -g options

update for commit e447a8a706cc786257bc755a25e6441a766b0a4d

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


  Commit: 1e60962348114f9c6cf84b4e46008aa7166c1065
      https://github.com/lxc/lxc/commit/1e60962348114f9c6cf84b4e46008aa7166c1065
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgmanager: avoid stray dbus connections

There are two parts to this fix.

First, create a private DBusConnection manually, instead of using
nih_dbus_connect.  The latter always creates a shared connection,
which cannot be closed.  Note: creating an actual shared connection,
mutexing it among all threads, and creating per-thread proxies would
be an alternative - however we don't want long-lived connections as
they tend not to be reliable (especially if cgmanager restarts).

Second, use pthread_setspecific to create per-thread keys which can
be associated with destructors.  Specify a destructor which closes
the dbus connection.  If a thread dies while holding cgmanager,
the connection will be closed.  Otherwise, we close the connection
and unset the key.

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


  Commit: 616778f13520cb4e8255f55377387dd0cb6bf5fa
      https://github.com/lxc/lxc/commit/616778f13520cb4e8255f55377387dd0cb6bf5fa
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  make failure to connect to cgmanager DEBUG instead of ERROR

You can have both cgmanager and cgfs compiled in, and lxc will fall back
at runtime to cgfs if it cannot connect to cgmanager, so print the failure
to connect as a DEBUG like the code used to do.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 7cdf119b7a158da69bc13c7c6177646d7e8f7fd7
      https://github.com/lxc/lxc/commit/7cdf119b7a158da69bc13c7c6177646d7e8f7fd7
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M src/tests/clonetest.c
    M src/tests/createtest.c
    M src/tests/destroytest.c
    M src/tests/get_item.c
    M src/tests/saveconfig.c
    M src/tests/shutdowntest.c
    M src/tests/startone.c

  Log Message:
  -----------
  lxc: tests: use busybox template rather than ubuntu

to speed up tests where it doesn't matter

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


  Commit: d1ea5ad0afef039f68edab3bd21d6488eb58a49e
      https://github.com/lxc/lxc/commit/d1ea5ad0afef039f68edab3bd21d6488eb58a49e
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-03-12 (Wed, 12 Mar 2014)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c

  Log Message:
  -----------
  support lxc.mount.auto for get_config_item and clear_config_item

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/f2d2fe24e9cb...d1ea5ad0afef


More information about the lxc-devel mailing list