Re: nfs mounting

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

 



In my case I put this in /etc/sysconfig/nfs as suggested by someone.

# Created 05.07.05 by Tony Molloy
# based on work by Christopher K. Johnson ( dorigo.net )

RPCNFSDCOUNT=32

# ports for statd daemon
STATD_PORT=4000
STATD_OUTGOING_PORT=4004

# ports for lockd daemon
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001

# ports for mountd daemon
#MOUNTD_NFS_V2=no
#MOUNTD_NFS_V3=no
MOUNTD_PORT=4002

# ports for rquota daemon
#RQUOTAD=no
RQUOTAD_PORT=4003

STATD, LOCKD and MOUNTD run on dynamic ports which is a pain when you have a firewall activated. After creating and adding that to /etc/ sysconfig/nfs, I allowed access to those ports in the firewall (both tcp and udp ports) and finally disabled selinux for nsfd in system- config-securitylevel. Once I did that everything worked fine. Every time I change /etc/ exports I issue the command exportfs -af and restart nfs as a service. I'm still trying to figure out how to make selinux work with NFSD, if someone knows please let me know.
I hope this helps.
EJ


On Dec 18, 2005, at 1:16 PM, Tony Nelson wrote:

At 9:35 PM +0530 12/18/05, G Rajesh wrote:
 ...
Could this be firewall/selinux problem. But I find permissions granted
in desktop>systemsettings>securitylevel

Sometimes. Putting selinux in permissive mode can test that. Also, people
often report that when selinux seems to be a problem, just touching
/.autorelabel and rebooting will fix it, by ensuring that selinux is in a
consistent state.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux