[lxc-devel] [lxc/lxc] 2d22b2: usernsexec: init log fd

GitHub noreply at github.com
Mon Mar 12 16:31:48 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2d22b22dd4840e141916e64c697e0a43c7b93c8c
      https://github.com/lxc/lxc/commit/2d22b22dd4840e141916e64c697e0a43c7b93c8c
  Author: Tycho Andersen <tycho at tycho.ws>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  usernsexec: init log fd

lxc-usernsexec uses some functions (e.g. lxc_map_ids()), which are part of
the lxc library and thus use the WARN etc. macros to emit log messages.
However, it doesn't initialize the log in any way, so these messages go
into the ether.

lxc-usernsexec currently has no log parameters, so let's just log these to
stderr. Someone can do something fancier later if they want.

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


  Commit: e3bc3b864567be3f2979521c8a329b0977134829
      https://github.com/lxc/lxc/commit/e3bc3b864567be3f2979521c8a329b0977134829
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  Merge pull request #2211 from tych0/usernsexec-init-log

usernsexec: init log fd


Compare: https://github.com/lxc/lxc/compare/f392f4edf322...e3bc3b864567


More information about the lxc-devel mailing list