Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
NFS and reverse DNS problem? RH8.0 versus RH 7.2

NFS and reverse DNS problem? RH8.0 versus RH 7.2

2003-09-27       - By Phil Corchary

 Back
Can anyone help me understand why NFS works differently on RH 8.0 than on
RH7.0/7.2 (or some other distros like Mandrake, or NAS devices with NFS)?

Here is the issue: starting with RH8.0, NFS seems to REQUIRE reverse DNS
(either from DNS or from /etc/hosts). Why? And how can this be disabled?

For instance:
Two boxes, A and B. Client Box A needs to NFS mount Server B. Box B does NOT
have DNS or entry in /etc/hosts (and it won't at this point - it's being
built). Box A and B can ping each other no problem and are connected to a
routable IP network.

Result: If A and B are RH7.2, this works
       If A is RH8, and B is Mandrake, this works
       If A is RH8, and B is RH7.2, this works
   *** If A is any unix, and B is RH8, FAILURE ***
       
It can be made to work by entering each box in the others /etc/hosts, but
this is NOT a useable solution ... these "A" client boxes are being built,
and sometimes there are many of them. This manual edit is time-prohibitive.

On "B", in /etc/exports it doesn't matter (so far) what option is used:
/share     *                         # fails
/share     *(insecure,ro)            # fails
/share     192.168.*(insecure,rw)    # fails
/share     *.XXXXX.com(insecure,rw)  # fails

The error looks like this:
Sep  4 12:10:35 dco rpc.mountd: refused mount request from 192.168.164.129
(unassigned.corp.xxxxx.com) for /spare (/spare): no DNS forward lookup.

As soon as I add the client IP to DNS or to  /etc/hosts on the server, it
works fine.  I have completely disabled ipchains, iptables and tcpwrappers
AND, I have made SURE that that hosts.allow is open.

[root@(protected) root]$ more /etc/hosts.allow
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
ALL : 192.168.

And I've made sure that there are no iptables rules:

[root@(protected) root]# iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

There is SOMETHING enforcing the requirement for reverse DNS, and I really
need to figure it out and disable it. I've seen some references on the 'net
to the "new secure" version of portmapper -- does anyone know anything more
about that?. This isn't a problem for any of my other servers (Solaris, BSD,
other Linux, NAS devices with embedded NFS, etc.), and it's absolutely
killing my opinion and use of RH8 ...


Feel free to email directly on this issue if you like (philc-AT-webex.com).

Phil Corchary, Sr. Systems Engineer
LPIC-I/II, Solaris Admin I/II, CCNA2.0