[Bug 970282] New: Getent hosts incorrectly resolvs an LDAP IPv6 host as IPv4
http://bugzilla.suse.com/show_bug.cgi?id=970282 Bug ID: 970282 Summary: Getent hosts incorrectly resolvs an LDAP IPv6 host as IPv4 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: david.westfall@red-inc.us QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On 42.1 getent hosts resolves an LDAP IPv6 host as an IPv4 Host with an address of 255.255.255.255 Atlas:~ # getent hosts |grep IPv6 255.255.255.255 Hagar.IPv6.RDTE.ctl Hagar.IPv6.RDTE dn: cn=Hagar.IPv6.RDTE.ctl,ou=Hosts,dc=CTL,dc=CrewSystems cn: Hagar.IPv6.RDTE.ctl cn: Hagar.IPv6.RDTE iphostnumber: XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec macaddress: 00:0E:0C:33:2B:EC objectclass: top objectclass: ipHost objectclass: device objectclass: ieee802Device The XXXX are to mask out my real ip. Dave W Also I am not sure if it is a bug or a config option that I have not found, but getent hosts does not show any IPv6 host info. From 13.1 on getent (hosts ahosts ahostsv4 ahostsv6) only shows IPv4 hosts and the output is the same for each database. Atlas:~ # getent hosts|wc -l 53 Atlas:~ # getent ahosts|wc -l 53 Atlas:~ # getent ahostsv4|wc -l 53 Atlas:~ # getent ahostsv6|wc -l 53 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=970282 http://bugzilla.suse.com/show_bug.cgi?id=970282#c2 --- Comment #2 from David Westfall <david.westfall@red-inc.us> --- Yes, all of my computers have an IPv6 Address and can connect through it. IPv6 comes from our network switch. On Atlas (42.1) LDAP Atlas:~ # ping6 -c1 XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec PING XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec(XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec) 56 data bytes 64 bytes from XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec: icmp_seq=1 ttl=64 time=0.203 ms --- XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.203/0.203/0.203/0.000 ms Atlas:~ # ping6 -c1 Hagar.IPv6.RDTE unknown host On Atlas (42.1) /etc/hosts Atlas:~ # ping6 -c1 XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e PING XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e(XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e) 56 data bytes 64 bytes from XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e: icmp_seq=1 ttl=64 time=0.127 ms --- XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.127/0.127/0.127/0.000 ms Atlas:~ # ping6 -c1 Atlas.IPv6.RDTE PING Atlas.IPv6.RDTE(Atlas.IPv6.RDTE.ctl) 56 data bytes 64 bytes from Atlas.IPv6.RDTE.ctl: icmp_seq=1 ttl=64 time=0.126 ms --- Atlas.IPv6.RDTE ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.126/0.126/0.126/0.000 ms On Havoc (13.2) Havoc:~ # ping6 -c1 Hagar.IPv6.RDTE PING Hagar.IPv6.RDTE(Hagar.IPv6.RDTE.ctl) 56 data bytes 64 bytes from Hagar.IPv6.RDTE.ctl: icmp_seq=1 ttl=64 time=0.274 ms --- Hagar.IPv6.RDTE ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.274/0.274/0.274/0.000 ms Dave W -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=970282 Chenzi Cao <chenzi.cao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |varkoly@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=970282 http://bugzilla.suse.com/show_bug.cgi?id=970282#c4 --- Comment #4 from David Westfall <david.westfall@red-inc.us> --- Is getent not showing any IPv6 info a bug or a configuration issue? I added IPv6 host information for all of my computers to the hosts file on my computer. I would expect "getent ahostv6" to not show any IPv4 host information. Hagar:~ # grep Atlas /etc/hosts|sed -e 's/^....:...:...:..../XXXX:XXX:XXX:XXXX/' -e 's/^[0-9][0-9][0-9]\.[0-9][0-9][0-9]\.[0-9][0-9][0-9]\./XXX.XXX.XXX./' 192.168.0.129 Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin XXX.XXX.XXX.129 Atlas.RDTE.ctl XXXX:XXX:XXX:XXXX:2e0:81ff:fe79:32e Atlas.IPv6.RDTE.ctl Atlas.IPv6.RDTE Atlas.IPv6 Hagar:~ # getent hosts|grep Atlas|sed -e 's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e 's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./' 192.168.0.129 Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin XXX.XXX.XXX.129 Atlas.RDTE.ctl XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas Hagar:~ # getent ahosts|grep Atlas|sed -e 's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e 's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./' 192.168.0.129 Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin XXX.XXX.XXX.129 Atlas.RDTE.ctl XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas Hagar:~ # getent ahostsv4|grep Atlas|sed -e 's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e 's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./' 192.168.0.129 Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin XXX.XXX.XXX.129 Atlas.RDTE.ctl XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas Hagar:~ # getent ahostsv6|grep Atlas|sed -e 's/^.\{4\}:.\{3\}:.\{3\}:.\{4\}/XXXX:XXX:XXX:XXXX/' -e 's/^[0-9]\{3\}\.[0-9]\{3\}\.[0-9]\{3\}\./XXX.XXX.XXX./' 192.168.0.129 Atlas atlasWebmin atlasOpenfire ldapAdmin oldLdapAdmin XXX.XXX.XXX.129 Atlas.RDTE.ctl XXX.XXX.XXX.129 Atlas.Storage.ctl Atlas.Storage XXX.XXX.XXX.129 Atlas.RDTE.ctl Atlas.RDTE Atlas -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=970282 http://bugzilla.suse.com/show_bug.cgi?id=970282#c5 David Westfall <david.westfall@red-inc.us> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #5 from David Westfall <david.westfall@red-inc.us> --- This still a problem in 42.2. Switching Severity to Major because I can not start using IPv6 if I can not get name resolution. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=970282 http://bugzilla.suse.com/show_bug.cgi?id=970282#c6 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from Tomáš Chvátal <tchvatal@suse.com> --- This is automated batch bugzilla cleanup. The openSUSE 42.1 changed to end-of-life (EOL [1]) status. As such it is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of openSUSE, or you can still observe it under openSUSE Leap 15.0, please feel free to reopen this bug against that version (see the "Version" component in the bug fields), or alternatively open a new ticket. Thank you for reporting this bug and we are sorry it could not be fixed during the lifetime of the release. [1] https://en.opensuse.org/Lifetime -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com