Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroup: fix various issues with compatibility with older bst spacetimes #82

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

Snaipe
Copy link
Member

@Snaipe Snaipe commented Aug 30, 2023

It is currently not possible to use bst with older versions of bst due to the older spacetime leaving the cgroup unconfigured. This means that /sys/fs/cgroup is unusable to the inner/newer bst, which in turn promptly fails.

By default, failed systemd units are kept around for inspection, but
this is not desirable for bst's own use-case, since `bst false` is a
valid invocation that should not warrant its own persistence.
The none driver simply disables the cgroup handling of bst, which was
the original behaviour. It is not recommended for typical use, but it
has its worth in testing and maintaining backward-compatibility.
This helps running bst in older bst spacetimes, where the cgroup was
left unconfigured, and setting up a child cgroup is simply impossible.
@Snaipe Snaipe merged commit cf3f27c into main Aug 31, 2023
6 checks passed
@Snaipe Snaipe deleted the fix/cgroup-compat branch August 31, 2023 13:23
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.

1 participant