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
This commit is contained in:
Eelco Dolstra 2013-11-07 16:35:54 +01:00
parent 000962c3fb
commit cc65b1015d

View File

@ -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