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 691883 - Error: CRITICAL Failed to remove SELinux rule for port 7390 when uninstalling server
Summary: Error: CRITICAL Failed to remove SELinux rule for port 7390 when uninstalling...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 19:11 UTC by Namita Soman
Modified: 2015-01-04 23:47 UTC (History)
4 users (show)

Fixed In Version: ipa-2.0.0-19.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:44:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0631 0 normal SHIPPED_LIVE new package: ipa 2011-05-18 17:55:55 UTC

Description Namita Soman 2011-03-29 19:11:30 UTC
Description of problem:
Uninstall IPA server using command:
ipa-server-install --uninstall -d

root        : DEBUG    stdout=
root        : DEBUG    stderr=
root        : DEBUG    args=/usr/sbin/semanage port -d -t ldap_port_t -p tcp 7390
root        : DEBUG    stdout=
root        : DEBUG    stderr=/usr/sbin/semanage: Port tcp/7390 is defined in policy, cannot be deleted

root        : CRITICAL Failed to remove SELinux rule for port 7390


After uninstall, ran command:
semanage port -l | grep 7390
dogtag_port_t                  tcp      7390

And came across bug, possibly related, causing the issue (?)
https://bugzilla.redhat.com/show_bug.cgi?id=684269

Version-Release number of selected component (if applicable):
ipa-server-2.0.0-17.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.ipa-server-install --uninstall
2.
3.
  
Actual results:
Error thrown when uninstalling

Expected results:
To uninstall the SELinux rule

Additional info:

Comment 2 Dmitri Pal 2011-03-30 15:38:03 UTC
https://fedorahosted.org/freeipa/ticket/1143

Comment 3 Rob Crittenden 2011-03-30 22:15:19 UTC
Updated repl_selinux patch to remove the semanage invocations.

This is handled by selinux-policy now, fixed in selinux-policy-3.7.19-80.el6.

Comment 5 Namita Soman 2011-04-06 11:41:52 UTC
verified fix in
ipa-server-2.0.0-19.el6.x86_64

the message didn't show up when running - ipa-server-install --uninstall

Comment 6 errata-xmlrpc 2011-05-19 13:44:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0631.html


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