Bug 49836 - running make on individual tables doesn't produce correct file locations
Summary: running make on individual tables doesn't produce correct file locations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ypserv
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Jay Turner
URL:
Whiteboard:
: 52726 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-24 14:36 UTC by Kurt Ludwig
Modified: 2015-01-07 23:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-13 02:54:19 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.