Docker 镜像 entrypoint.sh core_pattern 设置未生效,可能造成coreFile无法生成
Open
Nobody has claimed this yet.
bug
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
Bug Description
entrypoint.sh 46行代码 尝试使用 sysctl 设置core_pattern,但容器内默认未安装(apt install -y procps),
可能造成 coreFile 因某些原因无法生成
Screenshots
Environment (please complete the following information):
- OS: Ubuntu + microk8s
- Memory, CPU, current Disk Space
- TDengine Version 3.3.8.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with entrypoint.sh line 46 and inspect the Docker image build configuration to see whether procps is installed before sysctl is invoked. Reproduce the container setup on Ubuntu with microk8s using TDengine 3.3.8.4, then verify that core_pattern is applied and coreFile generation works as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, linux, shell, ubuntu
- Domain
- devops, infrastructure, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100