On Sun, May 03, 2026 at 11:12:37 +0200, Roman Bogorodskiy wrote: > Install the secrets unit only when the init script is systemd. > > Fixes: 2db552dc6ac17596720071fa91181055db7b82ee > Signed-off-by: Roman Bogorodskiy <[email protected]> > --- > src/remote/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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, > }) > -- > 2.52.0 >
Reviewed-by: Peter Krempa <[email protected]>
