[lxc-devel] [lxc/lxc] ee1b16: fix userns helper error handling

GitHub noreply at github.com
Fri Feb 9 13:49:12 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ee1b16bcbd6d570bbfde9d7cefd960cddedbbf6e
      https://github.com/lxc/lxc/commit/ee1b16bcbd6d570bbfde9d7cefd960cddedbbf6e
  Author: Tycho Andersen <tycho at tycho.ws>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  fix userns helper error handling

In both of these cases if there is actually an error, we won't close the
pipe and the api call will hang. Instead, let's be sure to close the pipe
before waiting, so that it doesn't hang.

Signed-off-by: Tycho Andersen <tycho at tycho.ws>


  Commit: 056fec39f7eb92d512b8c42996a37b68592ee2a5
      https://github.com/lxc/lxc/commit/056fec39f7eb92d512b8c42996a37b68592ee2a5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Merge pull request #2149 from tych0/fix-userns-error-handling

fix userns helper error handling


Compare: https://github.com/lxc/lxc/compare/2df70fba94ae...056fec39f7eb


More information about the lxc-devel mailing list