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

Bug#693549: nfs-kernel-server: NFS Exports with domain names don't load at reboot



Package: nfs-kernel-server
Version: 1:1.2.2-4squeeze2
Severity: normal


Hi,

Similar to bug #598493.

Setup:
- NFS server with an export that has a DNS name in it
- Separate DNS server
- NFS server has allow-hotplug in /etc/network/interfaces

Problem:
On reboot, the NFS server doesn't have any exports. After reboot,
if you login and run exportfs -r then it will load them fine.

Errors:
exportfs complains that each name in /etc/exports "has non-inet addr"

Temporary Solution:
If you change allow-hotplug to auto in /etc/network/interfaces then
all works fine. Note allow-hotplug is default for fresh installs.

Is there some way to make the init script require that the network device
is up before running exportfs?

Cheers,

Hugh

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages nfs-kernel-server depends on:
ii  libblkid1           2.17.2-9             block device id library
ii  libc6               2.11.3-4             Embedded GNU C Library: Shared lib
ii  libcomerr2          1.41.12-4stable1     common error description library
ii  libgssapi-krb5-2    1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries - k
ii  libgssglue1         0.1-4                mechanism-switch gssapi library
ii  libk5crypto3        1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries - C
ii  libkrb5-3           1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries
ii  libnfsidmap2        0.23-2               An nfs idmapping library
ii  librpcsecgss3       0.19-2               allows secure rpc communication us
ii  libwrap0            7.6.q-19             Wietse Venema's TCP wrappers libra
ii  lsb-base            3.2-23.2squeeze1     Linux Standard Base 3.2 init scrip
ii  nfs-common          1:1.2.2-4squeeze2    NFS support files common to client
ii  ucf                 3.0025+nmu1          Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information


Reply to: