Created attachment 1241 [details] libcgroup-tools的指令cgdelete -g memory:/testgroup 的差异报告 Description of problem: 在AnolisOS23下安装libcgroup-tools.x86_64后,不存在testgroup的控制组(cgroup)的情况下,cgdelete -g memory:/testgroup指令无法得到正确的报错信息,并且命令的返回值为0,在AnolisOS8下的报错信息为cgdelete: cannot remove group '/testgroup': No such file or directory,返回值为96 Version-Release number of selected component (if applicable): How reproducible: 进入AnolisOS23的docker容器执行以下指令 Steps to Reproduce: 1.yum install -y libcgroup-tools.x86_64 2.cgdelete -g memory:/testgroup 3. Actual results: returncode: 0 无输出/错误输出 Expected results: returncode: 96 cgdelete: cannot remove group '/testgroup': No such file or directory Additional info:
上游源码问题,需要升级或打补丁解决(https://kkgithub.com/libcgroup/libcgroup/commit/07259f1f17a3a60e46f72728e0262d8d8927c509)