Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-22-2004, 02:30 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Posts: 24
Rep:
|
NFS, NIS, and Fedora 2
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.
However, if I change the entry to
#/home @LABHOSTS(rw,sync,no_subtree_check)
/home 123.45.6.0/24(rw,sync,no_subtree_check)
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?
|
|
|
06-23-2004, 01:44 AM
|
#2
|
Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438
Rep:
|
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?
|
|
|
06-23-2004, 05:50 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Posts: 24
Original Poster
Rep:
|
Quote:
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.
Thanks Idaho!
|
|
|
All times are GMT -5. The time now is 11:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|