Red Hat Bugzilla – Bug 49836
running make on individual tables doesn't produce correct file locations
Last modified: 2015-01-07 18:49:01 EST
Description of Problem:
running 'Make' in /var/yp works, but 'Make passwd' or any other individual
table for that matter results in the new table being created in /var/yp
and not in /var/yp/NISDOMAIN
Steps to Reproduce:
1. cd /var/yp
2. make (this works correctly)
3. make passwd (this doesn't)
passwd.byname and passwd.byuid get created in /var/yp
*should* have been created in /var/yp/DOMAINNAME
This *does* work on a sun-based Solaris NIS domain that I also manage.
so, at the very least, the Makefile needs to be updated to correctly
position the created files.
*** Bug 52726 has been marked as a duplicate of this bug. ***
This would need some serious changes to the makefile. I don't see why you need
it anyway. The idea is that you just type make and it will only rebuild the
tables that need rebuilding.
welp, then there should be something in the readme on it so say 'just run make'
dont run 'make passwd'. The 2 other OS's that I've used as YPServers (Tru64 and
Solaris) both treat it correctly and make just the table you ask for in the
My big argument for at least noting the change in operability is that someone
coming over from a different environment (another *nix) may expect one
functionality and get another. It may also affect any cron jobs that someone
has set up.
At the very least, it should be noted in the readme, or maybe some block in the
makefile for calling the specific tables from make.