diff --git a/nfs-utils.changes b/nfs-utils.changes index 34d22de..1f50b7a 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 12 05:18:17 UTC 2011 - nfbrown@suse.com + +- nfs.init: handle case where kernel adds trailing + slash to name in /proc/mounts. + (bnc#722431 bnc#720376) + ------------------------------------------------------------------- Sat Oct 1 15:24:33 UTC 2011 - crrodriguez@opensuse.org diff --git a/nfs.init b/nfs.init index 70f2cc5..3d4c9a1 100644 --- a/nfs.init +++ b/nfs.init @@ -61,7 +61,8 @@ while read -r what where type options rest ; do esac nfs=yes if test "$1" = status ; then - grep -qF "$what $where nfs" /proc/mounts && continue + grep -qF "$what $where nfs +$what/ $where nfs" /proc/mounts && continue state=3 continue fi