-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hash comments are not allowed in libnss definition files (passwd/group/shadow). Alternc-nss' current implementation wrongly adds hash comments in those files. We spotted the issue after migrating a server (16Go memory) to debian bullseye ,we then got multiple applications reaching memory limits while several gigs of free memory were available, for instance :
$ addgroup test_xxx
Out of memory!
Attached is a system call log which allowed us to pinpoint the issue and a naïve patch.
Note that other bullseye machines with more memory (+32Go) do not reach to OOM error while the bug is present, I suspect the libnss-extrausers definitions are ignored in that case.
adduser-strace.log
0001-prevent-user-group-lookups-errors-with-libnss_system.patch.log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels