FS#79736 - [glibc][nss-pam-ldapd][shadow][systemd] disable building nscd
Attached to Project:
Arch Linux
Opened by Allan McRae (Allan) - Tuesday, 19 September 2023, 13:47 GMT
Last edited by freswa (frederik) - Sunday, 24 September 2023, 13:15 GMT
Opened by Allan McRae (Allan) - Tuesday, 19 September 2023, 13:47 GMT
Last edited by freswa (frederik) - Sunday, 24 September 2023, 13:15 GMT
|
Details
Description:
While technically still maintained, nscd receives little attention and has significant bugs that are hard to fix (e.g. various concurrency bugs). The functionality of nscd can be replaced with systemd-resolved (hosts cache) and sssd (the rest). Note, Fedora removed nscd a while ago: https://fedoraproject.org/wiki/Changes/RemoveNSCD Disabling nscd in the glibc package probably requires something like: --disable-build-nscd --disable-nscd I have not tested how these flags interact with a not building binaries then building them with security flags dance. |
This task depends upon
Closed by freswa (frederik)
Sunday, 24 September 2023, 13:15 GMT
Reason for closing: Implemented
Additional comments about closing: 2.38-4
Sunday, 24 September 2023, 13:15 GMT
Reason for closing: Implemented
Additional comments about closing: 2.38-4
FS#58262.Looking at https://fedoraproject.org/wiki/Changes/RemoveNSCD#Dependencies we'll not only have to remove this from shadow, but also nss-pam-ldapd.
We do not ship libuser: https://pagure.io/libuser/
I don't know if there are any further dependents.
[1] https://github.com/systemd/systemd-stable/commit/7e0079f95f9b7306b40f2300301af80d915e15e4
[2] https://github.com/systemd/systemd-stable/blob/v254.3/meson_options.txt#L58