Hello,

here is first bunch of patches that are needed for better cooperation with
systemd. As agreed, service cgconfig stop/restart should only remove groups
that cgconfig start has created and only if they are empty. This patchset
focuses on that - it allows cgclear to parse a config file and remove only
groups defined there and (optionally) only if they are empty.

cgclear and cgconfigparser were updated to parse multiple files and even
directories to simplify the init script and future unit file(s). 

The best way to review the set is probably start with the last patch (=man
pages) so you see the functionality the patchset tries to implement. There are
also few tests you can examine.

TODO:
 - sticky bit handling, i.e. cgconfigparser (optionally) marks all groups it
   creates as sticky
 - init script changes
 - write a unit file

Jan

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to