From eb01d87b31a85b4446e56deacfe1e63dbca52552 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Tue, 28 May 2013 14:15:10 +0000 Subject: [PATCH] apparmor: Fix broken iputils/ping profile --- modules/security/apparmor-suid.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/security/apparmor-suid.nix b/modules/security/apparmor-suid.nix index b03047ac1f1a..bc661164fdc2 100644 --- a/modules/security/apparmor-suid.nix +++ b/modules/security/apparmor-suid.nix @@ -29,8 +29,12 @@ with pkgs.lib; network inet raw, ${pkgs.glibc}/lib/*.so mr, - /var/setuid-wrappers/ping.real mixr, - ${pkgs.iputils}/sbin/ping mixr, + ${pkgs.libcap}/lib/libcap.so* mr, + ${pkgs.attr}/lib/libattr.so* mr, + + ${pkgs.iputils}/bin/ping mixr, + /var/setuid-wrappers/ping.real r, + #/etc/modules.conf r, ## Site-specific additions and overrides. See local/README for details.