[pkg-go] Bug#990263: podman sets oom_score_adj to -1000 for processes inside the
Hideki Yamane
henrich at iijmio-mail.jp
Mon Jun 28 16:08:48 BST 2021
container so the system breaks in OOM situations
Message-Id: <20210629000848.a3125fe89a9984a7800749b4 at iijmio-mail.jp>
In-Reply-To: <502056d5848360369973f2c96882ff37ad42bb4f.camel at doo.shop>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi,
On Thu, 24 Jun 2021 11:37:35 +0200 Max Bruckner <max at doo.shop> wrote:
> How to reproduce:
>
> ```
> # podman run -it --rm debian sh
> # cat /proc/$$/oom_score_adj
> -1000
> ```
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.
And also tested with my daily driver unstable system I cannot reproduce it.
(But sid on KVM can reproduce it, hmm...)
It may be better to downgrade as important if it's only root privilege, IMO.
--
Regards,
Hideki Yamane henrich @ debian.org/iijmio-mail.jp
More information about the Pkg-go-maintainers
mailing list