[systemd-bugs] [Bug 89765] systemd-escape && systemd-nspawn
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 3 10:27:26 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89765
--- Comment #3 from Lennart Poettering <lennart at poettering.net> ---
> stat /sys/fs/cgroup/systemd/$(systemctl --user show -p ControlGroup
> tmux.service|sed 's/.*=//' )
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150403/3a9e7b64/attachment-0001.html>
More information about the systemd-bugs
mailing list