Skip to content

sh/rc-cgroup.sh: fix minor cgroup handling issues#1015

Open
pva wants to merge 1 commit into
OpenRC:masterfrom
pva:fix-rc-cgroup-cleanups
Open

sh/rc-cgroup.sh: fix minor cgroup handling issues#1015
pva wants to merge 1 commit into
OpenRC:masterfrom
pva:fix-rc-cgroup-cleanups

Conversation

@pva
Copy link
Copy Markdown

@pva pva commented May 29, 2026

Declare variables used by cgroup helpers as local, fix a few typos, and make function brace style consistent.

Also, update cgroup_running() to check the openrc. cgroup v2 paths created by cgroup2_set_limits().

Fixes #910

While refactoring in #820 takes time, let's still address these issues in master...

Declare variables used by cgroup helpers as local, fix a few typos, and make
function brace style consistent.

Also update cgroup_running() to check the openrc.<service> cgroup v2 paths
created by cgroup2_set_limits().

Fixes OpenRC#910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cgroup_cleanup never runs

1 participant