Re: Error on Relinat Unix - no controlling terminal

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 05/29/03

  • Next message: Darren Tucker: "Re: openssh only in one direction"
    Date: Thu, 29 May 2003 08:45:23 GMT
    
    

    In article <baslp1$36un1$1@ID-129696.news.dfncis.de>,
    Stephan Hendl <Stephan.Hendl@lds.brandenburg.de> wrote:
    >just I tried to upgrade openssh from 3.5p1 to 3.6.1p2 on Reliant Unix
    >5.45 and run into this error:
    [snip]
    >May 23 15:45:28 soltest unix: sshd[4101]: error: setsid: Not owner
    >May 23 15:45:28 soltest unix: sshd[4101]: error: open /dev/tty failed -
    >could not set controlling tty: No such device or address

    For the benefit of googlers, this is due to a bug in pty handling present
    in many SysV derivatives. The workaround (for 3.6.1p2) is to manually
    add "#define STREAMS_PUSH_ACQUIRES_CTTY 1" to config.h and recompile.

    The next release of OpenSSH will do this automatically for Reliant and
    for NCR MP-RAS which has the same problem (if anyone with these
    platforms tests the patch, that is, otherwise they will be just as
    broken).

    Mailing list thread, including patch:
    http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=105394262516690

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
        Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Darren Tucker: "Re: openssh only in one direction"

    Relevant Pages