#4487 ipa-server-install --uinstall doesn't remove port 7389 from ldap_port_t - use remove-ds.pl
Closed: Fixed None Opened 9 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1125950

Description of problem:
ipa-server-install --uinstall doesn't remove port 7389 from ldap_port_t

ipa-server-install enables ldap_port_t for tcp port 7389 but uninstall doesn't
remove it

[root@pes-guest-79 SOURCES]# semanage port -l | grep ldap
ldap_port_t                    tcp      389, 636, 3268
ldap_port_t                    udp      389, 636

after ipa-server-install

[test]semanage port -l | grep ldap
ldap_port_t                    tcp      7389, 389, 636, 3268
ldap_port_t                    udp      389, 636

Version-Release number of selected component (if applicable):
ipa-server-3.0.0-37.el6

How reproducible:


Steps to Reproduce:
1.ipa-server-install
2.semanage port -l | grep ldap
3.

Actual results:
semanage port -l | grep ldap
ldap_port_t                    tcp      7389, 389, 636, 3268
ldap_port_t                    udp      389, 636

Expected results:
semanage port -l | grep ldap
ldap_port_t                    tcp      389, 636, 3268
ldap_port_t                    udp      389, 636

Additional info:

See https://bugzilla.redhat.com/show_bug.cgi?id=1125950#c8, we should remove DS instance in a cleaner way.

Additional Requirements

  • Make sure the issue reported in #4591 is also fixed.

Let us do this work in 4.2, together with other installer improvements.

This can be done separately from installer refactoring. When done, we should at least test that uninstalling server or replica is OK and bits that were previously deleted are not left behind.

master:

  • 55b7eed Use 'remove-ds.pl' to remove DS instance

Metadata Update from @mkosek:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.2

7 years ago

Login to comment on this ticket.

Metadata