Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6470

Support TTY in IOSwitchboard.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: 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

            Activity

              People

              • Assignee:
                jieyu Jie Yu
                Reporter:
                klueska Kevin Klues
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: