https://bugzilla.redhat.com/show_bug.cgi?id=864102
Bug ID: 864102 QA Contact: extras-qa@fedoraproject.org Severity: unspecified Version: el6 Priority: unspecified CC: perl-devel@lists.fedoraproject.org, psabata@redhat.com Assignee: psabata@redhat.com Summary: Bad precedence in library version check Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: linux@cmadams.net Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: perl-Net-SSH2 Product: Fedora EPEL
Created attachment 623492 --> https://bugzilla.redhat.com/attachment.cgi?id=623492&action=edit Fix operator precedence in auth agent check
The perl module checks the libssh2 version to decide if agent authenticaion support should be used, but there is a bad operator precedence in the check (>= has higher precedence than ||). While the bug is upstream, the situation (running newer Net::SSH2 with older libssh2) is pretty specific to RHEL 6. This bug makes ->auth calls fail unless an explicit auth rank is set.
The attached patch fixes the problem.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED External Bug ID| |CPAN 80065
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #1 from Petr Šabata psabata@redhat.com --- I've just pushed this to Rawhide with the 0.47 update. The el6 build will be available shortly.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- perl-Net-SSH2-0.45-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/perl-Net-SSH2-0.45-3.el6
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- perl-Net-SSH2-0.45-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #4 from Chris Adams linux@cmadams.net --- The necessary patch is included in the SRPM but not actually applied in the spec, so the problem still exists.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #5 from Petr Šabata psabata@redhat.com --- It's applied on line 59.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #6 from Petr Šabata psabata@redhat.com --- Oh, discard the previous comment; that was valid for Fedora. You're right -- the patch is not applied in EPEL.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- perl-Net-SSH2-0.45-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/perl-Net-SSH2-0.45-4.el6
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- perl-Net-SSH2-0.45-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=864102
Chris Adams linux@cmadams.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA Last Closed| |2013-04-24 17:31:58
--- Comment #9 from Chris Adams linux@cmadams.net --- The -4 update does indeed fix the problem. Thanks!
perl-devel@lists.fedoraproject.org