Error on Reliant Unix: no controlling terminal
Darren Tucker
dtucker at zip.com.au
Mon May 26 22:26:28 EST 2003
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
More information about the openssh-unix-dev
mailing list