glusterfs/glusterfs-3.9.0.configure.ac.patch
Kaleb S. KEITHLEY c1dc434dbb firewalld fixes
2017-01-06 12:57:26 -05:00

12 lines
494 B
Diff

--- glusterfs-3.9.0/configure.ac.orig 2017-01-06 12:44:28.270940821 -0500
+++ glusterfs-3.9.0/configure.ac 2017-01-06 12:46:19.781940821 -0500
@@ -810,7 +810,7 @@
[BUILD_FIREWALLD="${enableval}"], [BUILD_FIREWALLD="no"])
if test "x${BUILD_FIREWALLD}" = "xyes"; then
- if !(which firewalld 1>/dev/null 2>&1) ; then
+ if !(test -d /usr/lib/firewalld/services 1>/dev/null 2>&1) ; then
BUILD_FIREWALLD="no (firewalld not installed)"
fi
fi