From: Joshua Brindle <method@gentoo.org>
To: russell@coker.com.au
Cc: selinux <selinux@tycho.nsa.gov>,
"pebe >> Chris PeBenito" <pebenito@gentoo.org>
Subject: Re: [RFC] Upstream policy handling
Date: Sun, 19 Sep 2004 17:11:14 -0400 [thread overview]
Message-ID: <414DF5F2.9030700@gentoo.org> (raw)
In-Reply-To: <200409200646.51865.russell@coker.com.au>
Russell Coker wrote:
>On Mon, 20 Sep 2004 01:07, Joshua Brindle <method@gentoo.org> wrote:
>
>
>>The current upstream policy is a compositite of most changes made by
>>distros and policy writers who may have different philosophies about how
>>the policy should work.
>>
>>
>
>Not really. The different philosophies are the ones that are totally
>unmergable. One example was posted here about a year ago that didn't seem to
>have a single domain or type name in common with the NSA policy.
>
>
>
Using different policy semantics (eg., not having seperate domain and
file types) is not the same as having different philosophies. The
philosophy differences I speak of are the differences between, for
example, Redhat and Gentoo. It's no secret that Redhats primary goal is
to make SELinux work in the system (and it's a noble goal). Gentoo's
goal is to make the system secure, and if need be break legacy
behaviour. These are radical differences.
>>One example is our sysadmfile trim which happened a few weeks ago. Chris
>> PeBenito suggested this on the list only to be scrutinized, we have
>>
>>
>
>Scrutiny is good! It's when code is not scrutinised that the quality drops.
>Open Source is about scrutiny of code.
>
>
>
This sort of scrutity was an example of Redhat's vs. Gentoo's policy
philosophy as above.
>>since gone ahead with the changes but based on the feedback here Chris
>>felt it a moot point to post the changes. Recently it was suggested by
>>another distro (though vetoed by Steve) to make sysadmfile even more
>>accessible to non-admins. This illustrates the radical difference in
>>policy philosophies.
>>
>>
>
>No, it demonstrates that Steve knows what's going on, has a plan, and is
>making everyone stick to it. Convince Steve and your patch goes in to the
>CVS!
>
>
>
The Current CVS policy is heavily biased toward Redhat (and their
SELinux goals). This leaves no room for others (such is why I'm
suggesting this)
>>I feel that distro tunables are undesirable. They bloat the policy in
>>unnecessary ways and just don't make sense to me. Downstream vendors
>>often apply their own patches to applications, so Gentoo, Debian and
>>Redhat would have patchsets for apps rather than the upstream app having
>>#ifdef REDHAT ... #elif DEBIAN and so on. (Russel pointed out that some
>>apps have this sort of thing in upstream but that doesn't make it
>>correct ;) )
>>
>>
>
>OK, try maintaining a separate Gentoo policy patch for another year or so and
>see if you still think that distribution specific tunables are a bad
>idea. ;)
>
>
>
PeBenito has maintained our policy for longer than that. Distro
tunables (and indeed many many of the current tunables) are
fundamentally flawed.
Think about the difficulty of analyzing policy with X number of
tunables. To do it properly you'd have to analyze X! permutations. Then
take into account conditionals, and optional modules.
>>Specifically I think it would be optimal to set up a policy repository
>>at bkbits.net (yes, this is bitkeeper, yes I know about the license,
>>will cover that later). In this repository there should be branches for
>>each vendor, and the NSA. Obviously each vendor pushes their own policy
>>changes into their branch. If the NSA and/or any other vendors like the
>>
>>
>
>The problem is that vendors will introduce bad patches. Without the
>requirement to get the policy checked off by Steve the quality will drop
>while the number of unmerged patches steadily increases.
>
>
>
eh? vendors would introduce bad patches to their own policy. Obviously
this can already be done, I'm not sure what you are getting at here.
If vendors are concerned about their patches they'd still be able to
post them to the list (also the changesets would be available at a
specific central place for everyone so it would be far easier to see
what people are doing to the policies, and the differences, etc)
Joshua
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-09-19 21:12 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-19 15:07 [RFC] Upstream policy handling Joshua Brindle
2004-09-19 19:21 ` Luke Kenneth Casson Leighton
2004-09-19 21:10 ` Luke Kenneth Casson Leighton
2004-09-19 20:46 ` Russell Coker
2004-09-19 21:11 ` Joshua Brindle [this message]
2004-09-19 21:29 ` Russell Coker
2004-09-19 23:48 ` Joshua Brindle
2004-09-20 3:33 ` Colin Walters
2004-09-20 12:26 ` Daniel J Walsh
2004-09-20 12:56 ` Christopher J. PeBenito
2004-09-20 15:53 ` Colin Walters
2004-09-20 20:44 ` File types that are not sysadmfiles Daniel J Walsh
2004-09-21 5:08 ` Russell Coker
2004-09-21 14:42 ` Colin Walters
2004-09-21 15:25 ` Russell Coker
2004-09-21 15:45 ` Colin Walters
2004-09-21 14:42 ` Colin Walters
2004-09-22 20:22 ` James Carter
2004-09-23 16:43 ` [RFC] Upstream policy handling Daniel J Walsh
2004-09-23 19:10 ` Russell Coker
2004-09-20 12:25 ` Luke Kenneth Casson Leighton
2004-09-20 14:54 ` Russell Coker
2004-09-19 22:08 ` Colin Walters
2004-09-19 23:24 ` Joshua Brindle
2004-09-20 0:07 ` Colin Walters
2004-09-20 12:22 ` Luke Kenneth Casson Leighton
2004-09-20 15:17 ` Thomas Bleher
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=414DF5F2.9030700@gentoo.org \
--to=method@gentoo.org \
--cc=pebenito@gentoo.org \
--cc=russell@coker.com.au \
--cc=selinux@tycho.nsa.gov \
/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.