Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: warn user and halt install if cgroup2fs is missing #31

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

infinitewarp
Copy link
Member

Relates to JIRA: DISCOVERY-612

@abellotti
Copy link
Contributor

do we need to do this check if [[ $(stat -fc %T /sys/fs/cgroup/) != "cgroup2fs" ]]; on RHEL8 only or it's still good on RHEL9, RHEL10, ...

@infinitewarp
Copy link
Member Author

infinitewarp commented Sep 5, 2024

do we need to do this check if [[ $(stat -fc %T /sys/fs/cgroup/) != "cgroup2fs" ]]; on RHEL8 only or it's still good on RHEL9, RHEL10, ...

The way I looked at it is it doesn't hurt to check on all other distros as well. I also ran the updated installer on a stock RHEL9 VM, and this conditional was skipped as expected, since cgroup2fs was already present, but maybe it's possible for someone to disable cgroup2fs on RHEL9+? 🤷

@infinitewarp infinitewarp merged commit 9ab56d0 into main Sep 6, 2024
11 checks passed
@infinitewarp infinitewarp deleted the require-cgroup2fs branch September 6, 2024 15:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants