From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
To: M A Young <m.a.young@durham.ac.uk>
Cc: "Ian Campbell" <ian.campbell@citrix.com>,
"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>,
"Jan Rękorajski" <baggins@pld-linux.org>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"Jacek Konieczny" <jajcus@jajcus.net>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v3 7/7] systemd: add support initial xen systemd service files
Date: Thu, 20 Mar 2014 14:02:59 -0700 [thread overview]
Message-ID: <CAB=NE6XyNMQoTc7Tnd308ZkuVNkeHS2Ep+1GCgbn-PRJeXTiTg@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1403202050560.9090@procyon.dur.ac.uk>
On Thu, Mar 20, 2014 at 1:53 PM, M A Young <m.a.young@durham.ac.uk> wrote:
> I have not read through this fully, but xenstored.service and
> oxenstored.service need an additional line like
> ExecStartPost=-/usr/bin/xenstore-write "/local/domain/0/domid" 0
> for xen 4.4 and later.
It was there for both, but now that I look at it I had only made this
optional to fail on oxenstore. The init script lets it fail so I
suppose letting it fail on both is OK, but perhaps its a good time to
think about if we want to allow that to fail.
While doing some more testing another thing I noticed was that the
trick I was expecting to work of having
xen-qemu-dom0-disk-backend.service.in to Require xenstored.socket
instead of either xenstored.service or oxenstored.service doesn't cut
it, even if we explicitly claim the socket within the store services.
Let me know if anyone sees a away to use logic within systemd to make
a service exclusively through sockets for services that provide their
own ExecStart but just don't see it now. If we can't find a way that
may mean we either have to write our own wrapper C program to check
for both or have this configurable upon build. As for the later I at
least don't get oxenstored being built by default, even though it
seems I probably should as that is the way of the future, so we'd have
to just lave the C xenstored as the default for now I guess.
Luis
next prev parent reply other threads:[~2014-03-20 21:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 21:07 [PATCH v3 7/7] systemd: add support initial xen systemd service files Luis R. Rodriguez
2014-03-20 20:53 ` M A Young
2014-03-20 21:02 ` Luis R. Rodriguez [this message]
2014-03-20 21:19 ` M A Young
2014-03-20 21:50 ` Luis R. Rodriguez
2014-03-20 22:10 ` M A Young
2014-03-20 22:22 ` Luis R. Rodriguez
2014-03-21 11:16 ` Ian Jackson
2014-03-21 11:44 ` Ian Campbell
2014-04-28 13:08 ` Luis R. Rodriguez
2014-03-21 15:40 ` Ian Campbell
2014-03-22 2:30 ` Luis R. Rodriguez
2014-03-24 10:14 ` Ian Campbell
2014-04-28 12:56 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAB=NE6XyNMQoTc7Tnd308ZkuVNkeHS2Ep+1GCgbn-PRJeXTiTg@mail.gmail.com' \
--to=mcgrof@do-not-panic.com \
--cc=baggins@pld-linux.org \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jajcus@jajcus.net \
--cc=m.a.young@durham.ac.uk \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).