Package: nfs-kernel-server
Version: 1:1.0.7-3
Severity: minor
Tags: patch
I suggest the attached patch for nfs-kernel-server init script. With it applied
the confusing console output about svc version mismatch produced by rpcinfo
when running with the start option gets suppressed.
Thanks for your work
Stephan
*** Patch ***
diff -Nau nfs-kernel-server.orig nfs-kernel-server
--- nfs-kernel-server.orig 2004-12-04 22:39:05.000000000 +0100
+++ nfs-kernel-server 2006-02-21 15:49:34.000000000 +0100
@@ -88,7 +88,7 @@
}
fi
- $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
+ $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 \
+ /dev/console>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
[ -z "$ClearAddr" ] || echo "nfsd 127.0.0.1 1"
>/proc/net/rpc/auth.unix.ip/channel
*** Patch End ***
-- 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.14.3-aresius
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages nfs-kernel-server depends on:
ii debconf 1.4.70 Debian configuration management sy
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libcomerr2 1.38+1.39-WIP-2005.12.31-1 common error description library
ii libkrb53 1.4.3-5 MIT Kerberos runtime libraries
ii libnfsidmap1 0.8-1 An nfs idmapping library
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii nfs-common 1:1.0.7-3 NFS support files common to client
ii sysvinit 2.86.ds1-4 System-V like init
nfs-kernel-server recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]