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

Bug#743626: nfs-kernel-server doesn't startup reliable. Needs 'reload' or 'restart' in order to work



Package: nfs-kernel-server
Version: 1:1.2.6-4
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
Upgrading from Debian Squeeze to Wheezy.
I never had any problems of this kind with former versions of Debian (Sqeeze,
Lenny, ..).

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Mounting a nfs-share leads to
"mount.nfs: access denied by server while mounting server:home/"
at the client and to syslog entry on the server like
"rpc.mountd[3073]: refused mount request from 192.168.001.32 for /home (/home):
unmatched host"
or
"rpc.mountd[3073]: refused mount request from
2002:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx for /home (/home): unmatched host"

But  "host {IP-Addr}" gives exactly the name of the host as it is written in
the exports-file or returned by exportfs.

Till now the problem could always be solved with a "/etc/init.d/nfs-kernel-
server restart" run as root,
sometimes, but not always, a "/etc/init.d/nfs-kernel-server reload" did it as
well.

Once by chance I mentioned that exportfs was empty. In this very case a
"exportfs -a" solved the problem.

This issue occurs on amd64 and i386 machines.
It looks to me like other services or information needed by nfs-kernel-server
aren't yet ready when it starts up, leaving it up in an semi-configured state.
Because when the system is up. a "restart" of the nsf-kernel-server always
leads to a functional nfs-server.




-- Package-specific info:
-- rpcinfo --
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  39315  status
    100024    1   tcp  48325  status
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049
    100227    3   tcp   2049
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049
    100227    3   udp   2049
    100021    1   udp  39480  nlockmgr
    100021    3   udp  39480  nlockmgr
    100021    4   udp  39480  nlockmgr
    100021    1   tcp  51715  nlockmgr
    100021    3   tcp  51715  nlockmgr
    100021    4   tcp  51715  nlockmgr
    100005    1   udp  50261  mountd
    100005    1   tcp  53975  mountd
    100005    2   udp  54057  mountd
    100005    2   tcp  46722  mountd
    100005    3   udp  34905  mountd
    100005    3   tcp  56788  mountd
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /etc/exports --
/home		AcerOne.fritz.box(ro,no_root_squash,async,no_subtree_check)\
	Lenovo.fritz.box(ro,no_root_squash,async,no_subtree_check)\
	Siemens.fritz.box(ro,no_root_squash,async,no_subtree_check)\
	Terra.fritz.box(ro,no_root_squash,async,no_subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs
/	Terra.fritz.box(ro,root_squash,sync,no_wdelay,no_subtree_check,v4root,fsid=0,uuid=b5b20ae5:c0134e11:b421169b:785fb398)
/home	Terra.fritz.box(ro,no_root_squash,async,wdelay,no_subtree_check,uuid=31ba8f4f:176b476f:a1381778:735700d3)

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-kernel-server depends on:
ii  libblkid1   2.20.1-5.3
ii  libc6       2.13-38+deb7u1
ii  libtirpc1   0.2.2-5
ii  libwrap0    7.6.q-24
ii  lsb-base    4.1+Debian8+deb7u1
ii  nfs-common  1:1.2.6-4
ii  ucf         3.0025+nmu3

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information


Reply to: