From ce3acf9acbaee0a8859c1e58c22f307ba9b2a3b6 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 2 Dec 2025 14:16:27 +0000 Subject: [PATCH] cryptsetup: downgrade dlopen not compiled message to debug Every other log in this function is debug level, so downgrade this too. Otherwise compiling without libcryptsetup means sd-executor logs at error level when starting any service, regardless of whether it is needed or not. Fixes https://github.com/systemd/systemd/issues/39968 Follow-up for efaf5a763d6a06645dba8e88ebc15e887d59cbef --- src/shared/cryptsetup-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/cryptsetup-util.c b/src/shared/cryptsetup-util.c index 19ded39cc98..7f5ab38ef8c 100644 --- a/src/shared/cryptsetup-util.c +++ b/src/shared/cryptsetup-util.c @@ -298,7 +298,7 @@ int dlopen_cryptsetup(void) { return 1; #else - return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in."); + return log_debug_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "cryptsetup support is not compiled in."); #endif } -- 2.47.3