nixos/tests/chrony: graphene-hardened works without mlock (#423342)
This commit is contained in:
@@ -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,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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -82,7 +82,6 @@ stdenv.mkDerivation rec {
|
||||
illumos
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
fpletz
|
||||
thoughtpolice
|
||||
vifino
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user