2011-06-07 08:15:56

by corentin.labbe

[permalink] [raw]
Subject: [refpolicy] [PATCH] cyrus-imapd support for gentoo

Hello

In Gentoo, cyrus imapd binaries is installed in /usr/lib(64)/cyrus/.
Moreover, all datas are splited in /var/imap and /var/spool/imap (redhat use /var/spool/imap also).
This patch corrects that.

Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-gentoo.patch
Type: text/x-patch
Size: 1436 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20110607/dfb08466/attachment.bin


2011-06-07 15:57:56

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] cyrus-imapd support for gentoo

On 06/07/11 04:15, corentin.labbe wrote:
> In Gentoo, cyrus imapd binaries is installed in /usr/lib(64)/cyrus/.
> Moreover, all datas are splited in /var/imap and /var/spool/imap (redhat use /var/spool/imap also).
> This patch corrects that.

There is already a context for /var/spool/imap(/.*)? in mta.fc, so this
would be a conflict.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com

2011-06-08 07:26:30

by corentin.labbe

[permalink] [raw]
Subject: [refpolicy] [PATCH] cyrus-imapd support for gentoo

Le 07/06/2011 17:57, Christopher J. PeBenito a ?crit :
> On 06/07/11 04:15, corentin.labbe wrote:
>> In Gentoo, cyrus imapd binaries is installed in /usr/lib(64)/cyrus/.
>> Moreover, all datas are splited in /var/imap and /var/spool/imap (redhat use /var/spool/imap also).
>> This patch corrects that.
>
> There is already a context for /var/spool/imap(/.*)? in mta.fc, so this
> would be a conflict.
>

I have removed that from my patch (new version attached).
It is not a problem because /var/spool/imap(/.*)? is labelled mail_spool_t and cyrus already have mta_manage_spool

Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-gentoo2.patch
Type: text/x-patch
Size: 1358 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20110608/dbe191a4/attachment.bin

2011-06-08 13:08:10

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] cyrus-imapd support for gentoo

On 06/08/11 03:26, corentin.labbe wrote:
> Le 07/06/2011 17:57, Christopher J. PeBenito a ?crit :
>> On 06/07/11 04:15, corentin.labbe wrote:
>>> In Gentoo, cyrus imapd binaries is installed in /usr/lib(64)/cyrus/.
>>> Moreover, all datas are splited in /var/imap and /var/spool/imap (redhat use /var/spool/imap also).
>>> This patch corrects that.
>>
>> There is already a context for /var/spool/imap(/.*)? in mta.fc, so this
>> would be a conflict.
>>
>
> I have removed that from my patch (new version attached).
> It is not a problem because /var/spool/imap(/.*)? is labelled mail_spool_t and cyrus already have mta_manage_spool

Merged.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com