ioi / isolate

Sandbox for securely executing untrusted programs
Other
1.04k stars 154 forks source link

isolate-check-environment false negative for cgroup support #132

Closed KrisjanisP closed 4 months ago

KrisjanisP commented 9 months ago

Running isolate-check-environment results in:

Checking for cgroup support for memory ... CAUTION
WARNING: the memory is not present. isolate --cg cannot be used.
Checking for cgroup support for cpuacct ... CAUTION
WARNING: the cpuacct is not present. isolate --cg cannot be used.
Checking for cgroup support for cpuset ... CAUTION
WARNING: the cpuset is not present. isolate --cg cannot be used.
...

However isolate --cg seems to work just fine after updating grub config, running systemd service.

Output of uname -r on Ubuntu 22.10:

5.19.0-46-generic

I am on cg2 branch of the repo.

gollux commented 4 months ago

Fixed in current master.