Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812859 - www-servers/apache: fails to start mod_ssl with OpenSSL 3 ( undefined symbol: ERR_GET_FUNC)
Summary: www-servers/apache: fails to start mod_ssl with OpenSSL 3 ( undefi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
Keywords: PATCH
Depends on:
Blocks: openssl-3.0
  Show dependency tree
Reported: 2021-09-13 03:00 UTC by Sam James
Modified: 2021-09-20 06:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

ssl_engine_init.c.patch (file_812859.txt,1.73 KB, patch)
2021-09-13 03:01 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester gentoo-dev Security 2021-09-13 03:00:36 UTC
Reported by Delicates on IRC:

# /etc/init.d/apache2 stop
* Stopping apache2 ...
apache2: Syntax error on line 125 of /etc/apache2/httpd.conf: Cannot load modules/ into server: /usr/lib64/apache2/modules/ undefined symbol: ERR_GET_FUNC                                                                                                                                                                                                                                         [ !! ]
* ERROR: apache2 failed to stop

This seems like a somewhat standard failure where weak definitions are permitted (because it's a module) but it never ended up getting resolved.

Upstream thread:
Upstream patch:

I've also attached the patch the user submitted to me, which looks like a cleaned up version of the linked one.
Comment 1 Sam James archtester gentoo-dev Security 2021-09-13 03:01:01 UTC
Created attachment 739075 [details, diff]
Comment 2 Sam James archtester gentoo-dev Security 2021-09-13 03:10:21 UTC
Notably, Fedora has a far larger patch:, but this looks like it might fix a lot of deprecated usage rather than being _strictly_ necessary for now.

Comment 3 Hans de Graaff gentoo-dev 2021-09-19 07:40:40 UTC
I'm very hesitant to add patches like this. It is very easy to miss additional security issues this way and introduce an insecure version. I would strongly prefer that we follow the upstream httpd releases with this. The patch has been applied to apache 2.5 trunk only and not to 2.4 and we can't tell why that has not happened yet (e.g. because it would introduce other security-related issues).