Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b91bf4ba authored by San Mehat's avatar San Mehat
Browse files

Revert "init.rc: Add cpuacct to cgroup mount for cpu statistics"

This reverts commit a7d88224.

This cgroup subsys should be mounted on it's own mount-point, since it's
addition to /dev/cpuctl causes the cpu subsys to EPERM
parent bfb0477f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -58,9 +58,7 @@ loglevel 3

# Create cgroup mount points for process groups
    mkdir /dev/cpuctl
    mount cgroup none /dev/cpuctl cpu,cpuacct
    mkdir /dev/cpuctl/uid
    chmod 0775 /dev/cpuctl/uid
    mount cgroup none /dev/cpuctl cpu
    chown system system /dev/cpuctl
    chown system system /dev/cpuctl/tasks
    chmod 0777 /dev/cpuctl/tasks