File 0193-ftp-disable-seccomp-in-vsftpd-as-it-can-cause-proble.patch of Package erlang

From 10bd8294d07078047e1dbdd4f5c9368701359cc5 Mon Sep 17 00:00:00 2001
From: Alexander Clouter <alex@digriz.org.uk>
Date: Mon, 13 Jul 2020 12:53:04 +0100
Subject: [PATCH 03/14] ftp: disable seccomp in vsftpd as it can cause problems

---
 lib/ftp/test/ftp_SUITE_data/vsftpd.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/ftp/test/ftp_SUITE_data/vsftpd.conf b/lib/ftp/test/ftp_SUITE_data/vsftpd.conf
index 4568fad147..a91bf4d2f4 100644
--- a/lib/ftp/test/ftp_SUITE_data/vsftpd.conf
+++ b/lib/ftp/test/ftp_SUITE_data/vsftpd.conf
@@ -16,6 +16,10 @@ allow_anon_ssl=YES
 
 background=YES
 
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735357
+# https://technologytales.com/2013/09/21/turning-off-seccomp-sandbox-in-vsftpd/
+seccomp_sandbox=NO
+
 write_enable=YES
 anonymous_enable=YES
 anon_upload_enable=YES
@@ -30,4 +34,4 @@ require_ssl_reuse=NO
 #vsftpd_log_file=/devel/otp/vsftpd.log
 #xferlog_enable=YES
 #xferlog_std_format=NO
-#log_ftp_protocol=YES
\ No newline at end of file
+#log_ftp_protocol=YES
-- 
2.26.2

openSUSE Build Service is sponsored by