From: "Luis R. Rodriguez" <mcgrof@suse.com>
To: George Dunlap <dunlapg@umich.edu>
Cc: Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
"Luis R. Rodriguez" <mcgrof@do-not-panic.com>,
Tim Deegan <tim@xen.org>, Ian Jackson <ian.jackson@eu.citrix.com>,
Jan Beulich <jbeulich@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v11 2/3] autoconf: xen: enable explicit preference option for xenstored preference
Date: Mon, 7 Sep 2015 22:29:41 +0200 [thread overview]
Message-ID: <20150907202941.GG8051@wotan.suse.de> (raw)
In-Reply-To: <CAFLBxZZUVgY-D8f1HqRs2gq-ctDZDuDgg-uNgO5KKqG9Umc_DQ@mail.gmail.com>
On Mon, Sep 07, 2015 at 05:28:26PM +0100, George Dunlap wrote:
> On Wed, Jul 30, 2014 at 5:40 PM, Luis R. Rodriguez
> <mcgrof@do-not-panic.com> wrote:
> > From: "Luis R. Rodriguez" <mcgrof@suse.com>
> >
> > As it stands oxenstored will be used by default if ocaml tools are
> > found, the init system will also try to use oxenstored first if its
> > found otherwise the cxenstored will be used. Lets simplify the init
> > script and let users be explicit about the preference through configure.
> >
> > This adds support to let you be explicit about the xenstored preference,
> > you can only use one of these two options:
> >
> > ./configure --with-xenstored=xenstored
> > ./configure --with-xenstored=oxenstored
> >
> > We continue with the old behaviour and default oxenstored will be used
> > but only if you have ocaml dependencies. Since the xenstored preference
> > is explicit now and since we require configure substitutions for it we
> > make use of the AX_XEN_EXPAND_CONFIG() helpers as otherwise substitution
> > for SBINDIR is not propagated from the top level configuration.
> >
> > All this allows us to simplify the init script to use the configured
> > xenstore from the start. We update the sysconfig/default xencommons file
> > with the paths for the different options though, this can be used by
> > users to override the default xenstored, this follows the old behaviour
> > but we now just explicitly provide the full configured paths for users.
>
> You keep saying "this follows the old behaviour", but it doesn't.
> Before, if I build oxenstored but put it in a separate package (say,
> xen-ocaml), it would run oxenstored if available, and if not run
> xenstored. Now it will only try to run one, and if that's not
> available it will fail. That's less of a feature IMHO.
George,
Wow, you're review is over 1 year late! You should have raised your concerns
when the patches were posted. I will note that I gave the community a shot at a
slew of options, one was a "laucher" solution [0] which would try one binary
first and then another, the solution we ended up using was what the community
decided, not me.
So -- if you'd like an alternative you can surely send a patch, but please
review early as well.
[0] http://lists.freedesktop.org/archives/systemd-devel/2014-June/019740.html
Luis
next prev parent reply other threads:[~2015-09-07 20:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 16:40 [PATCH v11 0/3] xen: add systemd support Luis R. Rodriguez
2014-07-30 16:40 ` [PATCH v11 1/3] xencommons: move module list into a generic place Luis R. Rodriguez
2014-07-30 16:40 ` [PATCH v11 2/3] autoconf: xen: enable explicit preference option for xenstored preference Luis R. Rodriguez
2015-09-07 16:28 ` George Dunlap
2015-09-07 20:29 ` Luis R. Rodriguez [this message]
2014-07-30 16:40 ` [PATCH v11 3/3] systemd: add xen systemd service and module files Luis R. Rodriguez
2014-08-04 14:10 ` [PATCH v11 0/3] xen: add systemd support Ian Campbell
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=20150907202941.GG8051@wotan.suse.de \
--to=mcgrof@suse.com \
--cc=dunlapg@umich.edu \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=mcgrof@do-not-panic.com \
--cc=tim@xen.org \
--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).