From cc65b1015d1bb8ef4028ff72d642bc264e4d0225 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 Nov 2013 16:35:54 +0100 Subject: vsftpd: Disable seccomp filtering on 64-bit It worked on Linux 3.4 but fails with "500 OOPS: priv_sock_get_cmd" since we updated the default kernel to 3.10. http://hydra.nixos.org/build/6715359 https://bugzilla.redhat.com/show_bug.cgi?id=845980 https://bugzilla.novell.com/show_bug.cgi?id=786024 --- nixos/modules/services/networking/vsftpd.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/services/networking/vsftpd.nix') diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix index cfd8530717e..1c77cc6df4e 100644 --- a/nixos/modules/services/networking/vsftpd.nix +++ b/nixos/modules/services/networking/vsftpd.nix @@ -88,6 +88,9 @@ let nopriv_user=vsftpd secure_chroot_dir=/var/empty syslog_enable=YES + ${optionalString (pkgs.stdenv.system == "x86_64-linux") '' + seccomp_sandbox=NO + ''} ''; in -- cgit 1.4.1