[lxc-devel] [lxc/lxc] 8d4b87: usernsexec: don't fail if we can't open pty

GitHub noreply at github.com
Mon Jan 13 15:02:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8d4b877a3fe342702a8ebde1655c173020442ada
      https://github.com/lxc/lxc/commit/8d4b877a3fe342702a8ebde1655c173020442ada
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

  Changed paths:
    M src/lxc/lxc_usernsexec.c

  Log Message:
  -----------
  usernsexec: don't fail if we can't open pty

It's nice if we can do it, but not required.  Exiting on this
failure causes lxc-create started by root as a less-privileged
userid to fail.

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


  Commit: d08363afbb40a7a8f579fe1ce60e40ffeaee5959
      https://github.com/lxc/lxc/commit/d08363afbb40a7a8f579fe1ce60e40ffeaee5959
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-13 (Mon, 13 Jan 2014)

  Changed paths:
    M src/tests/Makefile.am
    A src/tests/lxc-test-unpriv
    M src/tests/lxc-test-usernic

  Log Message:
  -----------
  introduce lxc-unpriv test

It simply creates a test user and tries to create and start
a container as that user.  Tries to lxc-attach to that
container to test network connectivity.

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/df2d4205073d...d08363afbb40


More information about the lxc-devel mailing list