Package: nfs-kernel-server
Version: 1:1.0.7-1
Severity: minor

My system does not have module support, so, while the init script succeeds,
it complains about modprobe missing, which soils my bootlog:

Sat Feb 12 14:07:24 2005: /etc/rc2.d/S20nfs-kernel-server: line 38: modprobe: 
command not
found

May I suggest this:

--- nfs-kernel-server~  2005-02-12 14:18:24.000000000 +0100
+++ nfs-kernel-server   2005-02-12 14:18:24.000000000 +0100
@@ -35,7 +35,10 @@
 fi

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

 do_mount() {



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages nfs-kernel-server depends on:
ii  debconf                    1.4.45        Debian configuration management sy
ii  libc6                      2.3.2.ds1-20  GNU C Library: Shared libraries an
ii  libcomerr2                 1.36release-1 common error description library
ii  libkrb53                   1.3.6-1       MIT Kerberos runtime libraries
ii  libnfsidmap1               0.8-1         An nfs idmapping library
ii  libwrap0                   7.6.dbs-6     Wietse Venema's TCP wrappers libra
ii  nfs-common                 1:1.0.7-1     NFS support files common to client
ii  sysvinit                   2.86.ds1-1    System-V like init

-- no debconf information


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

Reply via email to