From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Doug Goldstein <cardoe@cardoe.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
osstest-admin@xenproject.org, Jan Beulich <JBeulich@suse.com>,
xen-devel@lists.xen.org
Subject: Re: [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]
Date: Fri, 15 Jan 2016 17:06:12 +0000 [thread overview]
Message-ID: <1452877572.6020.85.camel@citrix.com> (raw)
In-Reply-To: <22167.52354.193878.785231@mariner.uk.xensource.com>
On Thu, 2016-01-14 at 16:27 +0000, Ian Jackson wrote:
> * I don't have a clear design proposal for the above but I think Doug
> can probably provide one. I'm hoping this is more a matter of
> thinking carefully than of extensive build system programming!
I think we should:
1) Move /usr/lib/debug/xen-4.7-unstable.config to /boot. I previously
didn't care about what path it was, but the usecase of having grub be able
to react to the config (see below) is a strong reason to have it in /boot
IMHO. Jan has said he won't veto such a change, AFAICT everyone else is
happy with it.
2) Assume that grub (specifically the patch in http://savannah.gnu.org/bugs
/?43420 and as used by osstest today) will at some point be modified to
look at /boot/xenconfig-$version to decide whether to create an XSM entry
or not instead of the presence of /boot/xenpolicy-$version. This step
belongs here logically but chronologically could come much later since
osstest will do the right thing even if there is a spurious
/boot/xenpolicy-$version file (which is to say it will ignore the spurious
entry and boot the right thing).
3) Have tools/* always build the FLASK+XSM tools _and_ the FLASK policy and
to always install both. Any related configure options can go away and we no
longer need to worry about synchronising the configuration of the tools and
xen trees, this is desirable because we would prefer to have one set of
tools which gracefully handles differing hypervisor configurations over
needing different sets of tools (FLASK+XSM was one of the few exceptions to
that rule AFAICT).
I think with this plan there is no need to modify osstest.git, since it
already does the right thing (which is, it sets XSM for Xen builds, which
in turn enables FLASK and it does nothing for tools/* which is correct once
#3 above has happened).
The only downside is a spurious /boot/xenpolicy-$version installed when the
corresponding Xen binary doesn't support XSM, however given the assumption
in #2 (which implies the user will never see a spurious grub entry, which
is the important thing) and the fact that it avoids the complexity of
having tools/* rely in some way on xen/.config I think that is a worthwhile
trade-off.
Hopefully this simplifies a bunch of the arguments we have been having and
provides a path forwards?
Objections?
Doug, I think you have the majority of #1 and #3 already in some form or
other? #2 is not on the critical path and can come later.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-01-15 17:06 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 14:58 [OSSTEST PATCH] enable FLASK_ENABLE when using it for testing Doug Goldstein
2016-01-14 14:28 ` [OSSTEST PATCH] pass --{enable, disable}-xsmpolicy based on XSM state Doug Goldstein
2016-01-13 19:30 ` [xen-unstable test] 77945: regressions - FAIL osstest service owner
2016-01-14 9:30 ` Jan Beulich
2016-01-14 11:42 ` Ian Campbell
2016-01-14 12:50 ` Jan Beulich
2016-01-14 13:57 ` Ian Campbell
2016-01-14 14:07 ` Doug Goldstein
2016-01-14 14:44 ` Ian Campbell
2016-01-14 14:54 ` Doug Goldstein
2016-01-14 14:48 ` Jan Beulich
2016-01-14 15:04 ` Doug Goldstein
2016-01-14 16:27 ` [xen-unstable test] 77945: regressions - FAIL [and 2 more messages] Ian Jackson
2016-01-14 17:07 ` Doug Goldstein
2016-01-14 17:18 ` Ian Jackson
2016-01-14 17:25 ` Ian Campbell
2016-01-14 19:10 ` Doug Goldstein
2016-01-15 16:06 ` Jan Beulich
2016-01-15 17:06 ` Ian Campbell [this message]
2016-01-15 17:10 ` Ian Jackson
2016-01-15 17:15 ` Jan Beulich
2016-01-15 17:24 ` Andrew Cooper
2016-01-15 17:42 ` Ian Campbell
2016-01-18 7:49 ` Jan Beulich
2016-01-18 8:55 ` Andrew Cooper
2016-01-18 9:41 ` Ian Campbell
2016-01-18 9:47 ` Jan Beulich
2016-01-18 11:22 ` Ian Campbell
2016-01-18 11:28 ` Ian Jackson
2016-01-18 11:36 ` Ian Campbell
2016-01-18 12:09 ` Ian Campbell
2016-01-15 17:21 ` Doug Goldstein
2016-01-14 21:40 ` [OSSTEST PATCH] pass --{enable, disable}-xsmpolicy based on XSM state Doug Goldstein
2016-01-16 20:50 ` Doug Goldstein
2016-01-14 16:22 ` [OSSTEST PATCH] enable FLASK_ENABLE when using it for testing Ian Campbell
2016-01-14 16:34 ` Doug Goldstein
2016-01-16 20:54 ` Doug Goldstein
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=1452877572.6020.85.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=cardoe@cardoe.com \
--cc=osstest-admin@xenproject.org \
--cc=xen-devel@lists.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).