Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-460

Terminal support is failing on lxc container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1
    • None
    • None
    • None

      on lxc, tty returns "not a tty" although no error is raised. ExecPty considers it a valid tty path and reads/writes on it.
      The suggested fix:

      • Check that the file exists and is not equals to "not a tty" (just in case...)
      • If the file doesn't exist return System.in/out
      • Any call to stty -f <file path> fallback already to not use -f so we should rely on it.

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: