From 184c39d298841228e48067a5f48adb5a9caf6d6f Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 21 Sep 2020 14:51:06 +0200 Subject: [PATCH] disable socket_wrapper on archs where it causes problems --- ocserv.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocserv.spec b/ocserv.spec index 021a1fa..764219e 100644 --- a/ocserv.spec +++ b/ocserv.spec @@ -92,7 +92,11 @@ BuildRequires: systemd BuildRequires: systemd-devel BuildRequires: liboath-devel BuildRequires: uid_wrapper +# Disable socket_wrapper on certain architectures because it +# introduces new syscalls that the worker cannot handle. +%ifnarch aarch64 %{ix86} %{arm} BuildRequires: socket_wrapper +%endif BuildRequires: gnupg2 %if 0%{?rhel} && 0%{?rhel} >= 7