Re: [Xen-devel] [PATCH v1] hotplug/Linux: fix starting of xenstored with systemd

2019-05-16 Thread Olaf Hering
Am Wed, 15 May 2019 17:06:32 +0200 schrieb Olaf Hering : > A followup change will remove the code which calls to sd_notify, they > are not needed after the separation of Type=oneshot for domain and > Type=simple for daemon. This is not accurate. Type=notify has to be used because units that do

[Xen-devel] [PATCH v1] hotplug/Linux: fix starting of xenstored with systemd

2019-05-15 Thread Olaf Hering
A hard to trigger race with another unrelated systemd service and xenstored.service unveiled a bug in the way how xenstored is launched with systemd. launch-xenstore may start either a daemon or a domain. In case a domain is used, systemd-notify was called. If another service triggered a restart