Petter Reinholdtsen <[email protected]> writes: > [Russ Allbery] >> The openafs-client init script (and the facilities that it starts) >> normally does not have a dependency on dnsmasq or on DNS at all.
> I assumed openafs-client would look up its server name using DNS also in > the common case, and thus would want to start after a local DNS server > is operational when such local DNS server is present. If that is not > true, the dependency on $named would be wrong. I do not know if > openafs-client will look up server names in DNS, but from its name I > assumed it was a client and they commonly look up servers using DNS > names. :) OpenAFS is a little weird in that historically it has always known about its VLDB servers by IP address. So in a traditional configuration, the CellServDB file that's created as part of the package configuration will include the IP addresses of the VLDB servers and no DNS is required at boot. Increasingly, people are moving towards using what OpenAFS calls dynroot with AFSDB (or now DNS SRV) records, which doesn't contact any AFS cells at boot but instead locates them by DNS queries. However, in that case the DNS query is not done until someone attempts to access a file in AFS; there is no DNS service required to start the client, only once someone attempts to access files under /afs. So either way, I don't think the openafs-client init script should declare a dependency on DNS. To mention, the reason why I try to avoid having adding init dependencies is that eventually it should be possible to put all of /usr in AFS, so AFS should be able to start before nearly everything on the system. This currently isn't possible due to some configuration which is applied using a binary in /usr after the initial boot, but I'm (slowly) working with upstream to find a way to avoid having to do that through a separate binary. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

