[389-devel] Please review (take 4): [389 Project] #46: setup-ds-admin.pl does not like ipv6 only hostnames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot to Mark Reynolds for sharing the failing test case with me! This patch should fix his setup problem...

https://fedorahosted.org/389/ticket/46

https://fedorahosted.org/389/attachment/ticket/46/0001-Trac-Ticket-46-additional-2-setup-ds-admin.pl-does-n.patch

 Fix description:
 1) When Socket6 is used, if the same FQDN appears twice in
    /etc/hosts (e.g., localhost.localdomain for 127.0.0.1 and
    ::1), the result from getaddrinfo was not correctly shifted.
 2) perl require takes package name. In the commit 850005499bd9-
    2c5b9b0027f944fcd33633c8db46, a tag ":addrinfo" was mistakenly
    passed and it was ignored.  This patch checks the version of
    Socket.  If it is greater than 2.000, getaddrinfo in the
    Socket module is used.  Otherwise, it falls back to Socket6.

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel



[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux