FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an NIS server running on RH 7.1. I have a collection of Linux hosts configured via NFS to export /home partitions within our lab. These hosts run RH6.2, RH7.2, RH7.3, RH8.0, and Fedora Core 1 & 2.
All of the hosts are happy to export the designated directories to each other _except_ for the Fedora 2 system. I finally traced the problem down to the exports file:
If I use the standard (standard for ou lab, that is) exports file:
/home @LABHOSTS(rw,sync,no_subtree_check)
then any host gets a "permission denied" error when they attempt to mount the Fedora 2's exported partition.
and restart nfs then the Fedora 2 system behaves properly (assume the bogus IP address in this example is a valid subnet specifier): any of the other hosts can mount the /home directory on the Fedora 2 host.
Yes, the NIS maps and server are working properly otherwise. No, it's not a firewall issue. It doesn't seem to be a user permissions problem, either
As far as I can tell from the documentation a netgroup references is still a valid way to specify groups of hosts. Any idea why this isn't working for Fedora 2, and any suggestions on how to fix it?
You haven't gotten any hits, so I will toss out some thoughts.
The problem appears to be tied to name resolution. You are apparently using NIS for name resolution. Is /etc/nsswitch.conf properly configured to use NIS for this on your Fedora 2 system? Does your Fedora 2 system properly resolve names in your netgroup otherwise, both partially and fully qualified domain names?
Originally posted by idaho You haven't gotten any hits, so I will toss out some thoughts.
The problem appears to be tied to name resolution. You are apparently using NIS for name resolution. Is /etc/nsswitch.conf properly configured to use NIS for this on your Fedora 2 system? Does your Fedora 2 system properly resolve names in your netgroup otherwise, both partially and fully qualified domain names?
Bingo. Every entry in the Fedora 2 system's nsswitch.conf had been properly updated to use nis -- except for netgroup.
I was certainly running down the wrong trail: the manpage for exportfs indicated changes between kernel 2.4 and 2.6, and Fedora Core 2 makes that kernel jump. I was convinced the problem I saw was related to that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.