summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfs.spec.in9
-rw-r--r--xlators/nfs/server/src/nlm4.c4
2 files changed, 5 insertions, 8 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 134af07707c..6225d12e631 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -473,7 +473,7 @@ Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: lvm2 >= 2.02.89
Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng
Requires: python2 attr dbench file git libacl-devel net-tools
-Requires: nfs-utils xfsprogs yajl
+Requires: nfs-utils xfsprogs yajl psmisc
%description regression-tests
The Gluster Test Framework, is a suite of scripts used for
@@ -523,9 +523,7 @@ Requires: %{name}-fuse%{?_isa} = %{version}-%{release}
# self-heal daemon, rebalance, nfs-server etc. are actually clients
Requires: %{name}-api%{?_isa} = %{version}-%{release}
Requires: %{name}-client-xlators%{?_isa} = %{version}-%{release}
-# psmisc for killall, lvm2 for snapshot, and nfs-utils and
-# rpcbind/portmap for gnfs server
-Requires: psmisc
+# lvm2 for snapshot, and nfs-utils and rpcbind/portmap for gnfs server
Requires: lvm2
Requires: nfs-utils
%if ( 0%{?_with_systemd:1} )
@@ -1250,6 +1248,9 @@ exit 0
%endif
%changelog
+* Mon Mar 20 2017 Niels de Vos <ndevos@redhat.com>
+- Drop dependency on psmisc, pkill is used instead of killall (#1197308)
+
* Thu Feb 16 2017 Niels de Vos <ndevos@redhat.com>
- Obsolete and Provide python-gluster for upgrading from glusterfs < 3.10
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c
index 3da3b2d1c05..8db149cece5 100644
--- a/xlators/nfs/server/src/nlm4.c
+++ b/xlators/nfs/server/src/nlm4.c
@@ -37,11 +37,7 @@
#include <rpc/xdr.h>
#include <statedump.h>
-#ifdef __NetBSD__
#define KILLALL_CMD "pkill"
-#else
-#define KILLALL_CMD "killall"
-#endif
/* TODO:
* 1) 2 opens racing .. creating an fd leak.