From: Luca Boccassi Date: Tue, 2 Dec 2025 14:16:27 +0000 (+0000) Subject: cryptsetup: downgrade dlopen not compiled message to debug X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce3acf9acbaee0a8859c1e58c22f307ba9b2a3b6;p=thirdparty%2Fsystemd.git 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 --- 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 }