From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: <openembedded-devel@lists.openembedded.org>
Cc: yocto@yoctoproject.org
Subject: Re: meta-selinux
Date: Wed, 11 Feb 2015 16:39:54 -0500 [thread overview]
Message-ID: <20150211213954.GI30457@mentor.com> (raw)
In-Reply-To: <6445648.XiRzhvmYHl@peggleto-mobl5.ger.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 3463 bytes --]
[Re: [oe] meta-selinux] On 15.02.11 (Wed 16:29) Paul Eggleton wrote:
> (Adding yocto@yoctoproject.org to CC since that is where meta-selinux patches
> tend to go at least)
>
> On Wednesday 11 February 2015 10:53:03 dpquigl wrote:
> > I'm working on OpenXT and it makes use of the meta-selinux repo hosted
> > by the yocto project. I'm trying to use it with a base openembedded core
> > and its not in sync with oe-core because its based on pokey.
>
> To be clear, poky and OE-Core are in lock-step. No patch to core recipes goes
> into Poky directly, they are applied to OE-Core and then they flow into Poky
> immediately thereafter (Richard, who does the merging of patches into OE-Core,
> does the sync to Poky immediately afterwards.)
>
> What's more likely happening I suspect is that you are on a newer
> branch/revision of OE-Core/Poky than the meta-selinux maintainers have tested.
> I can't speak to the maintenance schedule for meta-selinux but maybe others
> with knowledge there can chime in.
Our master tends to lag behind oe-core's master for a few reasons, but
none of them are really insurmountable. Certainly the intent is that
meta-selinux/master will build successfully with oe-core/master at any
given time.
> > This made me think of two questions. 1) Why is this not in OE core since so
> > many packages in core can potentially have SELinux support enabled and 2) if
> > its not supposed to be in core where should turning on SELinux support
> > in a recipe go? For example coreutils can have SELinux support enabled.
> > Currently this is in meta-selinux as a bbappend to the coreutils
> > package. This works out because its always going to be there. However
> > there is also a bbappend for an LXC recipe. LXC isn't in core which
> > means it has a dependency on a layer not in core.
> >
> > Ideally I would put the recipes needed for SELinux support in core and
> > have a distro feature which is checked in the recipes in core for
> > whether or not to add --with-selinux to the build flags. Then LXC could
> > check a core distro feature and enable SELinux if it wants to.
>
> We have to draw the line somewhere for what to include in OE-Core, and at the
> moment I guess we have considered SELinux to be outside its scope. Obviously
> these things get re-evaluated from time to time, and SELinux is a little bit
> painful for this because of how many recipes it has to touch. Ultimately it
> depends on how many people in the embedded space want to enable and use
> SELinux.
>
> Thoughts from others?
I've been doing SELinux stuff for rather a long time and it's generally
been my experience that there's a set of developers / vendors that
*really* want it and know what they're doing, there's another set that
*really* want nothing to do with it and a group that say they want
SELinux support but then immediately start needing to turn stuff off
because it causes their system to behave too differently.
Taken as a simple maintenance thing, I think it's easier to have SELinux
be part of OE-Core. Given, though, it's really not possible to divorce
much of SELinux functionality from python on the target, so then I don't
know if it really makes sense for something like that to be part of
oe-core, proper. I would think no.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: <openembedded-devel@lists.openembedded.org>
Cc: yocto@yoctoproject.org, dpquigl <dpquigl@tycho.nsa.gov>
Subject: Re: [oe] meta-selinux
Date: Wed, 11 Feb 2015 16:39:54 -0500 [thread overview]
Message-ID: <20150211213954.GI30457@mentor.com> (raw)
In-Reply-To: <6445648.XiRzhvmYHl@peggleto-mobl5.ger.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 3463 bytes --]
[Re: [oe] meta-selinux] On 15.02.11 (Wed 16:29) Paul Eggleton wrote:
> (Adding yocto@yoctoproject.org to CC since that is where meta-selinux patches
> tend to go at least)
>
> On Wednesday 11 February 2015 10:53:03 dpquigl wrote:
> > I'm working on OpenXT and it makes use of the meta-selinux repo hosted
> > by the yocto project. I'm trying to use it with a base openembedded core
> > and its not in sync with oe-core because its based on pokey.
>
> To be clear, poky and OE-Core are in lock-step. No patch to core recipes goes
> into Poky directly, they are applied to OE-Core and then they flow into Poky
> immediately thereafter (Richard, who does the merging of patches into OE-Core,
> does the sync to Poky immediately afterwards.)
>
> What's more likely happening I suspect is that you are on a newer
> branch/revision of OE-Core/Poky than the meta-selinux maintainers have tested.
> I can't speak to the maintenance schedule for meta-selinux but maybe others
> with knowledge there can chime in.
Our master tends to lag behind oe-core's master for a few reasons, but
none of them are really insurmountable. Certainly the intent is that
meta-selinux/master will build successfully with oe-core/master at any
given time.
> > This made me think of two questions. 1) Why is this not in OE core since so
> > many packages in core can potentially have SELinux support enabled and 2) if
> > its not supposed to be in core where should turning on SELinux support
> > in a recipe go? For example coreutils can have SELinux support enabled.
> > Currently this is in meta-selinux as a bbappend to the coreutils
> > package. This works out because its always going to be there. However
> > there is also a bbappend for an LXC recipe. LXC isn't in core which
> > means it has a dependency on a layer not in core.
> >
> > Ideally I would put the recipes needed for SELinux support in core and
> > have a distro feature which is checked in the recipes in core for
> > whether or not to add --with-selinux to the build flags. Then LXC could
> > check a core distro feature and enable SELinux if it wants to.
>
> We have to draw the line somewhere for what to include in OE-Core, and at the
> moment I guess we have considered SELinux to be outside its scope. Obviously
> these things get re-evaluated from time to time, and SELinux is a little bit
> painful for this because of how many recipes it has to touch. Ultimately it
> depends on how many people in the embedded space want to enable and use
> SELinux.
>
> Thoughts from others?
I've been doing SELinux stuff for rather a long time and it's generally
been my experience that there's a set of developers / vendors that
*really* want it and know what they're doing, there's another set that
*really* want nothing to do with it and a group that say they want
SELinux support but then immediately start needing to turn stuff off
because it causes their system to behave too differently.
Taken as a simple maintenance thing, I think it's easier to have SELinux
be part of OE-Core. Given, though, it's really not possible to divorce
much of SELinux functionality from python on the target, so then I don't
know if it really makes sense for something like that to be part of
oe-core, proper. I would think no.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
next prev parent reply other threads:[~2015-02-11 21:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 15:53 meta-selinux dpquigl
2015-02-11 16:25 ` meta-selinux Christopher Larson
2015-02-11 17:00 ` meta-selinux dpquigl
2015-02-11 20:56 ` meta-selinux Philip Tricca
2015-02-11 21:26 ` meta-selinux Joe MacDonald
2015-02-11 21:22 ` meta-selinux Joe MacDonald
2015-02-11 16:29 ` meta-selinux Paul Eggleton
2015-02-11 16:29 ` [oe] meta-selinux Paul Eggleton
2015-02-11 16:55 ` meta-selinux dpquigl
2015-02-11 16:55 ` [oe] meta-selinux dpquigl
2015-02-11 19:43 ` meta-selinux Philip Tricca
2015-02-11 19:43 ` [oe] meta-selinux Philip Tricca
2015-02-11 21:46 ` [yocto] meta-selinux Joe MacDonald
2015-02-11 21:46 ` [oe] meta-selinux Joe MacDonald
2015-02-11 21:31 ` meta-selinux Joe MacDonald
2015-02-11 21:31 ` [oe] meta-selinux Joe MacDonald
2015-02-11 21:39 ` Joe MacDonald [this message]
2015-02-11 21:39 ` Joe MacDonald
2015-02-12 11:19 ` meta-selinux Burton, Ross
2015-02-12 11:19 ` [oe] meta-selinux Burton, Ross
2015-02-12 14:55 ` Maxin John
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=20150211213954.GI30457@mentor.com \
--to=joe_macdonald@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.