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

Bug#598493: still broken in squeeze release



nfs-common 1:1.2.2-4
nfs-kernel-server 1:1.2.2-4
portmap 6.0.0-2

I'm seeing this issue -- or what appears to be the same issue -- on a
machine that was upgraded from lenny to squeeze.  Specifically, the
export list is empty immediately after booting:

img2:/# shutdown -r now

...

imadev:~$ ssh root@img2
root@img2's password: 
Linux img2 2.6.32-5-686 #1 SMP Wed Jan 12 04:01:41 UTC 2011 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Feb 17 08:53:50 2011 from imadev.eeg.ccf.org
img2:~# showmount -e
Export list for img2:
img2:~# 


I have bootlogd enabled, and it appears to be running an "exportfs -a":

Thu Feb 17 09:05:35 2011: INIT: Entering runlevel: 2
Thu Feb 17 09:05:35 2011: Using makefile-style concurrent boot in runlevel 2.
Thu Feb 17 09:05:35 2011: Starting portmap daemon...Already running..
Thu Feb 17 09:05:35 2011: Starting NFS common utilities: statd idmapd.
Thu Feb 17 09:05:36 2011: Exporting directories for NFS kernel daemon...exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "jabba.eeg.ccf.org:/data1".
Thu Feb 17 09:05:36 2011:   Assuming default behaviour ('no_subtree_check').
Thu Feb 17 09:05:36 2011:   NOTE: this default has changed since nfs-utils version 1.0.x
Thu Feb 17 09:05:36 2011: 
Thu Feb 17 09:05:36 2011: exportfs: jabba.eeg.ccf.org has non-inet addr
Thu Feb 17 09:05:36 2011: exportfs: jabba.eeg.ccf.org has non-inet addr


It's giving me that "non-inet addr" error on every host.  So, I guess
name lookups are failing -- but I don't understand why.  It uses other
machines on the network for DNS, and that's all configured properly:

img2:~# grep host /etc/nsswitch.conf 
hosts:          files dns


img2:~# cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       img2.eeg.ccf.org        img2
10.76.143.59    img2.eeg.ccf.org        img2 boba

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


img2:~# cat /etc/resolv.conf
domain eeg.ccf.org
search eeg.ccf.org
nameserver 10.76.142.43
nameserver 10.76.142.84
nameserver 10.88.22.37


If I manually run "exportfs -a" after logging in, then NFS works properly
(although showmount's output is still wrong -- I'll file a separate bug
for that).



Reply to: