On Tue, Oct 04, 2011 at 09:30:17AM +0200, Jan Safranek wrote: > On 10/03/2011 11:22 PM, Vivek Goyal wrote: > > On Mon, Oct 03, 2011 at 10:38:20AM +0200, Jan Safranek wrote: > >> On 09/30/2011 05:22 PM, Vivek Goyal wrote: > >>> On Fri, Sep 23, 2011 at 03:52:31PM +0200, Jan Safranek wrote: > >>>> 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. > >>>> > >>> > >>> Thanks for doing this work Jan. > >>> > >>>> cgclear and cgconfigparser were updated to parse multiple files and even > >>>> directories to simplify the init script and future unit file(s). > >>> > >>> What's the use case of being able to specify mulitple files? > >>> > > > > Jan, any thougts on above? Why to providef flexibility to be able to > > specify a directory of cgconfig files. > > The idea is that there is /etc/cgconfig.d/ (or something like that) and > admins or even packages can put their pre-configured groups there. Files > there can have different permissions, so non-root users can still > fine-tune their groups (and only their groups).
Ok, so this sounds like a separate functionality. May be we can decouple it from existing series which priamrily tries to resove cgclear issues with systemd and shared groups etc and keep this functionality in a separate patch series. Thanks Vivek ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel