[
https://issues.apache.org/jira/browse/MESOS-6470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jie Yu updated MESOS-6470:
--------------------------
Description:
The idea is to let IOSwitchboard isolator to allocate the pty. The master end
will be sent to the IOSwitchboard server while the slavePath will be sent to
launch.cpp. launch.cpp will perform login_tty to set the control terminal of
the process to the allocated tty. We probably don't want to use login_tty
directly because it'll create a new session which is not necessary.
It is unclear if this will need to be added to {{launch.cpp}} so that a pty is
allocated at the time that a task is first launched. Or if it makes sense to
only allow {{pty}} allocation on-the-fly as we attach to a process (in which
case it will need to be the responsibility of the logger in our new model).
was:It is unclear if this will need to be added to {{launch.cpp}} so that a
pty is allocated at the time that a task is first launched. Or if it makes
sense to only allow {{pty}} allocation on-the-fly as we attach to a process (in
which case it will need to be the responsibility of the logger in our new
model).
> Support TTY in IOSwitchboard.
> -----------------------------
>
> Key: MESOS-6470
> URL: https://issues.apache.org/jira/browse/MESOS-6470
> Project: Mesos
> Issue Type: Task
> Reporter: Kevin Klues
> Assignee: Jie Yu
> Labels: debugging, mesosphere
>
> The idea is to let IOSwitchboard isolator to allocate the pty. The master end
> will be sent to the IOSwitchboard server while the slavePath will be sent to
> launch.cpp. launch.cpp will perform login_tty to set the control terminal of
> the process to the allocated tty. We probably don't want to use login_tty
> directly because it'll create a new session which is not necessary.
> It is unclear if this will need to be added to {{launch.cpp}} so that a pty
> is allocated at the time that a task is first launched. Or if it makes sense
> to only allow {{pty}} allocation on-the-fly as we attach to a process (in
> which case it will need to be the responsibility of the logger in our new
> model).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)