<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:maxposedon@gmail.com" title="Maksim Melnikau <maxposedon@gmail.com>"> <span class="fn">Maksim Melnikau</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cannot configure default control group hierarchies via logind.conf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54753">bug 54753</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>maxposedon@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cannot configure default control group hierarchies via logind.conf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54753#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Cannot configure default control group hierarchies via logind.conf"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54753">bug 54753</a>
from <span class="vcard"><a class="email" href="mailto:maxposedon@gmail.com" title="Maksim Melnikau <maxposedon@gmail.com>"> <span class="fn">Maksim Melnikau</span></a>
</span></b>
<pre>In fact only *cpu* control group can not be configured with logind.conf.
/etc/systemd/system.conf
[Manager]
DefaultControllers=cpu memory blkio
JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio
/etc/systemd/logind.conf
[Login]
Controllers=cpu memory blkio
ResetControllers=
# login to system
# cat /proc/self/cgroup
8:perf_event:/
7:blkio:/user/max_posedon/c1
6:net_prio,net_cls:/
5:freezer:/
4:devices:/
3:memory:/user/max_posedon/c1
2:cpuacct,cpu,cpuset:/
1:name=systemd:/user/max_posedon/c1
As I see, it works with memory, and blkio, and don't with cpu.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>