[libvirt PATCH 09/15] systemd: check org.freedesktop.machine1 registration

Ján Tomko jtomko at redhat.com
Tue Apr 7 09:50:31 UTC 2020

On a Monday in 2020, marcandre.lureau at redhat.com wrote:
>From: Marc-André Lureau <marcandre.lureau at redhat.com>
>Since commit f10bd740e178c89f24d0b0298d0b5413537d0699 ("Cache the
>presence of machine1 service"), the code checks for systemd1
>registration. Not totally unreasonable, but that seems odd since we
>actually check machined presence in this function.

That is intentional.

We only count the systemd-based services as really activatable
if systemd1 is already registered.

On some Frankenstein'd Gentoo systems with systemd installed
but not started, the services were showing up as activatable
but failed with obscure errors.

Some history:
commit 12ee0b98d3ddcb2c71cdb2352512153791ebcb7e
     Check if systemd is running before creating machines

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200407/9db0a5b5/attachment-0001.sig>

More information about the libvir-list mailing list