All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] services_amavis.patch
Date: Mon, 06 Oct 2008 14:28:27 -0400	[thread overview]
Message-ID: <1223317707.2165.42.camel@gorn> (raw)
In-Reply-To: <48E35C62.8030609@martinorr.name>

On Wed, 2008-10-01 at 12:17 +0100, Martin Orr wrote:
> On 27/09/08 01:42, Russell Coker wrote:
> > On Thursday 25 September 2008 22:19, Martin Orr <martin@martinorr.name> wrote:
> >>> The CentOS servers that I run have Amavis and ClamAV running unconfined
> >>> because getting the policy to work was too difficult (the two daemons
> >>> interact with each other a lot, trying to keep them separate is a lost
> >>> cause).
> >> How do they interact with each other beyond communicating by a socket and
> >> clamd reading amavis spool files?
> > 
> > They can communicate by a socket or by running a program.
> 
> Doesn't seem like interacting a lot to me.
> 
> But I've thought a bit more about why I dislike merging the amavis and
> clamav domains, and my primary concern is that it is confusing to have
> amavisd running as clamav_t.  If I saw a denial with
> comm="amavisd" scontext=system_u:system_r:clamav_t:s0
> then I would assume that there was a missing transition somewhere.

I'd tend to agree with this.

> For similar reasons I dislike the fact that wpa_supplicant runs as
> NetworkManager_t, and the MTA policy is full of confusingly named types and
> attributes, but that's no reason to introduce another one.

Getting the right granularity for the upstream policy is an ongoing
struggle.  I've heard others complain about this particular one too.

> So while I still don't see the value of merging amavis_t and clamav_t when
> separate policy has already been written, I would be a lot happier if the
> merged domain were not called clamav_t.

I'm not so convinced about a merged policy, but I'm open to new ideas.
I'd have to see patches.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150

  parent reply	other threads:[~2008-10-06 18:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 20:52 [refpolicy] services_amavis.patch Daniel J Walsh
2008-09-25  7:19 ` Russell Coker
2008-09-25 12:19   ` Martin Orr
2008-09-27  0:42     ` Russell Coker
2008-10-01 11:17       ` Martin Orr
2008-10-01 12:31         ` Daniel J Walsh
2008-10-02  2:32         ` Russell Coker
2008-10-06 18:28         ` Christopher J. PeBenito [this message]
2008-10-02 12:31       ` Christopher J. PeBenito
2008-10-02 20:29         ` Russell Coker
2008-09-25 20:10   ` Daniel J Walsh
2008-09-25 21:03     ` Russell Coker
2008-10-06 18:20       ` Christopher J. PeBenito
2008-10-06 20:29         ` Russell Coker
2008-10-08 20:06 ` Christopher J. PeBenito
  -- strict thread matches above, loose matches on Subject: below --
2009-11-12 21:11 Daniel J Walsh
2009-12-18 15:48 ` Christopher J. PeBenito
2010-02-23 19:44 Daniel J Walsh
2010-08-26 20:47 Daniel J Walsh
2010-09-15 13:20 ` 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=1223317707.2165.42.camel@gorn \
    --to=cpebenito@tresys.com \
    --cc=refpolicy@oss.tresys.com \
    /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.