cgred:cgred should start when cgroup is mounted
If we mount the cgroup without the name cgroup like the following:
cpu on /cgroup/cpu type cgroup (rw,cpu)
the cgred service will start failed, because it just check the name.
So changing cgred to check the mounted system's type instead of the name.
v1 -> v2
Using the right method to check cgroup filesystem. The first version
patch's method is wrong, so resend the second patch.
Signed-off-by: Weng Meiling <email@example.com>
Acked-by: Ivana Hutarova Varekova <firstname.lastname@example.org>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.