Package: cgroupfs-mount
Severity: wishlist

Hi,
I'm using lxc that warns about use_hierarchy not being enabled
for memory cgroup:

You can find some infos in report like this:
https://github.com/lxc/lxc/issues/236


I've added the following code before exit in /usr/bin/cgroupfs-mount

if [ -e /sys/fs/cgroup/memory/memory.use_hierarchy ]; then
    echo 1 > /sys/fs/cgroup/memory/memory.use_hierarchy
fi


systemd already setups in a suitable way the memory cgroup

Thanks
Regards



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cgroupfs-mount depends on:
ii  lsb-base  11.1.0

cgroupfs-mount recommends no packages.

cgroupfs-mount suggests no packages.

Reply via email to