|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] tools: remove systemd xenstore socket definitions
On 06/29/2016 02:00 PM, Juergen Gross wrote: On 29/06/16 14:52, Andrew Cooper wrote:On 29/06/16 13:44, Juergen Gross wrote: One problem with the patch as it currently is implemented is that the service type is not correct for when xenstored is a daemon. This makes it difficult to manage with systemd and difficult for other services to depend on it in a sensible fashion. The end result is subtle races and occasional failures. How about: * Maintain the existing service for xenstored* Have a separate service (with different a service type) for starting the xenstore domain * Switch between the two servicesPersonally I think it is better and more uniform for the administrator to enable and disable services in the normal fashion, but if you want to make it configurable with /etc/sysconfig/xencommons, then you can add something like this to xenstored.service: ExecStartPre=/bin/grep -q XENSTORETYPE=daemon /etc/sysconfig/xencommons and to xenstore-domain.service: ExecStartPre=/bin/grep -q XENSTORETYPE=domain /etc/sysconfig/xencommons Regards, -- Ross Lagerwall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |