From: Roman Bogorodskiy Date: Sun, 3 May 2026 07:56:02 +0000 (+0200) Subject: remote: install the secrets unit only for systemd X-Git-Tag: v12.4.0-rc1~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd13c3ee24fed7665df06f45f294059f07f839f5;p=thirdparty%2Flibvirt.git remote: install the secrets unit only for systemd Install the secrets unit only when the init script is systemd. Fixes: 2db552dc6ac17596720071fa91181055db7b82ee Signed-off-by: Roman Bogorodskiy Reviewed-by: Peter Krempa --- diff --git a/src/remote/meson.build b/src/remote/meson.build index dfd61df62f..25995fdbc2 100644 --- a/src/remote/meson.build +++ b/src/remote/meson.build @@ -345,7 +345,7 @@ endif # The monolithic libvirt daemon only attempts to load the # secrets encryption credentials if the secret driver is enabled -if conf.has('WITH_SECRETS') +if conf.has('WITH_SECRETS') and init_script == 'systemd' secret_dropin_conf = configuration_data({ 'localstatedir': localstatedir, })