From b4fd1b4fe2cf110b1ef362deb32d398991742ba1 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Wed, 24 Apr 2024 14:45:57 -0400 Subject: nixos/tests/prometheus-exporters: Fix test failure This fixes an issue with the test where olcDbDirectory must be a subdirectory of /var/lib/openldap, but is not configured as such, so the test fails. All other tests pass properly. --- nixos/tests/prometheus-exporters.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests') diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index 576253450814f..56569c4de2c85 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -907,7 +907,7 @@ let attrs = { objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ]; olcDatabase = "{1}mdb"; - olcDbDirectory = "/var/db/openldap"; + olcDbDirectory = "/var/lib/openldap/db"; olcSuffix = "dc=example"; olcRootDN = { # cn=root,dc=example -- cgit 1.4.1