[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange nis / services problem - any thoughts?



Neal Lippman <nl@lippman.org> [2002-10-29 22:49:48 -0500]:
> I just recently converted over to using nis to deliver my /etc/passwd
> and /etc/group data on my home lan. All has been working fine with that

Okay.

> for a few weeks, so I decided last night to convert over to having my
> workstation obtain /etc/services, /etc/protocols, /etc/ethers, and
> /etc/rpc data from the nis server as well. I modified /etc/nsswitch
> accordingling (by changing the entires for services, protocols, ether,
> and rpc from "files" to "nis files").

To what advantage do you expect to gain by using NIS for the services
and other networking files?  Although I use NIS for passwd and group
maps I would recommend avoiding them for those other files.

> Thinking my mod to nsswitch.conf could have broken something, I edited
> it and removed "nis" from the above databases, and retried the apt-get
> [...]
> I'm not sure what's going on here to cause this to happen. Any thoughts
> appreciated!

It sounds like those maps are empty or otherwise corrupt.  Double
check that they are all okay when NIS is running.

  ypcat services
  ypcat protocol
  etc.

Your symptoms sound to me like the services map is corrupt or empty.

Bob

Attachment: pgprSNtsxA9Io.pgp
Description: PGP signature


Reply to: