Hello community, here is the log from the commit of package nfs-utils for openSUSE:Factory checked in at 2012-10-07 19:53:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nfs-utils (Old) and /work/SRC/openSUSE:Factory/.nfs-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nfs-utils", Maintainer is "NFBrown@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/nfs-utils/nfs-utils.changes 2012-07-20 10:24:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nfs-utils.new/nfs-utils.changes 2012-10-07 19:53:41.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Sep 27 02:10:53 UTC 2012 - nfbrown@suse.com + +- nfs4-no-umount: does send MOUNT_UMNT rpcs + when unmounting an 'nfs4' filesystem. They + are only required for nfs2,3. (bnc#772534) + +------------------------------------------------------------------- New: ---- nfs4-no-umount ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nfs-utils.spec ++++++ --- /var/tmp/diff_new_pack.imPWlE/_old 2012-10-07 19:53:43.000000000 +0200 +++ /var/tmp/diff_new_pack.imPWlE/_new 2012-10-07 19:53:43.000000000 +0200 @@ -60,6 +60,7 @@ Patch1: remove_pretty_sig.patch Patch2: mkdir-sbin Patch3: mount-exit-code.fix +Patch4: nfs4-no-umount Suggests: python-base %description @@ -139,6 +140,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 cp %{S:6} . %build ++++++ nfs4-no-umount ++++++
From b0b342201140530c5b9e00408f12d22258df7c4e Mon Sep 17 00:00:00 2001 From: NeilBrown
Date: Mon, 6 Aug 2012 08:41:13 -0400 Subject: [PATCH] umount: use correct return value for is_vers4.
is_vers4 in mount_libmount.c is based on nfs_umount_is_vers4
in nfsumount.c, except the return values are reversed.
The result of this is:
- a MOUNT_UMNT call is not sent when an NFSv3 or NFSv2
filesystem is unmounted
- a MOUNT_UMNT call *is* sent when and 'nfs4' filesystem
is unmounted (but not when an 'nfs -o vers=4 filesystem
is unmounted, as that is checked elsewhere).
Signed-off-by: NeilBrown