Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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).
Attachments
Issue Links
- is blocked by
-
MESOS-6463 Build a prototype for remote pty support
- Resolved