Package: nfs-kernel-server Version: 1:1.2.3-1 Followup-For: Bug #620059 The fault shows up during boot. It appears to be mountd that fails. The modified script is because I added -d all to the rpc.mount options in an attempt to find out what was going wrong. It didn't help.
rpcinfo -p shows this, no mountd. program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100021 1 udp 48510 nlockmgr 100021 3 udp 48510 nlockmgr 100021 4 udp 48510 nlockmgr 100021 1 tcp 34536 nlockmgr 100021 3 tcp 34536 nlockmgr 100021 4 tcp 34536 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 391002 2 tcp 638 sgi_fam -- Package-specific info: -- rpcinfo -- program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100021 1 udp 48510 nlockmgr 100021 3 udp 48510 nlockmgr 100021 4 udp 48510 nlockmgr 100021 1 tcp 34536 nlockmgr 100021 3 tcp 34536 nlockmgr 100021 4 tcp 34536 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 391002 2 tcp 638 sgi_fam -- /etc/default/nfs-kernel-server -- RPCNFSDCOUNT=8 RPCNFSDPRIORITY=0 RPCMOUNTDOPTS=--manage-gids NEED_SVCGSSD= RPCSVCGSSDOPTS= -- /etc/exports -- /home burnside(rw,sync,no_subtree_check) schur(rw,sync,no_subtree_check) abel(rw,sync,no_subtree_check) wedderburn(rw,sync,no_subtree_check) brauer(rw,sync,no_subtree_check) lagrange(rw,sync,no_subtree_check) iv1(rw,sync,no_subtree_check) sylow(rw,sync,no_subtree_check) eeepc(rw,sync,no_subtree_check) /disk1 burnside(rw,sync,no_subtree_check) schur(rw,sync,no_subtree_check) abel(rw,sync,no_subtree_check) wedderburn(rw,sync,no_subtree_check) brauer(rw,sync,no_subtree_check) lagrange(rw,sync,no_subtree_check) iv1(rw,sync,no_subtree_check) sylow(rw,sync,no_subtree_check) /disk2 burnside(rw,sync,no_subtree_check) schur(rw,sync,no_subtree_check) abel(rw,sync,no_subtree_check) wedderburn(rw,sync,no_subtree_check) brauer(rw,sync,no_subtree_check) lagrange(rw,sync,no_subtree_check) iv1(rw,sync,no_subtree_check) sylow(rw,sync,no_subtree_check) /disk3 burnside(rw,sync,no_subtree_check) schur(rw,sync,no_subtree_check) abel(rw,sync,no_subtree_check) wedderburn(rw,sync,no_subtree_check) brauer(rw,sync,no_subtree_check) lagrange(rw,sync,no_subtree_check) iv1(rw,sync,no_subtree_check) sylow(rw,sync,no_subtree_check) -- /proc/fs/nfs/exports -- # Version 1.1 # Path Client(Flags) # IPs -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages nfs-kernel-server depends on: ii libblkid1 2.17.2-9.1 block device id library ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libcomerr2 1.41.12-2 common error description library ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k ii libgssglue1 0.1-4 mechanism-switch gssapi library ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries ii libnfsidmap2 0.24-1 An nfs idmapping library ii libtirpc1 0.2.1-1 transport-independent RPC library ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip ii nfs-common 1:1.2.3-1 NFS support files common to client ii ucf 3.0025+nmu1 Update Configuration File: preserv nfs-kernel-server recommends no packages. nfs-kernel-server suggests no packages. -- Configuration Files: /etc/init.d/nfs-kernel-server changed: DESC="NFS kernel daemon" PREFIX=/usr [ -x $PREFIX/sbin/rpc.nfsd ] || exit 0 [ -x $PREFIX/sbin/rpc.mountd ] || exit 0 [ -x $PREFIX/sbin/exportfs ] || exit 0 DEFAULTFILE=/etc/default/nfs-kernel-server RPCNFSDCOUNT=8 RPCNFSDPRIORITY=0 RPCMOUNTDOPTS= NEED_SVCGSSD=no RPCSVCGSSDOPTS= PROCNFSD_MOUNTPOINT=/proc/fs/nfsd if [ -f $DEFAULTFILE ]; then . $DEFAULTFILE fi . /lib/lsb/init-functions do_modprobe() { if [ -x /sbin/modprobe -a -f /proc/modules ] then modprobe -q "$1" || true fi } do_mount() { if ! grep -E -qs "$1\$" /proc/filesystems then return 1 fi if ! mountpoint -q "$2" then mount -t "$1" "$1" "$2" return fi return 0 } case "$1" in start) if [ -f /etc/exports ] then do_modprobe nfsd # See if our running kernel supports the NFS kernel server if ! grep -E -qs "[[:space:]]nfsd\$" /proc/filesystems; then log_warning_msg "Not starting $DESC: no support in current kernel." exit 0 fi do_mount nfsd $PROCNFSD_MOUNTPOINT || NEED_SVCGSSD=no log_begin_msg "Exporting directories for $DESC..." $PREFIX/sbin/exportfs -r RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi log_end_msg 0 log_daemon_msg "Starting $DESC" log_progress_msg "nfsd" # See if portmap or rpcbind are running (cat </dev/null >/dev/tcp/localhost/111) 2>/dev/null RET=$? if [ $RET != 0 ]; then echo log_warning_msg "Not starting: portmap daemon is not running" exit 0 fi start-stop-daemon --start --oknodo --quiet \ --nicelevel $RPCNFSDPRIORITY \ --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi # make sure 127.0.0.1 is a valid source for requests ClearAddr= if [ -f /proc/net/rpc/auth.unix.ip/channel ] then fgrep -qs 127.0.0.1 /proc/net/rpc/auth.unix.ip/content || { echo "nfsd 127.0.0.1 2147483647 localhost" >/proc/net/rpc/auth.unix.ip/channel ClearAddr=yes } fi $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 || RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3 -d all" [ -z "$ClearAddr" ] || echo "nfsd 127.0.0.1 1" >/proc/net/rpc/auth.unix.ip/channel if [ "$NEED_SVCGSSD" = "yes" ]; then do_modprobe rpcsec_gss_krb5 log_progress_msg "svcgssd" start-stop-daemon --start --oknodo --quiet \ --exec $PREFIX/sbin/rpc.svcgssd -- $RPCSVCGSSDOPTS RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi fi log_progress_msg "mountd" start-stop-daemon --start --oknodo --quiet \ --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi log_end_msg 0 else log_warning_msg "Not starting $DESC: no exports." fi ;; stop) log_daemon_msg "Stopping $DESC" log_progress_msg "mountd" start-stop-daemon --stop --oknodo --quiet \ --name rpc.mountd --user 0 RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi if [ "$NEED_SVCGSSD" = "yes" ]; then log_progress_msg "svcgssd" start-stop-daemon --stop --oknodo --quiet \ --name rpc.svcgssd --user 0 RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi fi log_progress_msg "nfsd" start-stop-daemon --stop --oknodo --quiet \ --name nfsd --user 0 --signal 2 RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi log_end_msg 0 log_begin_msg "Unexporting directories for $DESC..." $PREFIX/sbin/exportfs -au RET=$? if [ $RET != 0 ]; then log_end_msg $RET exit $RET fi log_end_msg 0 if mountpoint -q $PROCNFSD_MOUNTPOINT then $PREFIX/sbin/exportfs -f fi ;; status) if pidof nfsd >/dev/null then echo "nfsd running" exit 0 else echo "nfsd not running" exit 3 fi ;; reload | force-reload) log_begin_msg "Re-exporting directories for $DESC..." $PREFIX/sbin/exportfs -r RET=$? log_end_msg $RET exit $RET ;; restart) $0 stop sleep 1 $0 start ;; *) log_success_msg "Usage: nfs-kernel-server {start|stop|status|reload|force-reload|restart}" exit 1 ;; esac exit 0 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org