Public bug reported:

I can't get cgexec to work in impish

impish using cgroup2 fs semantics:

# mkdir /sys/fs/cgroup/test
# echo 1000000000 > /sys/fs/cgroup/test/memory.low
# cgexec -g memory:test /bin/true
libcroup initialization failed: Cgroup is not mounted
# echo $?
81

hirsute, using cgroup1 fs semantics this works OK:
# mkdir /sys/fs/cgroup/memory/test
# echo 1000000000 > /sys/fs/cgroup/memory/test/memory.limit_in_bytes
# cgexec -g memory:test /bin/true
# echo $?
0

** Affects: libcgroup (Ubuntu)
     Importance: Critical
         Status: New

** Changed in: libcgroup (Ubuntu)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945972

Title:
  cgexec fails on impish, group2 support seems lacking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/1945972/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to