Bug 451936
Summary: | ipa-server-install fails due to rpcbind taking 750/udp | ||
---|---|---|---|
Product: | [Retired] freeIPA | Reporter: | Alan Pevec <apevec> |
Component: | ipa-server | Assignee: | Simo Sorce <ssorce> |
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | benl, clalance, imain, ssorce, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-04 18:21:08 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: | 453489 |
Description
Alan Pevec
2008-06-18 08:57:17 UTC
SteveD: is 600-1024 range coming from: http://sunsolve.sun.com/search/document.do?assetkey=1-22-00142-1 What is that 2nd UDP port used for? Raising severity b/c this can happen on any reboot, preventing krb5kdc service to start! Workaround could be to avoid using krb4 port by specifying: [kdcdefaults] kdc_ports = 88 in /var/kerberos/krb5kdc/kdc.conf Could an option to disable krb4 be added to ipa-server-install and /usr/share/ipa/kdc.conf.template modified accordingly? Given the fact MIT is finally dropping krb4 in 1.7 anyway, I think we should really remove any krb4 compat feature from IPA. So +1 for me. Per IPA weekly meeting, reassigning to Simo. Would it be possible to post instructions on how to reproduce this problem as well as pointers to the software needed... Steve, the only software needed is a krb5kdc instance, anyway this bug report made us aware that we were still listening for kerberos 4 requests, something we never really wanted to support anyway. So we are fixing this by simply stopping listening on that port at all. simplest way to reproduce is to run Steps to Reproduce: 1. sooner or later rpcbind will pick port 750 (when it gets the right pid) then yum install krb5-server and service krb5kdc start Bug verified. Bug closed Test: I have a small perl program to listen on 750. and then I run ipa-server-install. The installation runs through the end without any problem while the perl still listen on port 750. Therefore it proves the port 750 has been discard by the errata new bits. the perl script as below #/usr/bin/perl use IO::Socket; my $sock = new IO::Socket::INET ( LocalHost => 'localhost', LocalPort => '750', Proto => 'tcp', Listen => 1, Reuse => 1, ) or die "Could not create socket: $!\n" unless $sock; print "listen on 750"; my $new_sock = $sock->accept(); while(<$new_sock>) { print $_; } close($sock); 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/RHBA-2008-0643.html |