Installing configuration files - Was: Add systemd unit file for nscd
Andreas Jaeger
aj@suse.com
Mon May 13 11:57:00 GMT 2013
On 05/11/2013 08:14 AM, Allan McRae wrote:
> On 11/05/13 14:44, Mike Frysinger wrote:
>> On Friday 10 May 2013 19:57:13 Allan McRae wrote:
>>> On 11/05/13 01:42, Mike Frysinger wrote:
>>>> On Friday 10 May 2013 02:22:59 Andreas Jaeger wrote:
>
>>>>> A future followup patch could install these files - and then we should
>>>>> change the path as well.
>>>>
>>>> that suggestion (and patch) was posted previously and decided to not do
>>>> it
>>>
>>> Can you point me to that discussion? I have searched and am unable to
>>> find this.
>>
>> http://sourceware.org/ml/libc-alpha/2011-09/msg00098.html
>
>
> What I get from that thread, all distribution maintainers we in favour
> of installing nscd.conf and gai.conf (not nsswitch.conf) by default.
> And they are already distributed in the packages supplied by most
> distributions. So installing them reduces the packaging overhead for
> most distro maintainers as it saves them manually installing these files.
>
> The reject email [1] has two points:
>
> #1) nscd.conf needs customised. Not really a good point as it appears
> most distros ship it as is or do a minor sed on it. Also not installing
> it means an individual has to figure out the defaults or create the
> entire file from scratch.
>
> #2) installing gai.conf slows everything down. The default file is all
> comments, so on the first read it is just skipping all lines - so a slow
> down there. From then on it is cached and not read unless it changes.
> Also, most distros ship this, so the slowdown is already present.
>
> I think that patch would be fine to be pushed under the community
> agreement model we use in glibc now and should be revisited...
>
>
> [1] http://sourceware.org/ml/libc-alpha/2011-10/msg00002.html
The patch needs to be extended - on system with systemd, I install an
nscd service file and not an nscd init file.
I would be fine with installing them,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the Libc-alpha
mailing list