> No idea about the systemd aspects, but the best way to get those cgroups
> to be autoremoved is using a release_agent.  See
> Documentation/cgroups/cgroups.txt in the kernel source.

Serge,

Thanks for the pointer.  That does seem like the right direction,
although it looks like this cgroup hierarchy already has a release
agent defined:

# cat /sys/fs/cgroup/systemd/release_agent
/usr/lib/systemd/systemd-cgroups-agent

And if I understand correctly, release agents can only be defined in
"root" cgroups (so I can't override this in
/sys/fs/cgroup/systemd/<container>/).  Time to visit the systemd list
again, maybe.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to