Package: nfs-common Version: 1:1.1.1-8 Severity: normal File: /etc/init.d/nfs-common
Hello, this version of /etc/init.d/nfs-common doesn't load the nfs and
nfs4 modules:
nfs-utils (1:1.1.1-8) unstable; urgency=low
.
* When starting idmapd or gssd, load the sunrpc module instead of the
nfs/nfs4 modules; if the machine is server-only, it might not have
nfs/nfs4 (which are client-side modules) available.
(Closes: #449137)
The patch in #449137 being:
--- /etc/init.d/nfs-common-bak 2007-11-03 12:25:43.000000000 +0100
+++ /etc/init.d/nfs-common 2007-11-03 13:33:57.000000000 +0100
@@ -138,8 +138,7 @@ case "$1" in
if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]
then
- do_modprobe nfs
- do_modprobe nfs4
+ do_modprobe sunrpc
if do_mount rpc_pipefs $PIPEFS_MOUNTPOINT
then
if [ "$NEED_IDMAPD" = yes ]
This causes all nfs4 (and possibly nfs mounts, but I don't have any of
these) to fail. The comment in /etc/network/if-up.d/mountnfs (The file
which actually mounts all nfs mounts in fstab) seems to indicate that
nfs-common is responsible for loading the nfs4 modules:
"# Initialize nfs-common (which starts rpc.statd, rpc.gssd
# and/or rpc.idmapd, and loads the right kernel modules if
# applicable) if we use Kerberos and/or NFSv4 mounts."
Please revert the deletion of the do_modprobe nfs(4) calls. Missing
modules shouldn't cause the script to fail:
do_modprobe() {
if [ -x /sbin/modprobe -a -f /proc/modules ]
then
modprobe -q "$1" || true
fi
}
Best regards,
Silvestre
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nfs-common depends on:
ii adduser 3.105 add and remove users and groups
ii initscripts 2.86.ds1-38.1 Scripts for initializing and shutt
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libcomerr2 1.40.2-1 common error description library
ii libevent1 1.3e-1 An asynchronous event notification
ii libgssglue1 0.1-1 mechanism-switch gssapi library
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii libnfsidmap2 0.20-0 An nfs idmapping library
ii librpcsecgss3 0.17-1 allows secure rpc communication us
ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii netbase 4.30 Basic TCP/IP networking system
ii portmap 6.0-4 The RPC portmapper
ii ucf 3.003 Update Configuration File: preserv
nfs-common recommends no packages.
-- no debconf information
Viele Grüße,
Silvestre Zabala
--
http://silvestre.zabala.name/
signature.asc
Description: Digital signature

