+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)
+ * Revert NEED_MOUNTD patch; mountd is always needed, also for NFSv4.
+
+ -- Steinar H. Gunderson <sesse@debian.org> Sun, 04 Nov 2007 13:05:57 +0000
+
nfs-utils (1:1.1.1-7) unstable; urgency=low
* More init script breakage: Fix default value of NEED_STATD.
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 ]
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
-# Do you want to start the mountd daemon? It is not required for NFSv4.
-# Valid alternatives are "yes" and "no"; the default is "yes".
-NEED_MOUNTD=
-
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=
-NEED_MOUNTD=yes
NEED_SVCGSSD=no
RPCSVCGSSDOPTS=
PROCNFSD_MOUNTPOINT=/proc/fs/nfsd
fi
fi
- if [ "$NEED_MOUNTD" != "no" ]; then
- log_progress_msg "mountd"
- start-stop-daemon --start --oknodo --quiet \
- --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS
- if [ $? != 0 ]; then
- log_end_msg $?
- exit $?
- fi
+ log_progress_msg "mountd"
+ start-stop-daemon --start --oknodo --quiet \
+ --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS
+ if [ $? != 0 ]; then
+ log_end_msg $?
+ exit $?
fi
log_end_msg 0
stop)
log_daemon_msg "Stopping $DESC"
- if [ "$NEED_MOUNTD" != "no" ]; then
- log_progress_msg "mountd"
- start-stop-daemon --stop --oknodo --quiet \
- --name rpc.mountd --user 0
- if [ $? != 0 ]; then
- log_end_msg $?
- exit $?
- fi
+ log_progress_msg "mountd"
+ start-stop-daemon --stop --oknodo --quiet \
+ --name rpc.mountd --user 0
+ if [ $? != 0 ]; then
+ log_end_msg $?
+ exit $?
fi
if [ "$NEED_SVCGSSD" = "yes" ]; then