[pkg-go] Bug#990263: podman sets oom_score_adj to -1000 for processes inside the

Max Bruckner max at doo.shop
Thu Jul 1 07:29:07 BST 2021


I just found the bug and the fix! It's not in podman but in conmon!

See https://github.com/containers/conmon/releases/tag/v2.0.29 and
https://github.com/containers/conmon/commit/b033cb5dfde6de05e63408fc839f1bb641cddd85


On Tue, 29 Jun 2021 00:08:48 +0900 Hideki Yamane <henrich at iijmio-mail.jp> wrote:
>  Well, I've tested it too with bullseye on KVM and reproduced it, however,
>  it's only under root privilege. Just run "$ podman run -it --rm debian sh"
>  via normal user and it returns 0.

Yes, when running as normal user it just doesn't have the permissions to set negative OOM score adjustments, that's why
it's 0.

>  And also tested with my daily driver unstable system I cannot reproduce it.
>  (But sid on KVM can reproduce it, hmm...)

Probably because it's the conmon version that matters. I can reproduce it on Archlinux as well by downgrading conmon to
2.0.28
 
>  It may be better to downgrade as important if it's only root privilege, IMO.

I'm new to debian bug reports and only saw the "breaks the whole system" criterium in the list that "reportbug" printed.
So feel free to downgrade. Not sure if I have the permission to do so as the bug reporter, but if so I don't even know
how to.



More information about the Pkg-go-maintainers mailing list