3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #139957 from samueldr/fix/126289-regression

Provide submodule to `security.wrappers` for older kernels
This commit is contained in:
Samuel Dionne-Riel 2021-09-29 18:30:50 -04:00 committed by GitHub
commit eaf85fe8c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1139,10 +1139,12 @@ in
source = "${pkgs.iputils.out}/bin/ping";
};
} else {
setuid = true;
owner = "root";
group = "root";
source = "${pkgs.iputils.out}/bin/ping";
ping = {
setuid = true;
owner = "root";
group = "root";
source = "${pkgs.iputils.out}/bin/ping";
};
};
security.apparmor.policies."bin.ping".profile = lib.mkIf config.security.apparmor.policies."bin.ping".enable (lib.mkAfter ''
/run/wrappers/bin/ping {