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 1105889 - clamav-milter selinux rules missing
Summary: clamav-milter selinux rules missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.5
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 6.6
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-08 18:01 UTC by Frank Büttner
Modified: 2014-10-14 08:02 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.7.19-245.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 08:02:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1568 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2014-10-14 01:27:37 UTC

Description Frank Büttner 2014-06-08 18:01:59 UTC
Description of problem:
When postfix try to access the socket selinux blocks it.

Version-Release number of selected component (if applicable):
clamav-milter-0.98.3-1.el6.x86_64

How reproducible:
every time

Steps to Reproduce:
1. service clamav-milter start
2. service postfix start
3. telnet localhost 25

Actual results:
avc denied messages
And the error permission deniend about the socked at the maillog.

Expected results:
working clamav-milter


Additional info:
missing rules:
allow postfix_smtpd_t antivirus_var_run_t:dir search;
allow postfix_smtpd_t antivirus_var_run_t:sock_file write;
allow postfix_smtpd_t antivirus_t:unix_stream_socket connectto;

Comment 1 Robert Scheck 2014-06-21 17:49:19 UTC
Reassigning to RHEL 6 because the SELinux policy is shipped by RHEL 6.

Comment 3 Miroslav Grepl 2014-06-24 15:26:49 UTC
It should be allowed.

Comment 4 Lukas Vrabec 2014-06-25 13:44:11 UTC
patch sent

Comment 8 Lukas Vrabec 2014-07-16 11:48:40 UTC
patch sent.

commit 121bbe173c33a698260b79309f93d6a2a497a542
Author: Lukas Vrabec <lvrabec>
Date:   Wed Jul 16 11:26:57 2014 +0200

    Allow postfix_smtpd to stream connect to antivirus BZ #1105889

Comment 11 errata-xmlrpc 2014-10-14 08:02:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1568.html


Note You need to log in before you can comment on or make changes to this bug.