diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-07 16:35:54 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-07 16:38:57 +0100 |
commit | cc65b1015d1bb8ef4028ff72d642bc264e4d0225 (patch) | |
tree | fe2d2f9b67889738cf18ba7b8820ee791b67a9a0 /nixos/modules/services/networking/vsftpd.nix | |
parent | 000962c3fb53dcbe07e365875623d2d19fb4cdf6 (diff) | |
download | nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar.gz nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar.bz2 nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar.lz nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar.xz nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.tar.zst nixpkgs-cc65b1015d1bb8ef4028ff72d642bc264e4d0225.zip |
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
Diffstat (limited to 'nixos/modules/services/networking/vsftpd.nix')
-rw-r--r-- | nixos/modules/services/networking/vsftpd.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 |