]> git.ipfire.org Git - thirdparty/lxc.git/commit
usernsexec: init log fd
authorTycho Andersen <tycho@tycho.ws>
Mon, 12 Mar 2018 15:39:37 +0000 (09:39 -0600)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 20:43:48 +0000 (22:43 +0200)
commit27abc1fea3db65c11bb1bd26612a544082f289c2
treeafb403ba16618ce81ed5d2ee142c0cb0e26caff9
parent2f642144221a0f16a9591dff3d952e5cda28c813
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@tycho.ws>
src/lxc/tools/lxc_usernsexec.c