Subject: bin/22126: Can't setup NIS master w/o comp set (share/mk missing)
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@smaug.fh-regensburg.de>
List: netbsd-bugs
Date: 07/12/2003 06:57:20
>Number: 22126
>Category: bin
>Synopsis: Can't setup NIS master w/o comp set (share/mk missing)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jul 12 04:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Hubert Feyrer
>Release: NetBSD 1.6.1_STABLE and -current
>Organization:
Hubert Feyrer <hubertf@netbsd.org>
>Environment:
System: NetBSD smaug 1.6.1_STABLE NetBSD 1.6.1_STABLE (SMAUG) #12: Wed May 28 21:54:52 MEST 2003 feyrer@smaug:/disk1/cvs/src-1.6/sys/arch/sparc/compile/SMAUG sparc
Architecture: sparc
Machine: sparc
Only "base" (and "etc") set installed, no "comp"
>Description:
If only the "base" set is installed, one can't setup a
NIS server, because a "make" in /var/yp won't succeed - it
wants to .include <bsd.subdir.mk>, which is part of the comp set.
>How-To-Repeat:
install system with only base set or rm -fr /share/mk
domainname foo
ypinit -m
cd /var/yp
make
>Fix:
Either
* include share/mk/bsd.subdir.mk into base set or
* rewrite /var/yp/Makefile.main to not need bsd.subdir.mk
>Release-Note:
>Audit-Trail:
>Unformatted: