Bug 864102
| Summary: | Bad precedence in library version check | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Chris Adams <linux> | ||||
| Component: | perl-Net-SSH2 | Assignee: | Petr Šabata <psabata> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | el6 | CC: | perl-devel, psabata | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-04-24 21:31:58 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: | |||||||
| Attachments: |
|
||||||
I've just pushed this to Rawhide with the 0.47 update. The el6 build will be available shortly. 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 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. The necessary patch is included in the SRPM but not actually applied in the spec, so the problem still exists. It's applied on line 59. Oh, discard the previous comment; that was valid for Fedora. You're right -- the patch is not applied in EPEL. 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 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. The -4 update does indeed fix the problem. Thanks! |
Created attachment 623492 [details] 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.