[libvirt] [PATCH] Check if systemd is the init before creating machines

Ján Tomko jtomko at redhat.com
Fri Feb 28 17:25:47 UTC 2014


On 02/28/2014 12:05 PM, Daniel P. Berrange wrote:
> On Thu, Feb 27, 2014 at 09:29:24PM +0100, Ján Tomko wrote:
>> If systemd is installed, but not the init system,
>> systemd-machined fails with an unhelpful error message:
>> Launch helper exited with unknown return code 1
>>
>> Fall back to manual cgroup creation if systemd is installed,
>> but it's not PID 1.
>>
>> [1] https://bugs.freedesktop.org/show_bug.cgi?id=69962
>> ---
> 
> Huh, that bug doesn't mention libvirt or systemd-machined
> at all ?

Sorry, I must've been writing faster than thinking.


Some libvirt users ([1][2]) have reported this error with installed but
inactive systemd, where system dbus is running and the machine1 service shows
up in ListActivatableNames output, but it's not actually usable.

Perhaps https://bugs.gentoo.org/show_bug.cgi?id=493246
would be a better bug for the commit message, but it seems to track multiple
issues and it only mentions the error in the comments.

Jan

[1] https://www.redhat.com/archives/libvirt-users/2014-January/msg00043.html
[2] https://www.redhat.com/archives/libvirt-users/2014-February/msg00128.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140228/ec158740/attachment-0001.sig>


More information about the libvir-list mailing list