lxcfs/0020-enable-cfs-option-to-show-correct-proc-cpuinfo-view.patch
vegbir 7882af95dd enable cfs option to show correct proc cpuinfo view
(cherry picked from commit f8592c6f765e07b0cc4594fd60e16b3f5c215cab)
2022-07-04 19:22:00 +08:00

26 lines
819 B
Diff

From ba38ee0ef8e375ae7e1b19d6e99626b1152ddef8 Mon Sep 17 00:00:00 2001
From: vegbir <yangjiaqi16@huawei.com>
Date: Mon, 4 Jul 2022 17:15:19 +0800
Subject: [PATCH] enable cfs option to show correct proc cpuinfo view
---
config/init/systemd/lxcfs.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/init/systemd/lxcfs.service b/config/init/systemd/lxcfs.service
index dbb029f..f24e11b 100644
--- a/config/init/systemd/lxcfs.service
+++ b/config/init/systemd/lxcfs.service
@@ -5,7 +5,7 @@ Before=lxc.service
Documentation=man:lxcfs(1)
[Service]
-ExecStart=/usr/bin/lxcfs /usr/local/var/lib/lxcfs
+ExecStart=/usr/bin/lxcfs --enable-cfs /usr/local/var/lib/lxcfs
KillMode=process
Restart=on-failure
ExecStopPost=-/bin/fusermount -u /usr/local/var/lib/lxcfs
--
2.32.1 (Apple Git-133)