Bug 261646 - security/oath-toolkit pam_oath undefined symbol pam_modutil_getpwnam
Summary: security/oath-toolkit pam_oath undefined symbol pam_modutil_getpwnam
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-01 09:49 UTC by Matt Smith
Modified: 2022-02-01 15:21 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Smith 2022-02-01 09:49:38 UTC
I just upgraded to 2.6.7 of oath-toolkit and the pam_oath module is now exiting with the error in try_dlopen(): /usr/local/lib/security/pam_oath.so: (null): Undefined symbol "pam_modutil_getpwnam" when I try to authenticate.

I can see that pam_modutil_getpwnam is mentioned in the ports patches and so I guess the patch isn't quite correct or it was only tested on specific versions of FreeBSD.

I am running FreeBSD 13.0-RELEASE-p6 and oath-toolkit was compiled using poudriere with the pskc option disabled.
Comment 1 Alex Dupre freebsd_committer freebsd_triage 2022-02-01 12:11:00 UTC
Thanks for reporting, investigating. Sorry for the breakage.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-02-01 15:12:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7792db3ba6e29f6db913631620918815d9d4da2f

commit 7792db3ba6e29f6db913631620918815d9d4da2f
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2022-02-01 15:11:01 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2022-02-01 15:12:23 +0000

    security/oath-toolkit: fix pam_oath undefined symbol at modul load

    PR:             261646
    Submitted by:   Matt Smith <freebsd@xtaz.uk>

 security/oath-toolkit/Makefile                     |  1 +
 .../oath-toolkit/files/patch-pam__oath_Makefile.in | 51 +++++++++++++++++++++-
 2 files changed, 50 insertions(+), 2 deletions(-)
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2022-02-01 15:13:42 UTC
It should be fixed now, let me know if it isn't.
Comment 4 Matt Smith 2022-02-01 15:21:02 UTC
That works! Thank you very much.