From 51652ac3aaa4c944023f9ad1dbc6a6858f9bacb4 Mon Sep 17 00:00:00 2001 From: Marius Bergmann Date: Thu, 3 Nov 2016 09:37:51 +0100 Subject: [PATCH] smokeping service: Use setuid-wrapped fping binary The current default probe config uses the unwrapped fping binary, which leads to an error because fping must be executed with elevated permissions. I fixed this by changing the path to the default binary to the setuid-wrapped version. --- nixos/modules/services/networking/smokeping.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/smokeping.nix b/nixos/modules/services/networking/smokeping.nix index 6084dbdbf78f..005655f111a1 100644 --- a/nixos/modules/services/networking/smokeping.nix +++ b/nixos/modules/services/networking/smokeping.nix @@ -221,7 +221,7 @@ in type = types.string; default = '' + FPing - binary = ${pkgs.fping}/bin/fping + binary = ${config.security.wrapperDir}/fping ''; description = "Probe configuration"; };