James Carlson wrote:
> Anay S. Panvalkar writes:
> 
>>>This may have some impact on the design, be a bug, or other.  I haven't
>>
>>Sounds like a bug?
>>
>>Right now, you could potentially have all individual name services
>>offline (nis/client, ldap/client) but milestne/name-services itself
>>online! Seems broken- I think that could be 'require_any'.
> 
> 
> Would that work with files-only?

We would need to have something like 'files/client' or some smf entity
that represents using 'files' for name resolution.

> Why wouldn't the actual dependency be on what's needed?  I.e., if
> nsswitch.conf says you need files, dns, and nis, why wouldn't you be
> dependent on just those three and no others?

This is the same point I made privately earlier- currently the state
of the individual name-services and the state of nsswitch.conf are
separate from each other. I can create a /etc/resolv.conf and thats
all that dns/client needs to be online- it doesn't mean nsswitch.conf
actually includes 'dns' as a backend for hosts resolution.

-Anay


Reply via email to