395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[feature-request] can we isolate /proc/sys/kernel/core_pattern by namespace

已拒绝
任务
创建于  
2020-04-21 20:16

[feature]
isolate /proc/sys/kernel/core_pattern

[scenarios]
when we use container, if the application has a core dump, we wanna to get its coredump file.
But we don't wanna any core file in the host.So we need an isolation between container and host.
If it works, we won't have any core file in host but we can get our application core file in the container.

Glad to hear your suggestion~

评论 (10)

haomintsai 创建了任务
haomintsai 关联仓库设置为openEuler/kernel
展开全部操作日志

Hey @haomintsai, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

haomintsai 修改了描述

@Xie XiuQi Plz take a look

@haomintsai

I'll discuss with kernel team.

@haomintsai
I'll discuss with kernel team.

Thanks~~~
@Xie XiuQi

Is there any discussion conclusion?
This feature is very needed in the container.
@Xie XiuQi

The discussion in kernel mailing list in 2016, but it has not been applied yet.

https://lore.kernel.org/patchwork/patch/643798/

@Xie XiuQi
Glad to hear from you~

The discussion in kernel mailing list in 2016, but it has not been applied yet.
https://lore.kernel.org/patchwork/patch/643798/

I had a deep looking into that patch, the problem lies in the pipe use in core_pattern like | /usr/bin/gdb xxxx

Although the author argued about the limit usage in container, there still some gap before get merged.

So what's your thought for a further step? Should we follow above PR or have something else?

There is no proper solution until now, just close this issue. If anyone has any good idea, please open a new issue.

Xie XiuQi 任务状态待办的 修改为已拒绝
Xie XiuQi 添加了
 
kind/feature
标签
Xie XiuQi 任务状态已拒绝 修改为待办的
openeuler-ci-bot 负责人设置为weiyj
openeuler-ci-bot 移除了
 
kind/feature
标签
Xie XiuQi 任务状态待办的 修改为已拒绝

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助