1 Star 0 Fork 9

wuzx/lxcfs

forked from src-openEuler/lxcfs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0013-enable-cfs-option-to-show-correct-proc-cpuinfo-view.patch 936 Bytes
一键复制 编辑 原始数据 按行查看 历史
vegbir 提交于 2023-07-27 17:31 +08:00 . upgrade to 5.0.4
From 30f3e8cf0c6e34c5a8e4dd9d599c6c96646bd2ba Mon Sep 17 00:00:00 2001
From: vegbir <yangjiaqi16@huawei.com>
Date: Sat, 15 Jul 2023 03:43:12 +0000
Subject: [PATCH 13/15] enable cfs option to show correct proc cpuinfo view
Signed-off-by: vegbir <yangjiaqi16@huawei.com>
---
config/init/systemd/lxcfs.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/init/systemd/lxcfs.service.in b/config/init/systemd/lxcfs.service.in
index bae1d08..c3bfd0f 100644
--- a/config/init/systemd/lxcfs.service.in
+++ b/config/init/systemd/lxcfs.service.in
@@ -7,7 +7,7 @@ Documentation=man:lxcfs(1)
[Service]
OOMScoreAdjust=-1000
ExecStartPre=-/usr/local/bin/lxcfs-tools prestart
-ExecStart=/usr/bin/lxcfs /var/lib/lxc/lxcfs/
+ExecStart=/usr/bin/lxcfs --enable-cfs /var/lib/lxc/lxcfs/
ExecStartPost=-/usr/local/bin/lxcfs-tools remount -a
KillMode=process
ExecStop=-/usr/local/bin/lxcfs-tools umount -a
--
2.41.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuzx065891/lxcfs.git
git@gitee.com:wuzx065891/lxcfs.git
wuzx065891
lxcfs
lxcfs
master

搜索帮助

371d5123 14472233 46e8bd33 14472233