tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: nsswitch dynamic module locations
On Sun, Mar 23, 2008 at 04:38:33PM +1100, Luke Mewburn wrote:
> On Sat, Mar 22, 2008 at 04:15:16PM +0100, Joerg Sonnenberger wrote:
> | > /etc/nss_xxx.conf
> | > /etc/nssiwtch.d/nss_xxx.conf
> |
> | /etc/nsswitch.d/ seems preferable to me. I wouldn't do the dance with a
> | single config file if no reason for compatibility exists. libc should
> | provide modules with a function to determine the path name of the config
> | file though.
>
> /etc/nsswitch.d/<modulename>.conf, without the leading "nss_" ?
>
> Thus, /etc/nsswitch.d/ldap.conf for /lib/nss_ldap.so.0
>
> For example, /etc/nsswitch.d/dns.conf could contain a
> superset merge of /etc/resolv.conf and /etc/hesiod.conf,
> if we chose to do that.
Do we have to have the ".d" suffix on the directory? I know
we've done it before, but I still think it's ... useless.
Or shall we just rename it "/etc.d"?
Regards,
Al
Home |
Main Index |
Thread Index |
Old Index