suEXEC user mismatch
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 32/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- apache, docker
- 领域
- devops, infrastructure
调研方向
Start by inspecting the Docker image build configuration and suEXEC settings, using the reported suexec -V output and runtime user as the baseline. Reproduce the problem by executing a CGI file as www-data; done means the user check matches the container's Apache user and the CGI executes successfully.
由索引模型根据 Issue 内容生成。
描述
When trying to execute a cgi-file, suexec throws an error, because the apache process is running as user "www-data", whilst the flag "AP_HTTPD_USER" is set to "www" by default.
[2023-05-22 18:21:45]: user mismatch (www-data instead of www)
output of "suexec -V":
-D AP_DOC_ROOT="/usr/local/apache2/htdocs"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="www"
-D AP_LOG_EXEC="/usr/local/apache2/logs/suexec_log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=100
-D AP_USERDIR_SUFFIX="public_html"
Is it possible to replace suEXEC "AP_HTTPD_USER" default value to container default httpd user in order to make it functional by default?
- 主要语言
- Dockerfile
- 星标
- 319
- 派生
- 343
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/httpd 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
docker-library/httpd#280 · 1 条评论 · 7 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
docker-library/httpd#272 · 5 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker-library/httpd#267 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
docker-library/httpd#243 · 10 条评论 ·
查看 docker-library/httpd 的全部 Issue
相似的 Issue
-
area: ci complexity: trivial impact: low
难度 1/5 1 小时以内 新手友好度 72/100
ueberdosis/tiptap#8521 ·
维护者通常 1 天内回复
-
internal os specific
难度 2/5 1-3 小时 新手友好度 65/100
frostney/GocciaScript#1688 ·
维护者通常 1 天内回复
-
benchmark: `make setup` fails because audit-exporter builds with Go 1.25.0 while go.mod requires 1.26.0可能已有人在做 @xsvm 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 84/100
volcano-sh/volcano#6097 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
aristanetworks/avd#7579 ·
维护者通常 1 天内回复
-
[oblt-aw][autodoc] Update PR Actions Detective E2E prerequisites and fix dashboard-format table typo未关闭documentation
难度 2/5 1-3 小时 新手友好度 75/100
elastic/oblt-aw#2382 · 1 条评论 ·
维护者通常 1 天内回复