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

Re: [Xen-devel] [PATCH v3 7/7] systemd: add support initial xen systemd service files



On Thu, 20 Mar 2014, Luis R. Rodriguez wrote:

On Thu, Mar 20, 2014 at 2:19 PM, M A Young <m.a.young@xxxxxxxxxxxx> wrote:
I think you missed my point.

Indeed.

For xen 4.3, which is I am guessing is the version of the Fedora package you 
took the systemd files from

I snatched what I could from git://pkgs.fedoraproject.org/xen.git

you have

ExecStartPost=-/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"

For xen 4.4 and later you need

ExecStartPost=-/usr/bin/xenstore-write "/local/domain/0/domid" 0

as well.

As well as in both? If not then I would prefer to deal only with what
is required for upstream and let packages deal with this for their own
versions.

You need both lines in both xenstored.service and oxenstored.service. This reflects this commit
http://xenbits.xenproject.org/gitweb/?p=xen.git;a=commit;h=02ebea7768fe723deaa56c2cfcb860874544b47d
adding the second line to the xencommons init.d scripts between xen 4.3 and xen 4.4 . I know from testing that you can have trouble starting guests with xl if you leave the second line out.

        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®.