Skip to contentSkip to conversation

Possible breakthrough Re: Debian Bug#203918 - statd request on eth interface, not localhost?

DISCUSSION Chip Salzenberg 2 participants 4 messages Aug 21, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

(Jordi, this is an edited msg copied to the NFS list.)

According to Jordi Mallach:

Quoted 8 lines · Chip Salzenberg
Quoted 4 lines

Hm. I don't suppose if you type
host 127.0.0.1
host localhost
it fails? I know, long shot. :-) Looks like a dead end.

Heh, maybe not...

Quoted 7 lines

I'm assuming you're interested on the server.

host 127.0.0.1 is ok, but...

20740:jordi@natura:~$ host localhost 
localhost.int.oskuro.net does not exist (Authoritative answer)
zsh: exit 69    host localhost

That *is* interesting. It's possible that statd and even portmap will refuse to accept requests from localhost, since your /etc/hosts.deny says "ALL: PARANOID", and your loopback interface fails the paranoia test.

Could you please do what it takes to make "host localhost" and "host 127.0.0.1" work on both client *and* server, and see if your problem goes away? Either that or add "ALL: 127.0.0.1" to /etc/hosts.allow.

Hm. Things could be breaking even sooner than that, depending on whether any of nfs-utils depends on the name "localhost"....

Quoted 5 lines

both boxes have a

127.0.0.1 localhost

line in /etc/hosts.

Hm again. I wonder if the tcpwrappers paranoia check uses /etc/hosts.

(Sorry for the resend, Jordi.)

Signature · 13 lines
Chip Salzenberg               - a.k.a. -               <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 8 lines · Chip Salzenberg

That *is* interesting. It's possible that statd and even portmap will refuse to accept requests from localhost, since your /etc/hosts.deny says "ALL: PARANOID", and your loopback interface fails the paranoia test.

Could you please do what it takes to make "host localhost" and "host 127.0.0.1" work on both client *and* server, and see if your problem goes away? Either that or add "ALL: 127.0.0.1" to /etc/hosts.allow.

Ok. I added "localhost" to my internal network zone file. I thought this was bad, but someone on IRC told me it's ok. They also told me it's really not needed (normal apps should be using nsswitch.conf, but host doesn't).

20801:jordi@natura:~$ host localhost
localhost.int.oskuro.net        A       127.0.0.1

FWIW, "ALL: 127.0.0.1" didn't help.

Ok. Apparently it doesn't help either... I have restarted the nfs stuff and nothing happens. I'm seeing the exact same messages on the server's logs and this on the client's when I try to use apt-get:

Aug 21 20:49:15 nubol rpc.statd[632]: Received erroneous SM_UNMON request from nubol for 192.168.1.1

(nubol = client = 192.168.1.3)

Of course, I haven't remounted or anything after doing these changes, because I can't umount the share. Should I reboot the client to see?

Quoted 1 line

(Sorry for the resend, Jordi.)

No problem, after all the help I'm getting from you guys :)

Jordi

Signature · 3 lines
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
#2 lore raw

According to Jordi Mallach:

Quoted 1 line

Ok. Apparently it doesn't help either.

Darn.

Quoted 2 lines

Of course, I haven't remounted or anything after doing these changes, because I can't umount the share. Should I reboot the client to see?

Well, the message is on the server (right?), so if anything, rebooting the server (or at least stopping and starting nfs-kernel-server and nfs-common) would be called for as a complete test.

Signature · 13 lines
Chip Salzenberg               - a.k.a. -               <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#3 lore raw
Quoted 3 lines · Chip Salzenberg

Well, the message is on the server (right?), so if anything, rebooting the server (or at least stopping and starting nfs-kernel-server and nfs-common) would be called for as a complete test.

Yeah. I did restart those, no luck.

Signature · 3 lines
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/