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 738994

Summary: cyrus-imapd downgrade selinux test fail
Product: Red Hat Enterprise Linux 6 Reporter: Juraj Marko <jmarko>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: dwalsh, mmalik, nlevinki, ovasik, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-113.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 738995 (view as bug list) Environment:
Last Closed: 2011-12-06 10:18: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:
Bug Depends On:    
Bug Blocks: 738995    

Description Juraj Marko 2011-09-16 09:41:32 UTC
Description of problem:
Running: /sbin/ausearch -sv no -m AVC -ts 09/15/2011 15:41:32 SELinux Check: FAIL SELinux AVC messages found: type=1400 audit(1316115719.288:35518): avc: denied { name_bind } for pid=31435 comm="cyrus-master" src=119 scontext=unconfined_u:system_r:cyrus_t:s0 tcontext=system_u:object_r:innd_port_t:s0 tclass=tcp_socket

Version-Release number of selected component (if applicable):
Name        : selinux-policy
Arch        : noarch
Version     : 3.7.19
Release     : 93.el6_1.7

How reproducible:
50%

Steps to Reproduce:
1. tps-rhnqa on cyrus-imapd
  
Actual results:
AVC messages found

Expected results:
no AVC messages found

Additional info:
Same on rhel5

Comment 1 Daniel Walsh 2011-09-16 15:29:22 UTC
Why is cyrus-master trying to bind to port 119?  Is this something local to the test?

Comment 2 Juraj Marko 2011-09-20 04:47:23 UTC
I think it is testing fot the port 119, if is it free or not, because cyrus-imapd is using it for NNTP. But I'm not sure. I can ask devel.

Comment 4 Daniel Walsh 2011-09-20 15:39:16 UTC
Well if cyrus-master can run as an nntp server then we should probably just allow this access.

Comment 5 Daniel Walsh 2011-09-20 15:41:41 UTC
Miroslav add

corenet_tcp_bind_innd_port(cyrus_t)

Comment 8 Miroslav Grepl 2011-09-25 10:30:33 UTC
It was added to selinux-policy-3.7.19-113.el6.

Comment 12 errata-xmlrpc 2011-12-06 10:18:59 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-2011-1511.html