Hello community,

here is the log from the commit of package lsof for openSUSE:Factory checked in 
at 2016-08-29 14:26:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lsof (Old)
 and      /work/SRC/openSUSE:Factory/.lsof.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lsof"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lsof/lsof.changes        2016-05-19 
12:03:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lsof.new/lsof.changes   2016-08-29 
14:26:34.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 26 12:33:49 UTC 2016 - [email protected]
+
+- add lsof_4.89-nfs_hanging.patch to prevent 'lsof -b' from hanging
+  when NFS server is unavailable [bsc#995061]
+
+-------------------------------------------------------------------

New:
----
  lsof_4.89-nfs_hanging.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lsof.spec ++++++
--- /var/tmp/diff_new_pack.hEZBBx/_old  2016-08-29 14:26:36.000000000 +0200
+++ /var/tmp/diff_new_pack.hEZBBx/_new  2016-08-29 14:26:36.000000000 +0200
@@ -30,6 +30,8 @@
 Patch1:         lsof_4.81-fmt.patch
 Patch2:         lsof-no-build-date-etc.patch
 Patch3:         lsof_4.81-perl.patch
+# PATCH-FIX-UPSTREAM bnc#995061 [email protected] -- prevent 'lsof -b' from 
hanging when NFS server is unavailable
+Patch4:         lsof_4.89-nfs_hanging.patch
 BuildRequires:  libselinux-devel
 BuildRequires:  xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -48,6 +50,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 ./Configure -n linux

++++++ lsof_4.89-nfs_hanging.patch ++++++
Index: lsof_4.89_src/dialects/linux/dmnt.c
===================================================================
--- lsof_4.89_src.orig/dialects/linux/dmnt.c
+++ lsof_4.89_src/dialects/linux/dmnt.c
@@ -535,6 +535,9 @@ readmnt()
                if ((nfs = strcasecmp(fp[2], "nfs3")))
                    nfs = strcasecmp(fp[2], "nfs4");
            }
+           if (! nfs)
+                 HasNFS = 1;
+
            if (mp) {
 
            /*

Reply via email to