On Tue, Jul 31, 2007 at 09:07:46AM -0600, LaMont Jones wrote: > > nfsd /proc/fs/nfsd nfsd rw 0 0 > Actually, that's the line that's causing it... I need to not match on > 'nfsd' type mounts...
Which I already don't do... Using the attached mount.preinst, could you run "sh -x mount.preinst upgrade" and send me the output? The bug doesn't reproduce here for me. thanks, lamont
#!/bin/sh -e # Debian mount preinst # LaMont Jones <[EMAIL PROTECTED]> ### do we have debconf? ##if [ -f /usr/share/debconf/confmodule ]; then ## . /usr/share/debconf/confmodule ## DEBCONF=true ##else ## DEBCONF= ##fi case "$1" in install) ;; upgrade) version=$2 export LANG=C # for the comparison of mail version... NFS_IN_USE=$(sed -n '/^[^ ]* [^ ]* nfs /p' /proc/mounts) if [ -n "$NFS_IN_USE" ] && [ ! -x /sbin/mount.nfs ] ; then cat << EOF You have NFS mounts, and this version of mount requires that nfs-common be upgraded before NFS mounts will work. Aborting install. EOF exit 1 fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac