AOSC-Dev / aosc-os-abbs

ABBS/ACBS tree for AOSC OS package metadata, build configuration, scripts, and patches
https://packages.aosc.io
GNU General Public License v2.0
100 stars 78 forks source link

httpd: override conf.modules.d module prefix discrepancy #4746

Closed StephDC closed 7 months ago

StephDC commented 11 months ago

Bug description

From /etc/httpd/conf/httpd.conf - ServerRoot "/usr"

However, all module path specified in conf.modules.d are relative to either "/etc/httpd" or "/usr/lib/httpd".

Steps to reproduce

By including any of the conf.modules.d file in /etc/httpd/conf/httpd.conf, httpd would fail to find the modules, and die.

Update channel(s)

stable

Package and version

Package: httpd
Status: install ok installed
Section: net
Installed-Size: 33628
Maintainer: Mingcong Bai <jeffbai@aosc.io>
Architecture: amd64
Version: 2.4.55
Provides: apache
Depends: aosc-aaa (>= 10.0.1), apr-util (>= 1.6.1-5), openssl (>= 1.1.1q-1), pcre (>= 8.44-2), zlib (>= 1.2.12-3), systemd (>= 1:252.3), lynx (>= 1:2.8.9rel1-2), lua (>= 1:5.1.5-5), libxml2 (>= 2.10.3-1), nghttp2 (>= 1.43.0)
Conffiles:
 /etc/httpd/conf.d/manual.conf 6e8b4cceb35921d4aa09c71ee15d7925
 /etc/httpd/conf.d/ssl.conf fe2dcaa9706e0830ddce29bf1d3b6a38
 /etc/httpd/conf.d/userdir.conf d4a2620683cc3ff2315c685f9f354265
 /etc/httpd/conf.d/welcome.conf a01d5e7293cc81f258f80a3560f8fca0
 /etc/httpd/conf.modules.d/00-base.conf 0031505a9b18d710bd16b1b146c1c92c
 /etc/httpd/conf.modules.d/00-dav.conf 56406b62d1fc7b7f1912e5b9e223f7a0
 /etc/httpd/conf.modules.d/00-mpm.conf 820f672ca85595fd80620db585d51970
 /etc/httpd/conf.modules.d/00-optional.conf ae744ad997fef6cbdb99c20998c42548
 /etc/httpd/conf.modules.d/00-proxy.conf 85487c6777a89a8494dc8976dfff3268
 /etc/httpd/conf.modules.d/00-proxyhtml.conf 0ec1cd556e1411ab05dccd84d6f65339
 /etc/httpd/conf.modules.d/00-ssl.conf e282ac9f82fe5538692a4de3616fb695
 /etc/httpd/conf.modules.d/00-systemd.conf fd94264cd695af2ad86e7715c10e285d
 /etc/httpd/conf.modules.d/01-cgi.conf 36e54d4b2bd190f5cbad876bfbeda461
 /etc/httpd/conf.modules.d/01-ldap.conf 033c3c47d8e21ca0c896b802f9041291
 /etc/httpd/conf.modules.d/01-session.conf 58ce859690423e6f93cb88ff5f75006a
 /etc/httpd/conf/extra/httpd-autoindex.conf cd19e678a99b3490685ea171946cafb3
 /etc/httpd/conf/extra/httpd-dav.conf 48efc96de9bbc7184a284c422a45df5b
 /etc/httpd/conf/extra/httpd-default.conf 1f49af812d7f383d47dc75ee236e9e6f
 /etc/httpd/conf/extra/httpd-info.conf f99f8170eb4fae7ee4ef31b8a370fda9
 /etc/httpd/conf/extra/httpd-languages.conf 3584ae9dbe665a19dcf9f41f028f3055
 /etc/httpd/conf/extra/httpd-manual.conf 64ee0dffeaf2d83868c23787dc76b7ec
 /etc/httpd/conf/extra/httpd-mpm.conf be89b2e2d9b742d7c8323bc5b6d14e56
 /etc/httpd/conf/extra/httpd-multilang-errordoc.conf 78d34366ecbf744298d470b374aab2ee
 /etc/httpd/conf/extra/httpd-ssl.conf 81509217e1d472485764359b4a729b13
 /etc/httpd/conf/extra/httpd-userdir.conf c6a794e690bfbf9887d1ef6dea21b70b
 /etc/httpd/conf/extra/httpd-vhosts.conf 65742d00e9892f385d20d995c57c159d
 /etc/httpd/conf/extra/proxy-html.conf fcfc05b103652a1ecf852ed989a71539
 /etc/httpd/conf/httpd.conf 01baa8ca50145c0a97d696190ea82e89
 /etc/httpd/conf/magic a75b8cf9c6a2a30a0577f02d787eaea7
 /etc/httpd/conf/mime.types e9d4c9b0e05438a015175a86d166bee6
 /etc/httpd/conf/original/extra/httpd-autoindex.conf cd19e678a99b3490685ea171946cafb3
 /etc/httpd/conf/original/extra/httpd-dav.conf 48efc96de9bbc7184a284c422a45df5b
 /etc/httpd/conf/original/extra/httpd-default.conf 1f49af812d7f383d47dc75ee236e9e6f
 /etc/httpd/conf/original/extra/httpd-info.conf f99f8170eb4fae7ee4ef31b8a370fda9
 /etc/httpd/conf/original/extra/httpd-languages.conf 3584ae9dbe665a19dcf9f41f028f3055
 /etc/httpd/conf/original/extra/httpd-manual.conf 64ee0dffeaf2d83868c23787dc76b7ec
 /etc/httpd/conf/original/extra/httpd-mpm.conf be89b2e2d9b742d7c8323bc5b6d14e56
 /etc/httpd/conf/original/extra/httpd-multilang-errordoc.conf 78d34366ecbf744298d470b374aab2ee
 /etc/httpd/conf/original/extra/httpd-ssl.conf 81509217e1d472485764359b4a729b13
 /etc/httpd/conf/original/extra/httpd-userdir.conf c6a794e690bfbf9887d1ef6dea21b70b
 /etc/httpd/conf/original/extra/httpd-vhosts.conf 65742d00e9892f385d20d995c57c159d
 /etc/httpd/conf/original/extra/proxy-html.conf fcfc05b103652a1ecf852ed989a71539
 /etc/httpd/conf/original/httpd.conf a6b0053a4d0cc414310e50278441e5c3
 /etc/logrotate.d/httpd 8e70aedd476186cdacf44deba851787f
Description: Apache HTTP Server
X-AOSC-ACBS-Version: 20221105
X-AOSC-Commit: 7eed8f64d1
X-AOSC-Autobuild3-Version: 2:1.6.69
StephDC commented 7 months ago

Fixed by https://github.com/AOSC-Dev/aosc-os-abbs/commit/138633937018e89c24b2b68e9f10a803c3b45151 , closing.