1833059 Members
2535 Online
110049 Solutions
New Discussion

NIS make foo

 
SOLVED
Go to solution
jerry1
Super Advisor

NIS make foo

I checked the file. Looks okay. I think it
is a line length limitation on the number of
characters.

Cycle detected in /etc/netgroup: .
Cycle detected in /etc/netgroup: .
updated netgroup
pushed netgroup
3 REPLIES 3
Peter Nikitka
Honored Contributor
Solution

Re: NIS make foo

Hi,

I don't think you ran into the length limitation boundary. Check your data for loops, like the messages says. Consider this example:

ng1: (h1,,) ng2

ng2: (h2,,) ng1

This data description is not valid for netgroup entries.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
jerry1
Super Advisor

Re: NIS make foo

Checked everything. No dup groups in
netgroup. What is strange is the listing
from the error message:

/etc/netgroup:.

I am using in the Makefile for the
location of netgroup as /var/yp/etc/netgroup
and what is "." listed afterwards.


Steven Schweda
Honored Contributor

Re: NIS make foo

"Cycle detected" sounds like a "make"
complaint.

A Google search for:

nis make "cycle detected"

led to this from Sun:

http://sunsolve.sun.com/search/document.do?assetkey=1-25-6479-1

--------

Problem Statement:

When the customer tries to make the NIS map
"netgroup," the make complains with "cycle
detected in netgroup."

Resolution:

In this particular case, there were
nonprintable characters embedded in the
netgroup file. Comment out entry sections to
determine the failing line, then delete the
appropriate line(s) and re-enter them.

--------

No bets, but a careful inspection may reveal
something.