<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - systemd-escape && systemd-nspawn"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89765#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - systemd-escape && systemd-nspawn"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89765">bug 89765</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre><span class="quote">> stat /sys/fs/cgroup/systemd/$(systemctl --user show -p ControlGroup
> tmux.service|sed 's/.*=//' )</span >
This is pretty good already. To get the missing prefix use the control group
root that your PID 1 systemd instance is using, which you can query with:
systemctl -a show -p ControlGroup
i.e. don't specify a unit name, and you get the manager's properties. And do
this for the system instance, not the user instance.
If you then concat the /sys/fs/cgroup prefix, with this PID1 cgroup root, with
the unit path, then you should be good.</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>