Wed Feb 07 2024 Tom Hromatka <tom.hromatka@oracle.com>- 3.1.0-1.0.1
- Add systemd C APIs
- Add systemd support to all command line tools, including cgcreate,
cgconfigparser, cgexec, and cgclassify. Note the usage of the -b flag in many
tools to ignore the default systemd hierarchy and operate from the root of
the cgroup hierarchy
- Add python systemd APIs
- Improved handling of legacy (cgroup v1), hybrid (v1/v2), and unified (v2)
cgroup hierarchies
- Add several new C APIs, including:
cg_setup_mode_t() - A function that returns the current cgroup setup mode
(legacy, hybrid, or unified)
Various functions for better traversal through a struct cgroup
cgroup_create_scope() and cgroup_create_scope2() for creating systemd scopes
cgconfigparser now supports a systemd section
- Libcgroup python bindings have matured greatly but are still considered
experimental and subject to change. Community feedback here would be greatly
appreciated
Add rudimentary logging support
Add systemd support
Add setup mode (legacy, hybrid, unified) support
Add several APIs for operating on struct cgroup in a Pythonic manner
Add methods for moving processes within cgroups
Rename blacklist to denylist
Rename whitelist to allowlist
Add many functional tests
- Remove ExecStop from extras-3.1.0/cgconfig.service unit
- Add dependency of selinux-policy package for libcgroup-tools