summary: problem with x29/pad sunlink 6.0 os 4.1.1

From: mark@gest20.sinet.slb.com
Date: Mon Aug 05 1991 - 05:02:41 CDT


Well thanks netlanders and to the ten or so of you who replied.
They all said pretty much the same thing. So had I read the release
notes I could have saved you the trouble.
Here is one summary . The first I received.

Mark Read

----- Begin Included Message -----

>From fergus@capsogeti.fr Fri Aug 2 01:35:49 1991
Received: from relay2.UU.NET by GEST20.sinet.slb.com; Fri, 2 Aug 91 01:35:42 +0200
Received: from corton.inria.fr by relay2.UU.NET with SMTP
        (5.61/UUNET-internet-primary) id AA07479; Thu, 1 Aug 91 19:17:41 -0400
Received: from csinn.capsogeti.fr by corton.inria.fr (5.65c+/90.0.9)
        via Fnet-EUnet id AA29470; Thu, 1 Aug 91 18:33:09 +0200 (MET)
Received: from magic (magic.fr) by csinn (4.1/CSI2.2)
        id AA18243; Thu, 1 Aug 91 18:32:55 +0200
Received: from daedalus (daedalus.fr) by magic (4.1/CSI2.0)
        id AA11828; Thu, 1 Aug 91 18:33:17 +0200
Return-Path: <fergus>
Received: by daedalus (4.1/CSI2.0)
        id AA03644; Thu, 1 Aug 91 18:32:19 +0200
Date: Thu, 1 Aug 91 18:32:19 +0200
From: Fergus O'Reilly <fergus@capsogeti.fr>
Message-Id: <9108011632.AA03644@daedalus>
To: Mark Read <mark@gest20.sinet.slb.com>
Subject: Re: problem with x29/pad sunlink 6.0 os 4.1.1
References: <9108011245.AA12758@sjosu1.sinet.slb.com>
Reply-To: Mr System <fergus@capsogeti.fr>
Organization: Cap Gemini Innovation, Centre de Recherche de Paris
X-Mailer: VM 5.31 (beta) on GNU Emacs 18.57.21 on SunOS 4.1.1
Status: RO

The problem you are having is a known bug. See the "SunOS 4.1.1
Release & Install" binder, page 151 (chapter 10, section 10.4),
under the heading "setsid Problems when Running SunLink X.25
6.0". Alternatively, look at the man page for setsid(8) which
mentions the problem also.

What is happening is that processes descended from x29 lack a
controlling terminal so heaps of really useful commands, notably
the C shell, fail to work.

In case you are missing the release notes, the solution is the
following:

Put a "wrapper" around the x29 server so that it acquires a
controlling terminal. There is a SunOS hack to do just this, a
program called `setsid'. Do the following as root:

        foo# cd /usr/sunlink/x25
        foo# mv x29 .x29
        foo# cat > x29
        #!/bin/sh
        /usr/etc/setsid -b /usr/sunlink/x25/.x29 "$@"
        ^D
        foo# chmod a+x x29

Happy hacking,

--
Fergus O'Reilly
fergus@capsogeti.fr

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:20 CDT