1. 30 Jan, 2017 2 commits
  2. 29 Jan, 2017 2 commits
  3. 27 Jan, 2017 2 commits
  4. 26 Jan, 2017 2 commits
    • Merge pull request #1392 from cjwatson/start-ephemeral-python32 · 42dc0de4
      Stéphane Graber authored
      Make lxc-start-ephemeral Python 3.2-compatible
    • Make lxc-start-ephemeral Python 3.2-compatible · e0e34b7e
      Colin Watson authored
      On Ubuntu 12.04 LTS with Python 3.2, `lxc-start-ephemeral` breaks as
      follows:
      
          Traceback (most recent call last):
            File "/usr/bin/lxc-start-ephemeral", line 371, in attach_as_user
            File "/usr/lib/python3.2/subprocess.py", line 515, in check_output
            File "/usr/lib/python3.2/subprocess.py", line 732, in __init__
          LookupError: unknown encoding: ANSI_X3.4-1968
      
      This is because `universal_newlines=True` causes `subprocess` to use
      `io.TextIOWrapper`, and in versions of Python earlier than 3.3 that
      fetched the preferred encoding using `locale.getpreferredencoding()`
      rather than `locale.getpreferredencoding(False)`, thereby changing the
      locale and causing codecs to be reloaded.  However, `attach_as_user`
      runs inside the container and thus can't rely on having access to the
      same Python standard library on disk.
      
      The workaround is to decode by hand instead, avoiding the temporary
      change of locale.
      Signed-off-by: 's avatarColin Watson <cjwatson@ubuntu.com>
  5. 21 Jan, 2017 2 commits
  6. 12 Jan, 2017 2 commits
  7. 11 Jan, 2017 2 commits
  8. 07 Jan, 2017 5 commits
  9. 04 Jan, 2017 6 commits
  10. 03 Jan, 2017 2 commits
  11. 29 Dec, 2016 1 commit
  12. 28 Dec, 2016 1 commit
  13. 19 Dec, 2016 1 commit
  14. 18 Dec, 2016 1 commit
    • Add --enable-gnutls option · c8601571
      Fabrice Fontaine authored
      Previously HAVE_LIBGNUTLS was never set in config.h even if gnutls was
      detected as AC_CHECK_LIB default action-if-found was overriden by
      enable_gnutls=yes
      This patch adds an --enable-gnutls option and will call AC_CHECK_LIB
      with the default action to write HAVE_LIBGNUTLS in config.h
      Signed-off-by: 's avatarFabrice Fontaine <fabrice.fontaine@orange.com>
  15. 16 Dec, 2016 1 commit
  16. 15 Dec, 2016 5 commits
  17. 13 Dec, 2016 1 commit
    • confile: support the network link string pattern matching · 576400e5
      fli authored
      Enable lxc network config support the following type and link:
      
      lxc.network.type = phys
      lxc.network.link = eth+
      
      Here, the suffix '+' will trigger a string pattern matching
      and when lxc find any network interfaces name prefixed with
      "eth" such as "eth0", "eth1", "ethxxxx" and so on, it will
      try to move them into the container's namespace; If it didn't
      find any matching, it would do nothing for this configure
      line.
      Signed-off-by: 's avatarfli <fupan.li@windriver.com>
  18. 12 Dec, 2016 2 commits