Red Hat Bugzilla – Bug 9774
/var/yp/Makefile is corrupted
Last modified: 2008-05-01 11:37:54 EDT
Despite the comments in the package, some of the invocations of awk
in the Makefile (mentioned in the subject) are preceded by '@'. This
causes maps not to be built.
Some of the instances were fixed. Specifically, the invocation of awk
in the rules for creating 'passwd' maps. So, at the first glance it may
appear that NIS is working. But the invocation of awk in the make rules
the second most important map (in my humble opinion) -- "group" -- were
not fixed. That is how I discovered this bug in the first place.
The @ in fornt of a command in a Makefile tells make not to echo the command
itself to stdout. It has nothing to do with whether the command is executed or
not, because the command is always executed. Check again your Makefile to make
sure that MERGE_GROUP is defined as you need to.
I am sorry to have to be argumentative, but that is not entirely correct. make
only interprets '@' character if it appears at the beginning of a line as long
as that line is not a continuation of another line.
Contents of Makefile:
@echo line 1
@echo line 2; \
@echo line 3
/bin/sh: @echo: command not found
make: *** [all] Error 127
Some of the lines in yp Makefile that contain awk calls do follow lines that
end with a backslash. So the make does not interpret '@' character in them
I double checked again - this has been fixed in the devel tree