[lxc-devel] [lxc/lxc] c5b93a: start: dup std{in, out, err} to pty slave
GitHub
noreply at github.com
Mon Jul 10 10:25:06 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c5b93afba1d79c6861a6f45db2943b6f3cfbdab4
https://github.com/lxc/lxc/commit/c5b93afba1d79c6861a6f45db2943b6f3cfbdab4
Author: Li Feng <lifeng68 at huawei.com>
Date: 2017-07-10 (Mon, 10 Jul 2017)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
start: dup std{in,out,err} to pty slave
In the case the container has a console with a valid slave pty file descriptor
we duplicate std{in,out,err} to the slave file descriptor so console logging
works correctly. When the container does not have a valid slave pty file
descriptor for its console and is started daemonized we should dup to
/dev/null.
Closes #1646.
Signed-off-by: Li Feng <lifeng68 at huawei.com>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: bbbf65ee7707028a65c075c7eb822d65e0c564eb
https://github.com/lxc/lxc/commit/bbbf65ee7707028a65c075c7eb822d65e0c564eb
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-07-10 (Mon, 10 Jul 2017)
Changed paths:
M src/lxc/utils.c
Log Message:
-----------
utils: set_stdfds()
non-functional changes
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: ed38feee452f872eafed04fd254dc569926b7518
https://github.com/lxc/lxc/commit/ed38feee452f872eafed04fd254dc569926b7518
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-07-10 (Mon, 10 Jul 2017)
Changed paths:
M src/lxc/start.c
M src/lxc/utils.c
Log Message:
-----------
Merge pull request #1690 from brauner/2017-07-10/lifeng68-Modify_fds
start: dup std{in,out,err} to pty slave
Compare: https://github.com/lxc/lxc/compare/1a6cb1cea40a...ed38feee452f
More information about the lxc-devel
mailing list