[Bug 1068889] Re: nscd should not cache netgroups by default
Adam Conrad
adconrad at 0c3.net
Mon Jan 28 08:38:36 UTC 2013
** Changed in: eglibc (Ubuntu Quantal)
Assignee: (unassigned) => Adam Conrad (adconrad)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1068889
Title:
nscd should not cache netgroups by default
Status in “eglibc” package in Ubuntu:
Fix Released
Status in “eglibc” source package in Precise:
New
Status in “eglibc” source package in Quantal:
New
Bug description:
[Impact / Justification]
The new netgroup caching feature seems to be plagued with issues, including random segfaults, and just plain not returning useful results, depending on your test bed. This patch doesn't address any of the actual issues, but just disabled netgroup caching in the default /etc/nscd.conf to discourage its use.
[Test Case]
Check after upgrade or fresh install that /etc/nscd.conf has netgroup caching disabled. This being a dpkg conffile, it won't be changed if you've modified it locally.
[Regression Potential]
Disabling a broken feature doesn't likely have much regression potential. We got here after spending a great deal of time trying to debug all the breakages with someone who was trying to use it, so I'm unconvinced anyone's using it successfully.
[Original Report]
Netgroup caching is a rather new feature of nscd. It only entered the eglibc source tree late last year and the first upstream release of nscd to include netgroup caching was on March 21, 2012 [1]. Thus, it's is a feature that is not likely deployed at any significant scale anywhere currently. And so it has poor general test coverage.
We have reports that this feature either segfaults nscd [1] or that
even when it doesn't crash, the feature still doesn't work [2].
The "enabled" setting is inherited from upstream, but I think at least
for precise, we should default to disabled.
[1] LP: #997096
[2] LP: #997752
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1068889/+subscriptions
More information about the foundations-bugs
mailing list