Subject: misc/4587: Starting xfs and xdm via "/etc/rc" can cause X server lockups
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 11/27/1997 22:00:27
>Number:         4587
>Category:       misc
>Synopsis:       Starting xfs and xdm via "/etc/rc" can cause X server lockups
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 27 13:05:01 1997
>Originator:     Matthias Scheler
Matthias Scheler                      
>Release:        971121
System: NetBSD lyssa 1.3_ALPHA NetBSD 1.3_ALPHA (LYSSA) #1: Sat Nov 22 14:01:52 MET 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386

After I reconfigured my system to start "xfs" and "xdm" via "rc.conf" the
X11 server got stuck after booting several times. I had to shutdown it with
"CTRL ALT backspace" and wait until "xdm" launches a new server. I could
fix this by adding a little delay after "xfs" was started so that it is
ready if "xdm" launches the X11 server.

Boot a system which starts "xfs" and "xdm" via "/etc/rc".

*** src/etc/rc.orig	Thu Nov 13 13:39:54 1997
--- src/etc/rc	Fri Nov 21 09:02:28 1997
*************** fi
*** 407,412 ****
--- 407,413 ----
  # Start xfs before boot daemons, so its ready before client xterminals.
  if checkyesno xfs; then
  	echo -n ' xfs';			xfs $xfs_flags &
+ 	sleep 2
  if checkyesno rarpd; then