[systemd-devel] F15: wrong cgroup?

Michał Piotrowski mkkp4x4 at gmail.com
Wed Jul 6 05:21:15 PDT 2011


Hi,

I use sudo to start my deamons.

$ ps xawf -eo pid,user,cgroup,args

show that daemons are in my personal cgroups /sys/fs/cgroup/systemd/user/michal

 1483 root     name=systemd:/user/michal/4 python daemon_foo1
 1495 root     name=systemd:/user/michal/4 python daemon_foo2
 1507 root     name=systemd:/user/michal/4 python daemon_foo3
 1519 root     name=systemd:/user/michal/4 python daemon_foo4
 1527 root     name=systemd:/user/michal/4 python daemon_foo5
 1543 root     name=systemd:/user/michal/4 python daemon_foo6
 1553 root     name=systemd:/user/michal/4 python daemon_foo7
 1567 root     name=systemd:/user/michal/4 python daemon_foo8
 1577 root     name=systemd:/user/michal/4 python daemon_foo9
 1592 root     name=systemd:/user/michal/4 python daemon_foo10
 1606 root     name=systemd:/user/michal/4 python daemon_foo11
 1632 root     name=systemd:/user/michal/4 python daemon_foo12
 1661 root     name=systemd:/user/michal/4 python daemon_foo13

If I'm using sudo why daemons are binded to my personal cgroups not root?

(And yeah, I write daemons in Python :))

-- 
Best regards,
Michal

http://eventhorizon.pl/


More information about the systemd-devel mailing list