[PATCH] nss: look for databases in /usr/share/ if they don't exist in /etc/
DJ Delorie
dj@redhat.com
Tue Oct 1 17:11:25 GMT 2024
Florian Weimer <fweimer@redhat.com> writes:
> Hard-coding encourages distribution alignment, which is desirable
> because Go, sudo, libsubid etc. need to figure out these paths somehow,
> too.
I agree, and we hard code paths in /etc. My comment was that
hard-coding a *second* path would be a step backwards. If we want to
expand in this direction, we need to think beyond arrays of strings and
towards config options, environment variables, tunables, or other means.
More information about the Libc-alpha
mailing list