On Tue, Jul 24, 2012 at 12:50 AM, Ivana Varekova <varek...@redhat.com> wrote: > It seems everybody agrees with this feature. > > So I suggest to split it to 2 parts: > 1/ Add the possibility to set > @student devices /students/${username} > in cgrules.conf > Then if there is not relevant group, it is created based on the root group >
This is not a good idea. We need a sane default, which in most cases is the more conservative option. (This might not be the case here). > > 2/Add the possibility to use record > template /students/${username} { > ... > } > in cgconfig.conf. > This record will be read by cgconfigparser as well but it will be ignored. > It will be read if cgroup_change_cgroup_flags does not found relevant group > for record > @student devices /students/${username} > then the group will be added based on this template record. > I prefer a default template, which people can modify. > Ideas welcomed. Do you have any code we can see? Dhaval ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel