After upgrading to glibc-2.34, systemd will fail to start any services that are configured to run as a non-root user. Nov 14 12:44:13 naomi systemd[1725284]: systemd-resolved.service: Failed to determine user credentials: No such process Nov 14 12:44:13 naomi systemd[1725284]: systemd-resolved.service: Failed at step USER spawning /lib/systemd/systemd-resolved: No such process I suspect this is due to some symbol conflict between libc as inherted from PID 1 and the NSS modules that get loaded by the forked process. Running "systemctl daemon-reexec" resolves the issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c394c177c08679b430b78c3dbf7611768ca983 commit e1c394c177c08679b430b78c3dbf7611768ca983 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-14 23:05:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-14 23:05:33 +0000 sys-libs/glibc: restart systemd in pkg_postinst Closes: https://bugs.gentoo.org/823756 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/glibc/{glibc-2.34-r1.ebuild => glibc-2.34-r2.ebuild} | 6 ++++++ sys-libs/glibc/glibc-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c649b8fc2db8abb268098ce1e139bc4b86e9ecc commit 8c649b8fc2db8abb268098ce1e139bc4b86e9ecc Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-27 23:25:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-27 23:25:47 +0000 sys-libs/glibc: add bug references to "restart processes" warning Bug: https://bugs.gentoo.org/660556 Bug: https://bugs.gentoo.org/741116 Bug: https://bugs.gentoo.org/823756 See: https://forums.gentoo.org/viewtopic-t-1147884.html Signed-off-by: Sam James <sam@gentoo.org> sys-libs/glibc/glibc-2.34-r10.ebuild | 1 + sys-libs/glibc/glibc-2.35-r1.ebuild | 1 + sys-libs/glibc/glibc-9999.ebuild | 1 + 3 files changed, 3 insertions(+)