From b741198116cc7c6d3df5c38b8f4531069bdbb13d Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sat, 26 Mar 2016 23:11:21 +0100 Subject: [PATCH] openafsClient: mark as broken on unsupported kernels Sandboxed builds against linux 3.14 and 4.4 fail; 3.18.29 and 4.3 succeed. From this, I conclude that 4.3 is the latest supported version, while the lower bound is set to the oldest kernel in nixpkgs >3.14 (the changelog does not indicate otherwise). It appears that openafs-client is simply incompatible with grsec; all hydra builds of openafs-client on grsec fail; local sandboxed builds against grsec with the most recent openafs-client also fail. --- pkgs/servers/openafs-client/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/openafs-client/default.nix b/pkgs/servers/openafs-client/default.nix index a6581612e1d..abc6d78f20c 100644 --- a/pkgs/servers/openafs-client/default.nix +++ b/pkgs/servers/openafs-client/default.nix @@ -44,5 +44,9 @@ stdenv.mkDerivation rec { license = licenses.ipl10; platforms = platforms.linux; maintainers = [ maintainers.z77z ]; + broken = + (builtins.compareVersions kernel.version "3.18" == -1) || + (builtins.compareVersions kernel.version "4.4" != -1) || + (kernel.features.grsecurity or false); }; }