Dear Maintainer, /var/yp/Makefile has a small drawback which prevents
usage of -B flag of make in configuration with NIS slaves (NOPUSH set
to false).
The problem is that /var/yp/ypservers gets overwritten unconditionally
in such scenario. In my opinion this file should be protected from
changing once it exists.
One possible solution is to replace block
$(YPSERVERS):
@echo -n "Generating $*..."
@uname -n > $(YPSERVERS)
to the following:
ifeq ($(wildcard $(YPSERVERS)),)
$(YPSERVERS):
@echo -n "Generating $*..."
@uname -n > $(YPSERVERS)
endif
P.S. This report also belongs to many (if not all) preceeding versions.