Bug 49836

Summary: running make on individual tables doesn't produce correct file locations
Product: [Retired] Red Hat Linux Reporter: Kurt Ludwig <n1pfc>
Component: ypservAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: david.n.israel, srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-13 02:54:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kurt Ludwig 2001-07-24 14:36:34 UTC
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

How Reproducible:



Steps to Reproduce:
1. cd /var/yp
2. make  (this works correctly)
3. make passwd (this doesn't)

Actual Results:

passwd.byname and passwd.byuid get created in /var/yp

Expected Results:

*should* have been created in /var/yp/DOMAINNAME

Additional Information:
	
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.

Comment 1 Alexander Larsson 2002-03-21 15:54:22 UTC
*** Bug 52726 has been marked as a duplicate of this bug. ***

Comment 2 Alexander Larsson 2002-03-21 21:30:35 UTC
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.

Comment 3 Kurt Ludwig 2002-03-21 21:38:58 UTC
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 
right place.

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.