[lxc-devel] [lxc/lxc] a9d02b: lxc-attach: always allocate current controlling pt...
GitHub
noreply at github.com
Mon Feb 29 22:18:11 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: a9d02bb9ae42393056ffb66137ec9aff2dac88f1
https://github.com/lxc/lxc/commit/a9d02bb9ae42393056ffb66137ec9aff2dac88f1
Author: Christian Brauner <christian.brauner at mailbox.org>
Date: 2016-02-29 (Mon, 29 Feb 2016)
Changed paths:
M src/lxc/lxc_attach.c
Log Message:
-----------
lxc-attach: always allocate current controlling pty
lxc-attach uses lxc_console_create() to allocate a pty on the host.
lxc_console_create() in turn calls lxc_console_peer_default() which either
makes the current controlling pty our controlling pty for the container, or
uses whatever the user gave us (e.g. /dev/tty2 etc.). For lxc-attach we always
want the current controlling pty to be used. This commit ensures that we're in
fact always using the current controlling pty. The commit also fixes a segfault
when the user specified lxc.console.path = none.
Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>
Commit: e6eb4c3e16ab4b7b6a6aba9e779f624ff299e54e
https://github.com/lxc/lxc/commit/e6eb4c3e16ab4b7b6a6aba9e779f624ff299e54e
Author: Serge Hallyn <serge at hallyn.com>
Date: 2016-02-29 (Mon, 29 Feb 2016)
Changed paths:
M src/lxc/lxc_attach.c
Log Message:
-----------
Merge pull request #859 from brauner/bugfix_branch
lxc-attach: always allocate current controlling pty
Compare: https://github.com/lxc/lxc/compare/cadbf1a7b678...e6eb4c3e16ab
More information about the lxc-devel
mailing list