Package: nfs-common
Version: 1:1.0.10-2
Severity: normal

The last version of the nfs-common init script assumes that:
- we are using a kernel with modules support compiled
- modutils/module-init-tools are installed
- we want to load nfs4 support (even if we only use nfs3)

We should check that /proc/modules exists, and that /sbin/modprobe is 
present and executable

--- nfs-common.orig     2006-10-23 10:52:32.000000000 +0200
+++ nfs-common  2006-10-23 10:52:44.000000000 +0200
@@ -112,7 +112,10 @@ esac
 [ -x /usr/sbin/rpc.gssd     ] || [ "$NEED_GSSD"   = no ] || exit 0

 do_modprobe() {
-    modprobe -q "$1" || true
+    if [ -x /sbin/modprobe -a -f /proc/modules ]
+    then
+        modprobe -q "$1" || true
+    fi
 }

 do_mount() {

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nfs-common depends on:
ii  adduser                      3.97        Add and remove users and groups
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libcomerr2                   1.39-1      common error description library
ii  libevent1                    1.1a-1      An asynchronous event notification
ii  libgssapi2                   0.10-3      A mechanism-switch gssapi library
ii  libkrb53                     1.4.4-3     MIT Kerberos runtime libraries
ii  libnfsidmap2                 0.17-3      An nfs idmapping library
ii  librpcsecgss3                0.14-2      allows secure rpc communication us
ii  lsb-base                     3.1-15      Linux Standard Base 3.1 init scrip
ii  netbase                      4.25        Basic TCP/IP networking system
ii  portmap                      5-20        The RPC portmapper
ii  ucf                          2.0015      Update Configuration File: preserv

nfs-common recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to