nixos/tests/chrony: graphene-hardened works without mlock (#423342)

This commit is contained in:
Franz Pletz
2025-07-08 02:24:52 +02:00
committed by GitHub
3 changed files with 1 additions and 12 deletions
@@ -318,13 +318,6 @@ in
Alternatively, disable this behaviour by `services.chrony.enableRTCTrimming = false;`
'';
}
{
assertion = !(cfg.enable && config.environment.memoryAllocator.provider == "graphene-hardened");
message = ''
Chrony doesn't work with the graphene-hardened memory allocator set by
`environment.memoryAllocator.provider`.
'';
}
];
};
}
+1 -4
View File
@@ -1,14 +1,11 @@
{ lib, ... }:
{
name = "chrony";
meta.maintainers = with lib.maintainers; [ fpletz ];
nodes.machine = {
services.chrony.enable = true;
specialisation.hardened.configuration = {
services.chrony.enableMemoryLocking = true;
environment.memoryAllocator.provider = "graphene-hardened";
};
};
-1
View File
@@ -82,7 +82,6 @@ stdenv.mkDerivation rec {
illumos
];
maintainers = with lib.maintainers; [
fpletz
thoughtpolice
vifino
];