Subject: bin/8614: bourne shell fscks up /etc/rc tests after version 1.48 of eval.c
To: None <gnats-bugs@gnats.netbsd.org>
From: Sean Doran <smd@ebone.net>
List: netbsd-bugs
Date: 10/12/1999 14:52:04
>Number:         8614
>Category:       bin
>Synopsis:       1.47 -> 1.48 src/bin/sh/eval.c causes bad behaviour in /etc/rc
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 12 14:50:59 1999
>Last-Modified:
>Originator:     Sean Doran
>Organization:
Sean Doran <smd@ebone.net>
Development Manager, Ebone Inc., Copenhagen Denmark
>Release:        19991010
>Environment:
	
ystem: NetBSD crasse.smd.ebone.net 1.4L NetBSD 1.4L (SMDCRIPPLE) #3: Tue Oct 12
 11:40:50 CEST 1999 smd@newlaptoy.smd.ebone.net:/usr/src/sys/arch/i386/compile/S
MDCRIPPLE i386

	userland + kernel built today

>Description:

	/etc/rc tests pass where they should not

	this causes (among other things) ipnat to try to start

>How-To-Repeat:

	$ . /etc/rc.subr
	$ . /etc/rc.conf
	$ echo $ipnat
	NO
	$ checkyesno $ipnat
	$ echo $?
	1
	$ if checkyesno ipnat && [ -f /tmp/notexist ]; then echo bug; fi
	bug

	
>Fix:
	revert to 1.47
>Audit-Trail:
>Unformatted: