Bug 8920 - systemctl enable任意服务引发cgroup监控进程退组
Summary: systemctl enable任意服务引发cgroup监控进程退组
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 8.6
Hardware: All Linux
: P1-Urgent S2-major
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 16:06 UTC by zhangshw2
Modified: 2024-04-29 16:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhangshw2 2024-04-29 16:06:06 UTC
Description of problem:

systemctl enable任何服务,影响已创建cgroup监控的进程
Version-Release number of selected component (if applicable):


How reproducible:



Steps to Reproduce:
1.通过配置/etc/cgrule.conf或者echo pid到/sys/fs/cgroup/memory/mygrp/cgroup.procs方式添加进程到已建cgroup组mygrp
2.systemctl enable任何服务,入systemctl enable nfs.service
3./sys/fs/cgroup/memory/mygrp/cgroup.procs被清空,进程已全部退出

Actual results:
/sys/fs/cgroup/memory/mygrp/cgroup.procs被清空,进程已全部退出

Expected results:
/sys/fs/cgroup/memory/mygrp/cgroup.procs进程不退出

Additional info: