From: "David Härdeman" <david@hardeman.nu>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: "Christopher J. PeBenito" <cpebenito@tresys.com>, selinux@tycho.nsa.gov
Subject: Re: Fedora refpolicy patches
Date: Wed, 16 Jul 2008 21:29:42 +0200 [thread overview]
Message-ID: <20080716192942.GA11166@hardeman.nu> (raw)
In-Reply-To: <487E451C.5000603@redhat.com>
On Wed, Jul 16, 2008 at 02:59:40PM -0400, Daniel J Walsh wrote:
>Christopher J. PeBenito wrote:
>> On Wed, 2008-07-16 at 19:44 +0200, David Härdeman wrote:
>>> On Wed, Jul 16, 2008 at 01:13:03PM -0400, Daniel J Walsh wrote:
>>>> David Härdeman wrote:
>>>>> While working on SELinux-enabling a Debian system, I often Google for
>>>>> avc messages that show up in dmesg and 90% of the time it seems that the
>>>>> problem has already been solved in Fedora's version of the refpolicy but
>>>>> not in the upstream version.
>>> ...
>>>>> The question is how to treat the patches after that? Should I post them
>>>>> as I go through them (a couple per day for a couple of weeks?) and hope
>>>>> that someone at Tresys will apply them?
>> [...]
>>> I guess what I'm really wondering is if I can help you in some way?
>>
>> The main points which would improve upstreaming efficiency from Dan's
>> set are:
>>
>> 1. description / justification
...
>> 2. style
...
>> 3. patch composition
...
Basically all three requirements are the same as the general rules that
apply for patch submissions to the linux-kernel mailing list (or to any
well-behaved OSS project).
>And the problem I have with all of these is volume of change. When a
>new release goes out and a whole bunch of new users start using SELinux
>the volume of bugzillas generated is use. My first responsibility is to
>get SELinux fixed for these users.
I can't imagine that a one-line commit comment would be an overwhelming
burden when committing a couple of lines of policy changes? Heck, most
maintainers should welcome it as it serves as a support for their own
memory as well...I mean, most of these issues aren't exactly new for
FOSS projects and SCM repos is the best answer people have come up with
so far...
>Marking up the policy with lots of
>bugzilla's or justifications is both time consuming and I believe just
>dirties the policy.
Comments about patches are generally carried as commit messages and not
inline. I don't see how it would dirty any policy. And in-line comments
for unconventional changes I'd see not as "dirty" but as a great help to
the person reading through the policy (I've already had a few "huh?"
moments when reading through the RedHat patch, and that's not because
they are bad in any way, its because its inevitable without the proper
context).
>In the more bizarre categories that should be
>required. My goal is to get the non-bizarre changes upstreamed so we
>could concentrate on the bizarre ones and either justify or remove them.
The question is if it's even possible to hunt down the original
explanation for the bizarre ones after a few hundred of them have
accumulated and they have been obscured by the passing of time?
>Changes like adding fs_list_inotify should just get into the upstream.
I realize I'm stepping into a debate which is somewhat over my head
here, but couldn't Tresys arrange so that you get direct commit access,
then you could commit trivial patches directly and send more
unconventional ones to the list for discussion?
Or alternatively...perhaps a shadow branch could be setup where the
commit rules would be more lax and then the changes could be synced over
at intervals...
(Or even better, everything could be done via git...but that's a
pipedream at this stage) :)
--
David Härdeman
--
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:[~2008-07-16 19:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 16:56 Fedora refpolicy patches David Härdeman
2008-07-16 17:13 ` Daniel J Walsh
2008-07-16 17:44 ` David Härdeman
2008-07-16 18:19 ` Christopher J. PeBenito
2008-07-16 18:59 ` Daniel J Walsh
2008-07-16 19:29 ` David Härdeman [this message]
2008-07-16 19:40 ` Daniel J Walsh
2008-07-16 20:09 ` Brett Lentz
2008-07-18 12:32 ` Christopher J. PeBenito
2008-07-18 16:52 ` Brett Lentz
2008-07-16 20:18 ` David Härdeman
2008-07-16 22:35 ` Eric Paris
2008-07-16 20:19 ` Mike Edenfield
2008-07-17 18:00 ` Christopher J. PeBenito
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=20080716192942.GA11166@hardeman.nu \
--to=david@hardeman.nu \
--cc=cpebenito@tresys.com \
--cc=dwalsh@redhat.com \
--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.