*BSD News Article 2356


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!rodos1!wkt
From: wkt@rodos1.cs.adfa.oz.au (Warren Toomey)
Subject: 386BSD: /etc/rc's exit kills slattach(8)
Message-ID: <1992Jul24.014014.16797@sserve.cc.adfa.oz.au>
Keywords: slattach SLIP etc/rc
Sender: news@sserve.cc.adfa.oz.au
Organization: Australian Defence Force Academy, Canberra, Australia
Date: Fri, 24 Jul 1992 01:40:14 GMT

Quick bug report, and workaround. /etc/rc's exit 0 (i.e what happens after
this) causes an slattach(8) in /etc/netstart to die. It's not getty and it
is after the exit 0, because I renamed getty -> betty and put a sleep 10
on the line above rc's exit 0.

I tried at least two slattach lines in /etc/netstart:

	slattach /dev/com2 9600
	slattach /dev/com2 9600 < /dev/null > /dev/null

Didn't try

	nohup slattach /dev/com2 9600

Workaround: 

	Manually restart the slattach once you log in.

Misc:
	I spent 3 hours trying to work out why my `network was down'
because of this :-(. Ifconfig reports sl0 being UP, even with the slattach
dead. Sigh.


  Warren Toomey VK1XWT, on the path to insanity
  No longer in the bowels of ADFA Comp Science.
   `Version 7 Job Control: just use ptrace(2).'