Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 786601

Summary: Policy for confining the mlmmj mailing list manager along with Postfix
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kundrát <jkt>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dwalsh, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-07 11:34:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
mlmmj.fc
none
mlmmj.te none

Description Jan Kundrát 2012-02-01 21:31:52 UTC
Created attachment 558922 [details]
mlmmj.fc

mlmmj-1.2.17.1-1.el6.x86_64 from EPEL doesn't work out-of-box when combined with Postfix. One of the AVC denials is the following:

time->Tue Jan 31 19:15:14 2012
type=SYSCALL msg=audit(1328033714.420:15171): arch=c000003e syscall=2 success=no exit=-13 a0=204f100 a1=c2 a2=180 a3=36 items=0 ppid=2721 pid=2722 auid=4294967295 uid=500 gid=501 euid=500 suid=500 fsuid=500 egid=501 sgid=501 fsgid=501 tty=(none) ses=4294967295 comm="mlmmj-recieve" exe="/usr/bin/mlmmj-recieve" subj=system_u:system_r:postfix_pipe_t:s0 key=(null)
type=AVC msg=audit(1328033714.420:15171): avc:  denied  { write } for  pid=2722 comm="mlmmj-recieve" name="incoming" dev=xvda1 ino=1156252 scontext=system_u:system_r:postfix_pipe_t:s0 tcontext=system_u:object_r:postfix_spool_t:s0 tclass=dir

Dominick Grift on IRC was able to provide a usable policy for confining mlmmj properly. The files are attached.

Comment 1 Jan Kundrát 2012-02-01 21:32:23 UTC
Created attachment 558923 [details]
mlmmj.te

Comment 3 Miroslav Grepl 2012-02-02 08:22:30 UTC
Jan,
could you send me AVC msgs which are used for mlmmj policy?

Comment 4 RHEL Program Management 2012-07-10 08:20:35 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2012-07-11 01:55:12 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.