Subject: bin/4432: ypinit sets variables incorrectly
To: None <>
From: Ty Sarna <>
List: netbsd-bugs
Date: 11/04/1997 23:20:44
>Number:         4432
>Category:       bin
>Synopsis:       ypinit sets variables incorrectly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov  4 21:35:02 1997
>Originator:     Ty Sarna
	Endicor Technologies, Inc., San Antonio, Texas
>Release:        1.3_ALPHA 10/30/97

System: NetBSD 1.2G-970901 NetBSD 1.2G-970901 (LOTHARON) #3: Sat Sep 13 17:44:24 CDT 1997 sun3

	ypinit doesn't work. It tries to set up variables, eg.
	$DOMAINNAME is the program to run to get the domainname, etc.
	Unfortunately it does "DOMAINNAME=<tab>/bin/domainname".
	The tab causes it to run domainname with the variable DOMAINNAME
	set empty, rather than setting DOMAINNAME to /bin/domainname.
	Likewise for a few other variables.
	$ ypinit
	[prints domain name, host name, tries to run ypwhich, ypxfr,
	makedbm, and /var/yp without args, and generally doesn't work]
	Delete the tabs. I put a high priority on this one because
	it's a fairly serious yet easy to fix bug, and one that I
	hope can be fixed for 1.3. It'd be kind of embarrasing for
	1.3 to ship with broken yp server capabilities
	because of something trivial like this.