Bug 1323662 - Authen::Krb5 uses internal and no longer existing krb5 functions
Summary: Authen::Krb5 uses internal and no longer existing krb5 functions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Authen-Krb5
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 11:34 UTC by Petr Šabata
Modified: 2016-12-06 10:26 UTC (History)
4 users (show)

Fixed In Version: perl-Authen-Krb5-1.9-18.fc26 perl-Authen-Krb5-1.9-18.fc25 perl-Authen-Krb5-1.9-16.fc23 perl-Authen-Krb5-1.9-17.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-05 21:42:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
A simple patch removing the private functions (1.62 KB, patch)
2016-04-04 11:38 UTC, Petr Šabata
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CPAN 116071 0 None None None 2016-11-25 09:29:05 UTC
Red Hat Bugzilla 1292177 0 unspecified CLOSED Symbol error loading perl module Authen::Krb5. 2021-02-22 00:41:40 UTC

Internal Links: 1292177

Description Petr Šabata 2016-04-04 11:34:47 UTC
Reproducer:
$ PERL_DL_NONLAZY=1 perl -e 'use Authen::Krb5'
Can't load '/usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so' for module Authen::Krb5: /usr/lib64/perl5/vendor_perl/auto/Authen/Krb5/Krb5.so: undefined symbol: krb5_free_krbhst at /usr/lib64/perl5/DynaLoader.pm line 193.
 at -e line 1.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Package version:
perl-Authen-Krb5-1.9-15.fc23.x86_64

See bug #1292177 for more information.

According to upstream's comments in Krb5.xs, these functions were meant to be removed "in the future".

Comment 1 Petr Šabata 2016-04-04 11:38:25 UTC
Created attachment 1143310 [details]
A simple patch removing the private functions

Seems to resolve the issue but might break other stuff; it'd be nice if someone familiar with the module could test this.

Comment 2 Toby Blake 2016-05-20 10:13:10 UTC
Hi there,

Just to confirm that this hasn't broken anything for us.

It looks like these private functions were removed in krb5-1.12, from krb5's doc/CHANGES:

commit 81fde7e475b02986c1aff88766cc48882004d5dc
Author: Greg Hudson <ghudson>
Date:   Fri Mar 22 16:00:48 2013 -0400

    Get rid of krb5_{get,free}_krbhst
    
    These functions were always internal.  They haven't been used since
    v5passwdd was eliminated in krb5 1.4.

This suggests it should probably be safe.

Cheers
Toby

Comment 3 Fedora End Of Life 2016-11-25 07:14:51 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Petr Pisar 2016-11-25 09:45:32 UTC
I applied the patch as it does not make sense to refer non-existing symbols.

Comment 5 Fedora Update System 2016-11-25 09:50:38 UTC
perl-Authen-Krb5-1.9-18.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c9442c30c4

Comment 6 Fedora Update System 2016-11-25 09:52:08 UTC
perl-Authen-Krb5-1.9-17.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e55dd2115

Comment 7 Fedora Update System 2016-11-25 09:52:32 UTC
perl-Authen-Krb5-1.9-16.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e06d05d776

Comment 8 Fedora Update System 2016-11-27 17:26:40 UTC
perl-Authen-Krb5-1.9-16.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e06d05d776

Comment 9 Fedora Update System 2016-11-27 22:58:53 UTC
perl-Authen-Krb5-1.9-18.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c9442c30c4

Comment 10 Fedora Update System 2016-11-28 01:56:01 UTC
perl-Authen-Krb5-1.9-17.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e55dd2115

Comment 11 Fedora Update System 2016-12-05 21:42:34 UTC
perl-Authen-Krb5-1.9-18.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-12-06 02:21:36 UTC
perl-Authen-Krb5-1.9-16.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-12-06 10:26:05 UTC
perl-Authen-Krb5-1.9-17.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.