Subject: bin/20460: dhcpd 3.0.1rc11 seemingly broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Frank Kardel <kardel@acm.org>
List: netbsd-bugs
Date: 02/21/2003 23:45:52
>Number:         20460
>Category:       bin
>Synopsis:       dhcpd fails to start - internal compile error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 21 14:46:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Frank Kardel
>Release:        NetBSD 1.6O
>Organization:
	
>Environment:
	
	
System: NetBSD pip 1.6O NetBSD 1.6O (PIP) #0: Fri Feb 21 00:09:29 MET 2003 kardel@pip:/src/NetBSD/netbsd/sys/arch/i386/compile/PIP i386
Architecture: i386
Machine: i386
>Description:
	dhcpd 3.0.1rc11 fails to start with following error:

Feb 21 23:12:23 pip dhcpd: Internet Software Consortium DHCP Server V3.0.1rc11
Feb 21 23:12:23 pip dhcpd: Copyright 1995-2003 Internet Software Consortium.
Feb 21 23:12:23 pip dhcpd: All rights reserved.
Feb 21 23:12:23 pip dhcpd: For info, please visit http://www.isc.org/products/DHCP
Feb 21 23:12:23 pip dhcpd: old name service update routine line 11: illegal expression relating different types
Feb 21 23:12:23 pip dhcpd:     if (defined (ddns-fwd-name) and ddns-fwd-name !=
Feb 21 23:12:23 pip dhcpd:                                                   ^
Feb 21 23:12:23 pip dhcpd: can't parse standard ddns updater!
Feb 21 23:12:23 pip dhcpd: 
Feb 21 23:12:23 pip dhcpd: If you did not get this software from ftp.isc.org, please
Feb 21 23:12:23 pip dhcpd: [...]
Feb 21 23:12:23 pip dhcpd: exiting.

	The referenced script is compiled into dist/dhcpd/server/dhcpd.c.
	The parser code from dist/dhcpd/common/parser.c fails to parse
	that script during startup. Going back to dist/dhcpd/common/parser.c 
	version 1.4 makes things fine again...
>How-To-Repeat:
	Try to start dhcpd in -current as of 20020220. Watch dhcpd fail.
>Fix:
	Take older version of dist/dhcpd/common/parser.c (that cannot
	be the solution).
	Check ISC release for this bug and vhevk for correct import.
>Release-Note:
>Audit-Trail:
>Unformatted: