Summary: | www-apache/mod_auth_kerb-5.4-r5: stabilisation (was: fails to load in Apache (mod_auth_kerb.so: undefined symbol: krb5_rc_resolve_full)) | ||||||
---|---|---|---|---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vieri <rentorbuy> | ||||
Component: | Stabilization | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | normal | CC: | sam | ||||
Priority: | Normal | Keywords: | CC-ARCHES | ||||
Version: | unspecified | Flags: | nattka:
sanity-check+
|
||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1776262.html | ||||||
Whiteboard: | |||||||
Package list: |
www-apache/mod_auth_kerb-5.4-r5
|
Runtime testing required: | --- | ||||
Bug Depends on: | |||||||
Bug Blocks: | 738968, 827679 | ||||||
Attachments: |
|
Description
Vieri
2021-12-29 07:18:28 UTC
I don't think mit-krb5 installes the Apache module, does it? Can you try https://sources.debian.org/data/main/liba/libapache-mod-auth-kerb/5.4-2.5/debian/patches/0011-Always-use-NONE-replay-cache-type.patch please? 1 out of 3 hunks FAILED src/mod_auth_kerb.c.rej --- src/mod_auth_kerb.c +++ src/mod_auth_kerb.c @@ -2057,27 +2057,6 @@ kerb_authenticate_user(request_rec *r) return ret; } -static int -have_rcache_type(const char *type) -{ - krb5_error_code ret; - krb5_context context; - krb5_rcache id = NULL; - int found; - - ret = krb5_init_context(&context); - if (ret) - return 0; - - ret = krb5_rc_resolve_full(context, &id, "none:"); - found = (ret == 0); - - if (ret == 0) - krb5_rc_destroy(context, id); - krb5_free_context(context); - - return found; -} /*************************************************************************** Module Setup/Configuration You should be able to delete that hunk for testing purposes. Created attachment 760702 [details, diff]
patch for latest ebuild
to be included as last patch in ebuild
I created mod_auth_kerb-5.4-r4.ebuild from current mod_auth_kerb-5.4-r3.ebuild and simply added the patch as so: PATCHES=( "${WORKDIR}/${P}-gentoo-patchset"/${P}-rcopshack.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-fixes.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-s4u2proxy.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-httpd24.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-delegation.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-cachedir.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-longuser.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-handle-continue.patch "${WORKDIR}/${P}-gentoo-patchset"/${P}-heimdal.patch "${FILESDIR}"/0011-Always-use-NONE-replay-cache-type.patch ) Emerged mod_auth_kerb and an apache service restart does NOT complain anymore. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c542201cff236f67aac6eaa0ca86863d34df80 commit b4c542201cff236f67aac6eaa0ca86863d34df80 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-29 08:38:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-29 08:38:06 +0000 www-apache/mod_auth_kerb: add Debian patch for krb5 ABI break Was using an internal API. Closes: https://bugs.gentoo.org/830208 Signed-off-by: Sam James <sam@gentoo.org> .../files/mod_auth_kerb-5.4-api-change-krb5.patch | 51 ++++++++++++++++++ .../mod_auth_kerb/mod_auth_kerb-5.4-r4.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 114 insertions(+) Thanks for testing! Stable won't work at all right now so let's stable immediately. Unable to check for sanity:
> no match for package: www-apache/mod_auth_kerb-5.4-r4
Please consider adding mod_auth_kerb-krb5_kt_close.patch from https://sourceforge.net/p/modauthkerb/bugs/61/ This patch was developed by us some years ago and is essential to us. (In reply to Joakim Tjernlund from comment #10) > Please consider adding mod_auth_kerb-krb5_kt_close.patch from > https://sourceforge.net/p/modauthkerb/bugs/61/ > > This patch was developed by us some years ago and is essential to us. Done, I think, in bug 673066 (I noticed it after I added the original patch but it's in -r5). Thank you! (In reply to Sam James from comment #11) > (In reply to Joakim Tjernlund from comment #10) > > Please consider adding mod_auth_kerb-krb5_kt_close.patch from > > https://sourceforge.net/p/modauthkerb/bugs/61/ > > > > This patch was developed by us some years ago and is essential to us. > > Done, I think, in bug 673066 (I noticed it after I added the original patch > but it's in -r5). Thank you! Yes, that is the one. Thanks amd64 done x86 done all arches done |