Skip to content

Check process name in test_proc_status_for_kthreadd#337

Merged
eminence merged 1 commit intoeminence:masterfrom
NoisyCoil:fix-test-kthreadd
Feb 16, 2025
Merged

Check process name in test_proc_status_for_kthreadd#337
eminence merged 1 commit intoeminence:masterfrom
NoisyCoil:fix-test-kthreadd

Conversation

@NoisyCoil
Copy link

Hi again. While completing the update of procfs in Debian, Fabian Grünbichler discovered a bug in test_proc_status_for_kthreadd: some containers (or namespaces) may have a process with PID 2 which isn't kthreadd, which will make the test fail. This MR adds an explicit check for the process' name. I was given permission from Fabian to use his fix for this PR.

Cheers!

@eminence
Copy link
Owner

LGTM, thanks!

@eminence eminence merged commit eb07024 into eminence:master Feb 16, 2025
6 checks passed
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.

2 participants