[Bug 1913423] Re: getgrouplist is not thread safe with libnss_systemd
Daniel Sung
1913423 at bugs.launchpad.net
Tue Mar 9 09:14:57 UTC 2021
I have tested the updated systemd package in focal-proposed and that
does indeed fix this bug.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1913423
Title:
getgrouplist is not thread safe with libnss_systemd
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
Fix Committed
Status in systemd source package in Focal:
Fix Committed
Bug description:
[impact]
programs calling getgrouplist() may crash as it is not thread-safe
[test case]
see upstream bug description for sample c program to reproduce:
https://github.com/systemd/systemd/issues/17007#issue-698123284
[regression potential]
any regression would likely occur when creating a hashmap in systemd,
or when any multi-threaded programs concurrently create (and use) the
hashmap
[scope]
this is needed for f and b
this is fixed upstream by commit
ae0b700a856c0ae460d271bb50dccfaae84dbcab, already included in g/h (per
comment 1).
[original description]
This upstream issue (https://github.com/systemd/systemd/issues/17007)
is affecting the latest version of systemd in Ubuntu Focal. It has
been fixed upstream with
https://github.com/systemd/systemd/pull/17033. Can we have this
patched for Focal please as it causes Mesos to randomly segfault on
start.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1913423/+subscriptions
More information about the foundations-bugs
mailing list