From: Erfan Abdi Date: Tue, 19 Oct 2021 02:29:19 +0000 (+0330) Subject: container: Use umount -l for schedtune X-Git-Tag: 1.2.0~12 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/926c3a3f0ab15164edf6518fef00f3cd099a2683?ds=inline container: Use umount -l for schedtune --- 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"):