Subject: misc/5115: xdm doesn't run correctly when called from /etc/rc
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/04/1998 06:10:13
>Number:         5115
>Category:       misc
>Synopsis:       xdm doesn't run correctly when called from /etc/rc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar  4 07:05:06 1998
>Originator:     Eric Haszlakiewicz
>Release:        NetBSD-030398
System: NetBSD 1.3E NetBSD 1.3E (REALMS.UVM) #0: Wed Mar 4 05:19:20 CST 1998 root@:/REALMS.UVM i386

	Boot NetBSD with a recent /etc/rc, xdm enabled, and a couple things
    in /etc/rc.local (optional).  Since xdm manages to get running
    before init spawns any gettys it doesn't always pick an empty one.
	This leads to tons of fun when xdm and getty stomp on each other.
	echo -n ' xdm';		xdm $xdm_flags
	echo -n ' xdm';		( sleep 10 ; xdm $xdm_flags) &

Better fix:
	get stuff to run after init spawns stuff from /etc/ttys.
	How?  (hmm... add a line in /etc/ttys that calls
		a rc.afterconfig script, which does whatever,
		call xdm, and then just sleeps forever) blah