From 926c3a3f0ab15164edf6518fef00f3cd099a2683 Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Tue, 19 Oct 2021 05:59:19 +0330 Subject: [PATCH] container: Use umount -l for schedtune --- tools/actions/container_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/actions/container_manager.py b/tools/actions/container_manager.py index 24e410b..1b9480c 100644 --- a/tools/actions/container_manager.py +++ b/tools/actions/container_manager.py @@ -137,7 +137,8 @@ def start(args): if which("start"): command = ["start", "cgroup-lite"] tools.helpers.run.user(args, command, check=False) - helpers.mount.umount_all(args, "/sys/fs/cgroup/schedtune") + command = ["umount", "-l", "/sys/fs/cgroup/schedtune"] + tools.helpers.run.user(args, command, check=False) #TODO: remove NFC hacks if which("stop"): -- 2.47.3