🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso.dev-environ
Article #644

Re: Failing tsapd

#644
From: Ian Dickinson
Date: Wed, 08 May 1991 09:19
41 lines
2668 bytes
In article <9105062156.AA01508@chanta.EBay.Sun.COM> Ernest.Hayden@EBay.Sun.com writes:
>Hans:  I don't know if this helps a lot but I noticed that when I started the
>tsapd from an interactive shell as follows,  /usr/etc/isode/tsapd > & /dev/null,
>that I could run ./make test multiple times without it failing.  However, when
>I tried to run the test against a tsapd that I had started from my rc.local file
>(see below) it also failed just as you described.
>
>This was not an upgrade install and so I think that has little to do with it.
>
>I am running the simplest of environments, tsapd was running on the same machine
>from which I executed the test.  I am running SunOS 4.1.1 Rev B on a
>SPARCStation 1.
>
>I suspect that it has something to do with the change Sun made to the rc scripts
>when we went from 4.0.3 to 4.1.  We did this to satisfy  POSIX.1 was related to
>the notion of a controlling terminal requirement which was not satisfied in 
>earlier releases.  I don't have a definitive answer yet but you have certainly
>aroused my curiosity!  If you come up with an answer to this please let the alias 
>know!

I tried to post something to this effect but it didn't seem to get through.
The POSIX session stuff breaks programs that used to disassociate from
the terminal in the traditional manner, which may then want to spawn login
processes.  Sunlink 6.0 X.25 Read Me First points out the fix for 'x29'
by starting it using 'setsid -b' which starts a new session and puts it
in the background.  So to start tsapd on SunOS 4.1 or later you need
this in your rc.local (or wherever you put it):

#  ISODE tsap Daemon
#
if [ -f /usr/etc/isode/tsapd ]; then
	setsid -b /usr/etc/isode/tsapd >/dev/null 2>&1 & echo -n " tsap"
fi

Hope this gets through this time.

-- 
\/ato. Ian Dickinson.   / /// Send your dollars, Homeboy, \\\ \     /'\  /`\
vato@warwick.ac.uk     ( (((  I'm a Pink Foetus for "Bob"  ))) )   /^^^\/^^^\
vato@tardis.cs.ed.ac.uk \ \\`------X.500-Check-me-out-----'// /   /TWIN/TEATS\
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson  /       \
Technical Details
Message-ID: <11523.9105080919@thistle.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!ucbvax!cu.warwick.ac.uk!cudep
References: <9105062156.AA01508@chanta.EBay.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!ucbvax!cu.warwick.ac.uk!cudep
From: cudep@cu.warwick.ac.uk (Ian Dickinson)
Newsgroups: comp.protocols.iso.dev-environ
Subject: Re: Failing tsapd
Message-ID: <11523.9105080919@thistle.warwick.ac.uk>
Date: 8 May 91 09:19:46 GMT
References: <9105062156.AA01508@chanta.EBay.Sun.COM>
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: inet
Organization: Team Limpid's Pink Boy For Bob
Lines: 41