Hi all, just I tried to upgrade openssh from 3.5p1 to 3.6.1p2 on Reliant Unix 5.45 and run into this error: root at soltest: tail /var/adm/log/messages .... May 23 15:45:28 soltest unix: sshd[4013]: Accepted password for root from 10.128.11.72 port 2624 ssh2 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 The shell tells me that she has no controlling tty root at soltest: ps ps: can't find controlling terminal root at soltest: bash bash: no job control in this shell The configure command was: ../configure --prefix=/opt/openssh --sysconfdir=/etc --with-privsep-user=sshd --with-zlib=/usr/local/lib --with-ssl-dir=/home/hendl/openssl-0..9.7b --with-tcp-wrappers=/home/hendl/tcp_wrappers_7.6 --with-rand-helper --with-default-path=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/opt/bin:/opt/openssh/bin Does anybody has a solution? Thanks! Stephan -- LDS Brandenburg Dr. Stephan Hendl fon: +49-(0)331-39 471 fax: +49-(0)331-27548 1187 mobil: +49-(0)160-90 645 893 EMail: stephan.hendl at lds.brandenburg.de
Stephan Hendl wrote:> just I tried to upgrade openssh from 3.5p1 to 3.6.1p2 on Reliant Unix 5.45 and run into this error: > > root at soltest: tail /var/adm/log/messages > .... > May 23 15:45:28 soltest unix: sshd[4013]: Accepted password for root from 10.128.11.72 port 2624 ssh2 > 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 addressTry adding "#define STREAMS_PUSH_ACQUIRES_CTTY 1" to config.h and recompiling. Is Reliant a Sys-V derivative? We might need to to add it to the list of broken pty implementations. See [1] for the gory details. [1] http://bugzilla.mindrot.org/show_bug.cgi?id=245 -- Darren Tucker (dtucker at zip.com.au) GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Hi Darren, thank you - now it works!!! The System is a root at soltest: uname -a ReliantUNIX-N soltest 5.45 B1007 RM400 1/256 R4000 The system is a Sys-V, R4 derivate, similiar to ealier Solaris versions. Thanks oncemore Stephan -- LDS Brandenburg Dr. Stephan Hendl fon: +49-(0)331-39 471 fax: +49-(0)331-27548 1187 mobil: +49-(0)160-90 645 893 EMail: stephan.hendl at lds.brandenburg.de>>> Darren Tucker <dtucker at zip.com.au> 05/26 11:47 >>>Stephan Hendl wrote:> just I tried to upgrade openssh from 3.5p1 to 3.6.1p2 on Reliant Unix 5.45 and run into this error: > > root at soltest: tail /var/adm/log/messages > .... > May 23 15:45:28 soltest unix: sshd[4013]: Accepted password for root from 10.128.11.72 port 2624 ssh2 > 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 addressTry adding "#define STREAMS_PUSH_ACQUIRES_CTTY 1" to config.h and recompiling. Is Reliant a Sys-V derivative? We might need to to add it to the list of broken pty implementations. See [1] for the gory details. [1] http://bugzilla.mindrot.org/show_bug.cgi?id=245 -- Darren Tucker (dtucker at zip.com.au) GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Stephan Hendl wrote: [about "#define STREAMS_PUSH_ACQUIRES_CTTY 1"]> thank you - now it works!!! > > The System is a > root at soltest: uname -a > ReliantUNIX-N soltest 5.45 B1007 RM400 1/256 R4000 > > The system is a Sys-V, R4 derivate, similiar to ealier Solaris versions.OK, so Solaris needs it (BTW in -current the define is now called SSHD_ACQUIRES_CTTY since some Linuxes need it for a different reason), Reliant (which is *-sni-sysv*, right?) needs it, MP-RAS (is that *-ncr-sysv*?) needs it. Any other SysV-based systems need it? Does the attached patch work? It should fix Reliant and MP-RAS[1]. Note: you will need the CVS tree or a recent snapshot[2] to apply it, and you will need to run "autoreconf" to rebuild configure, then "./configure && make". [1] http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=105095786124907 [2] ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/ -- Darren Tucker (dtucker at zip.com.au) GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. -------------- next part -------------- Index: configure.ac ==================================================================RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v retrieving revision 1.123 diff -u -r1.123 configure.ac --- configure.ac 19 May 2003 23:24:42 -0000 1.123 +++ configure.ac 26 May 2003 12:10:54 -0000 @@ -294,10 +294,11 @@ AC_DEFINE(USE_PIPES) ;; *-ncr-sysv*) - CPPFLAGS="$CPPFLAGS -I/usr/local/include" + CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" LIBS="$LIBS -lc89" AC_DEFINE(USE_PIPES) + AC_DEFINE(SSHD_ACQUIRES_CTTY) ;; *-sni-sysv*) CPPFLAGS="$CPPFLAGS -I/usr/local/include" @@ -306,6 +307,7 @@ IPADDR_IN_DISPLAY=yes AC_DEFINE(USE_PIPES) AC_DEFINE(IP_TOS_IS_BROKEN) + AC_DEFINE(SSHD_ACQUIRES_CTTY) # /usr/ucblib/libucb.a no longer needed on ReliantUNIX # Attention: always take care to bind libsocket and libnsl before libc, # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
Maybe Matching Threads
- sshd 3.9p1 under Reliant Unix 5.45: getpeername: Operation not supported on transport endpoint
- Problem with 3.7.1p2 on Reliant Unix
- [Bug 536] no access to tty on Linux 2.0 and 2.4+libc5
- PAM auth. and HP-UX
- [PATCH] some patches for Fujitsu-Siemens ReliantUNIX, minor fixes and XXXes