1. 06 Feb, 2017 2 commits
  2. 02 Feb, 2017 7 commits
  3. 30 Jan, 2017 2 commits
  4. 29 Jan, 2017 3 commits
  5. 28 Jan, 2017 1 commit
  6. 27 Jan, 2017 2 commits
  7. 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>
  8. 21 Jan, 2017 2 commits
  9. 12 Jan, 2017 2 commits
  10. 11 Jan, 2017 2 commits
  11. 07 Jan, 2017 5 commits
  12. 04 Jan, 2017 6 commits
  13. 03 Jan, 2017 2 commits
  14. 29 Dec, 2016 1 commit
  15. 28 Dec, 2016 1 commit