Bug 982582
Summary: | 389 Directory Server Only Binds to IPv6 - IPv4 Not Accessible | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Miles <miles> |
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED NOTABUG | QA Contact: | Sankar Ramalingam <sramling> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | jgalipea, miles, nhosoi, nkinder |
Target Milestone: | rc | ||
Target Release: | 7.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-11 17:28:13 UTC | Type: | Bug |
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: | 1061410 |
Description
Miles
2013-07-09 10:39:51 UTC
Upstream ticket: https://fedorahosted.org/389/ticket/47438 Miles, could you elaborate your problem some more? By default, both IPv4 and v6 are listened: # /usr/lib64/mozldap/ldapsearch -h [::0] -p 389 -b "" -s base "(objectclass=*)" dn dn: # /usr/lib64/mozldap/ldapsearch -h 127.0.0.1 -p 389 -b "" -s base "(objectclass=*)" dn dn: Once disabling the IPv6: # echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 # echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6 indeed, IPv6 is not available any more: # /usr/lib64/mozldap/ldapsearch -h [::0] -p 389 -b "" -s base "(objectclass=*)" ldap_search: Can't connect to the LDAP server - No route to host # /usr/lib64/mozldap/ldapsearch -h 127.0.0.1 -p 389 -b "" -s base "(objectclass=*)" dn dn: Yes, netstat returns ":::*" even after IPv6 is disabled. # netstat -tulpn | egrep 389 tcp6 0 0 :::389 :::* LISTEN 14613/ns-slapd But that's just the format that netstat is returning? For instance, other utilities such as sshd and cupsd returns ":::*" even after IPv6 is disabled: tcp6 0 0 :::22 :::* LISTEN 825/sshd tcp6 0 0 :::631 :::* LISTEN 1440/cupsd Regarding the admin server, please take a look at /etc/dirsrv/admin-serv/console.conf. You will see a comment like this: # To allow connections to IPv6 addresses add "Listen [::]:80" # Listen 0.0.0.0:9830 That is, IPv4 address is explicitly configured. We are thinking this is not a bug in the directory server. Closing this bug as NOTABUG along with https://fedorahosted.org/389/ticket/47438. |