Package: nis
Version: 3.17.1-1+b1
Severity: minor
Tags: patch
X-Debbugs-CC: duan...@gmail.com


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.

-- 
С уважением, Дунаев Антон.
mailto: duan...@gmail.com

Reply via email to