libcgroup-0.38.rc1 is out for testing. It contains lot of bugfixes and new features.
Release highlights: * It's possible to set global permissions of groups created by cgconfigparser tool, including sticky bits. * cgclear tool can accept a config file(s) to remove just the groups defined in it. * new README_systemd file describes how to configure system with both systemd and libcgroup working together. * Huge testsuite improvements. The source code can be downloaded from http://sourceforge.net/projects/libcg/files/libcgroup/v.038.rc1/libcgroup-0.38.rc1.tar.bz2/download Please test this pre-release and report any problems with it. Final release will follow in a week or so. Note there is a new test-suite, run "make check" as root. The suite needs root privileges to mount/unmount stuff. It should do nothing harmful, but rather use a virtual machine or backup your data. Thanks to all contributors to this release! Detailed list of all changes (sorted alphabetically by author): Dhaval Giani (2): cgconfig: Do not touch subsystems not mounted by cgconfig libcgroup wrappers: Remove duplicated code Ivana Hutarova Varekova (35): testsuite: add test environment script testsuite: cgconfigparser simple sanity test Remove unnecessary blacklisted variables testsuite: fix tests Makefile to parse tools subdirectory testsuite: add TESTDIR variable to testenv testsuite: new cgconfigparser test cgclassify: add argument check cgclassify: improve(unify) the usage output cgclassify: add -h option Fix strcpy problems in api funtions fix a typo in cgget.1 add missing arg test to theree api functions unify lssubsys output cgconfigparser_simple test: remove duplicate output message Add -h option to cgdelete tool Add -h option to cgexec tool cgdelete: add the possibility to use -g <controllers>:<path> cgdelete: do -h output more verbose cgcreate.1: sort the options in cgcreate.1 cgcreate: fix help output lscgroup: add the possibility to use -g <controllers>:<path> lscgroup: more verbose output of -h option cgget: add the possibility to use -g <controllers>:<path> cgget(1): fix the manual page to describe -g properly cgget: unify -h|--help output tests: remove not used and obsolete test pathtest cg_build_path: use max FILENAME_MAX characters for array in 2nd parameter Fix the malloc error codes cgget: fix return value checks cgsnapshot: fix return value checks cgget: fix final cgget cleanup api: cg_rd_ctrl_file does not free fd cgsnapshot: in special cases memory/fd is not freed api: cgroup_walk_tree_begin not freeing entry api: cg_set_control_value strncat fix Jan Safranek (85): Fix cgclear to continue unmounting on error Fix configure --enable-debug Added tests for cgclassify tool Added README for the tool test suite Fixed cgrules.conf restore in testenv.sh Fixed parsing of mount options Fixed libcgroup to be aware of hierarchies mounted multiple times. Added iterators to go through all mount points of a hierarchy. Updated cgsnapshot to show multiple mount points of hierarchies. Added -M option to lssubsys to show multiple mount points of hierarchies. Fixed cgclear to unmount all hierarchies mounted multiple times. Enhanced cgsnapshot to print named hierarchies. Added support for named hierarchies to cgconfigparser. Added tests for herarcheis mounted several times. Updated cgconfig.conf man page with named hierarchies. Fixed cgconfigparser to allow configs with no 'mount' section Updated cgconfig service descriptions Fixed cg_chmod_recursive Fixed multimount tests Permissions settings documentation tests: Check cgroup_add_controller return value in test_functions cgsnapshot: fixed return value checks in parse_mountpoints() cgsnapshot: fixed exit codes when parsing of mountpoints fails cgconfigparser: Fixed checking of getpw/grnam_r return codes lssubsys: remove unused variable tests: Check cgroup_init() results libcgroup: Fixed potential crash when setting a parameter value cgconfigparser: Made YY_FATAL_ERROR really fatal when parsing cgconfig.conf cgrulesengd: Fixed closing of daemon sockets on error tests: Check getpwnam() return value libcgroup: Fixed a memory leak during cgrules.conf parsing libcgroup: Fixed leaked file descriptor when enumerating controllers libcgroup: Fixed memory and file descriptor leak when enumerating processes cgconfigparser: Fixed memory leak when parsing invalid cgconfig.conf cgsnapshot: Fixed file descriptor leak when getting out of memory cgsnapshot: Fixed file descriptor leak when enumerating controllers libcgroup: Rework walk_tree iterator to release all resources on error. lssubsys: Fixed file descriptor leak on error enumerating controllers. tests: Fixed memory leak in test_functions libcgroup: Added checks for NULL when creating an internal dictionary cgclear: Simplified error handling when unmounting controllers libcgroup: Fixed dereferencing of uninitialized variable when modifying a group libcgroup: Remove unreachable code cgrulesengd: Fixed processing of symlinked executables. libcgroup: fixed chmod cg_chmod_recursive_controller libcgroup: ignore 'tasks' file when changing permission of control files Added cgconfigparser test with fperm and dperm config options libcgroup: added new flag to cgroup_delete_cgroup_ext to delete only empty groups libcgroup: split config parser to standalone function libcgroup: the library can be re-initialize by cgroup_init() libcgroup: allow parsing to be called several times libcgroup: free global config_cgroup_table libcgroup: added cgroup_config_unload_config() function libcgroup: Added simple structure for list of strings. cgclear: delete cgroups from config file cgconfigparser: Allow multiple config files libcgroup: cgroup_delete_cgroup_ext was made namespace aware tests: Added cgconfig tests doc: Man page updates lscgroup: Fixed too many '/' characters on output libcgroup: Define NO_UID_GID. cgconfigparser: Add 'default' section. cgconfigparser: Allow SUID and SGID permissions in 'fperm' and 'dperm' options. tests: Added checks for UID and GID in permission test. tests: Added tests for default permissions. tools: Added parse_mode() and parse_uid_gid() to tools_common.c. libcgroup: Added cgroup_config_set_default() function. cgconfigparser: Added options to set default owners/permissions. tools: Fixed parsing of SUID/SGID/sticky bits in -t and -a options. tests: Added tests for cgconfigparser witg -f, -d, -a and -t options. libcgroup: added new error code when removing non-empty group. cgclear: fixed exit code with -e option tests: Fixed tests for cgclear -e cgcreate, cgconfigparser: Fixed permissions when only one of '-f' and '-d' is set. cgcreate, cgconfigparser: Added new parameter for tasks file permissions. cgcreate, cgconfigparser: Fixed help and documentation style. cgconfigparser: Added 'default' section documentation to cgconfig.conf man. libcgroup: Added compile-time option to ignore certain hierarchies (e.g. systemd). libcgroup: Added README_systemd file. Libcgroup: added cgconfig.service unit for systemd. libcgroup: Fixed cgroup_strerror() typo. tests: added missing files to Makefile.am Add README_systemd to release Updated release process documentation. v0.38.rc1 release Jiri Slaby (2): doc: fix cgconfig manpage scripts: cgconfig, wait for ypbind Michal Hocko (3): Add file and directory permissions into cgroup cgconfig: enable setting file permissions chmod_file: Introduce intelligent file permissions setting Peter Schiffer (1): Fixed few findings from Coverity scan Philipp Thomas (1): This Patch is meant to enhance the wording of the man pages ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel