Ldirectord "Subroutine main::pack_sockaddr_in6 redefined "

Bug #985198 reported by Henrique Santos Fernandes on 2012-04-18
62
This bug affects 11 people
Affects Status Importance Assigned to Milestone
resource-agents (Ubuntu)
Undecided
Unassigned

Bug Description

In Ubuntu 12.04 server amd64

Try run ldirectord and get the following:

/etc/init.d/ldirectord start
 * Running ldirectord start Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::pack_sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060
Subroutine main::unpack_sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060
Subroutine main::sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060
Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /usr/sbin/ldirectord line 831
Subroutine main::pack_sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060
Subroutine main::unpack_sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060
Subroutine main::sockaddr_in6 redefined at /usr/sbin/ldirectord line 3060

And the checktype=negociate is not working!

Thanks!

itguy614 (kurt-itguyonline) wrote :

I can confirm still an issue as of 2012-04-23.

theovich (huhualabama) wrote :

I can also confirm this issue. Please help to solve it.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in resource-agents (Ubuntu):
status: New → Confirmed
Klavs Klavsen (kl-vsen) wrote :

The patch in the bottom here (fix-gethostinfo) : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675913 - fixes the complaints.

Ben Shum (bshum) wrote :

Confirmed, the patch at the bottom along with installing the package "libsocket-getaddrinfo-perl" appears to have fixed the problems.

Ruben Laban (r-laban) wrote :

Patch appears to work for me as well. Any plans to release an update yet?

Ruben Laban (r-laban) wrote :

Here's my revised patch. As there was still some stuff not working properly.

The attachment "fix-gethostinfo-v2" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.