Skip to content

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

Merged
navi-desu merged 1 commit into
OpenRC:masterfrom
pva:fix-rc-cgroup-cleanups
Jul 19, 2026
Merged

sh/rc-cgroup.sh: fix minor cgroup handling issues#1015
navi-desu merged 1 commit into
OpenRC:masterfrom
pva:fix-rc-cgroup-cleanups

Conversation

@pva

@pva pva commented May 29, 2026

Copy link
Copy Markdown
Contributor

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
@navi-desu
navi-desu merged commit 1cf3944 into OpenRC:master Jul 19, 2026
7 checks passed
@navi-desu

Copy link
Copy Markdown
Member

thanks

@pva
pva deleted the fix-rc-cgroup-cleanups branch July 23, 2026 18:39
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

2 participants