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

el7: cgroup_info_init() fails in CI with ubuntu-latest #158

Open
grondo opened this issue Dec 11, 2022 · 0 comments
Open

el7: cgroup_info_init() fails in CI with ubuntu-latest #158

grondo opened this issue Dec 11, 2022 · 0 comments

Comments

@grondo
Copy link
Contributor

grondo commented Dec 11, 2022

The unit tests for the pidinfo class fail in the el7 builder when ubuntu-latest is used as the distro for the builder.

The problem appears to be that the host system is using cgroup2fs (new style cgroups), but the CGROUP2_SUPER_MAGIC define doesn't exist in el7, so cgroup_info_init() fails to detect cgroup2, resulting in a failure in pid_info_create().

Probably the best solution is define CGROUP2_SUPER_MAGIC manually when the define isn't found in a header.

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

No branches or pull requests

1 participant