[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] systemd: add support initial systemd service files



On Wed, 12 Mar 2014, Ian Campbell wrote:

On Wed, 2014-03-12 at 10:07 +0100, Jacek Konieczny wrote:

This is what we have inPLD Linux (currently for Xen 4.3.2), probably
based on work from some other distro (Fedora, I guess):

FWIW I believe Michael has added stuff to Fedora, whether the inPLD
stuff is based on it I can't say. I've CCd him.


https://github.com/pld-linux/xen/blob/master/xen-watchdog.service
https://github.com/pld-linux/xen/blob/master/xenconsoled.service
https://github.com/pld-linux/xen/blob/master/xendomains.service
https://github.com/pld-linux/xen/blob/master/xenstored.service

They look to be based on the Fedora ones which I wrote.

Fedora has the following systemd files (in xen-4.3)

proc-xen.mount - to mount /proc/xen

var-lib-xenstored.mount - to create a tmpfs mount at /var/lib/xenstored

xenstored.service - to start xenstored (if /proc/xen/capabilities exists)
and to set /local/domain/0/name in xenstore

oxenstored.service - the same as xenstored.service but to start oxenstored.
It conflicts with xenstored.service which means it should get started instead of xenstored if both are installed

blktapctrl.service - to start blktapctrl though I don't think it has ever been useful in Fedora and I intend to drop it when I build a xen 4.4.0 package.

xenconsoled.service - to start xenconsoled

xend.service - to start xend

xen-watchdog.service - to start xenwatchdogd

xendomains.service - to run what is essentially a copy of the xendomains script with minor changes to take out the Fedora success/failure actions which caused problems when I first wrote the systemd file. It might be possible to modify the xendomains init.d script so it works in both init.d and systemd contexts.

These don't try to start a qemu-xen instance as the current xencommons init.d script does, and we would probably need a xencommons.service to stop a xencommons init.d script being run.

        Michael Young



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.