Subject: pkg/36203: gated is started too late - system may hang
To: None <,,>
From: Wolfgang Stukenbrock <>
List: pkgsrc-bugs
Date: 04/24/2007 09:15:01
>Number:         36203
>Category:       pkg
>Synopsis:       gated is started too late - system may hang
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 09:15:00 +0000 2007
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 3.1
Dr. Nagler & Company GmbH
System: NetBSD test-s0 3.1 NetBSD 3.1 (test-s0) #0: Tue Apr 3 11:33:43 CEST 2007 root@test-s0:/usr/src/sys/arch/i386/compile/test-s0 i386
Architecture: i386
Machine: i386
	gated is a routing demaon and belongs to the network startup, but
	gated is started after the DAEMON checkpoint. Other daemons started in front
	of DAEMON already need some routeing information and may fail to start.
	If the system has been setup without a default route, because that one should be
	obtained from other servers by gated, than ypbind will hang due to missing routing
	information, if the ypserver is not on the local network (and not the machine itself).
	(see also misc/36171 - fix for the same problem for routed)
	setup a system without default route, enable ypbind and gated, setup the ypserver
	not on the same subnet and try to boot the system. It will hang while starting ypbind.
	Change startup dependencies in file /usr/pkgsrc/net/gated/files/gated like the setting 
	in the setup for routed (see misc/36171).