[lxc-devel] [lxc/lxc] f53c6c: conf: fix suggest_default_idmap()

GitHub noreply at github.com
Thu Jan 5 01:02:57 UTC 2017


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: f53c6ce7afe1833731a4d47e0d796c8dac7ac4c5
      https://github.com/lxc/lxc/commit/f53c6ce7afe1833731a4d47e0d796c8dac7ac4c5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-01-04 (Wed, 04 Jan 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: fix suggest_default_idmap()

We need to remove the newline otherwise lxc_safe_uint() will fail as it detects
an invalid (non-numeric) char in the string.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 03bd7f728ed8605210c93fec739c612972484e8c
      https://github.com/lxc/lxc/commit/03bd7f728ed8605210c93fec739c612972484e8c
  Author: Po-Hsu Lin <po-hsu.lin at canonical.com>
  Date:   2017-01-04 (Wed, 04 Jan 2017)

  Changed paths:
    M src/python-lxc/examples/api_test.py

  Log Message:
  -----------
  python3-lxc: fix api_test.py on s390x

The api_test.py script uses Trusty release by default, which does not
have s390x image. Switch to Xenial to solve this.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>


  Commit: bfc42ff8c63894834cd73db245459904ef6b94b5
      https://github.com/lxc/lxc/commit/bfc42ff8c63894834cd73db245459904ef6b94b5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-01-04 (Wed, 04 Jan 2017)

  Changed paths:
    M src/lxc/console.c
    M src/lxc/criu.c
    M src/lxc/log.c
    M src/lxc/lxccontainer.c
    M src/lxc/tools/lxc_attach.c
    M src/lxc/utils.c

  Log Message:
  -----------
  tree-wide: Sic semper assertis!

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 9d1d5bcad28d88bc25cb8e4dc54d044485ccfd41
      https://github.com/lxc/lxc/commit/9d1d5bcad28d88bc25cb8e4dc54d044485ccfd41
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-01-04 (Wed, 04 Jan 2017)

  Changed paths:
    M src/lxc/tools/lxc_attach.c
    M src/lxc/tools/lxc_copy.c
    M src/lxc/tools/lxc_create.c
    M src/lxc/tools/lxc_snapshot.c
    M src/lxc/tools/lxc_start.c

  Log Message:
  -----------
  tools: only check for O_RDONLY

On some Android systems the lxc folders where containers are stored might be
read-only and so checking for O_RDWR, will effectively make the tools useless
on these systems, so let's dumb the check down to O_RDONLY.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/569c5fe10365...9d1d5bcad28d


More information about the lxc-devel mailing list