Add the CellServDB pathname to the afsconf_dir 08/13408/5
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 8 Dec 2018 01:29:03 +0000 (20:29 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 25 Jan 2019 13:20:42 +0000 (08:20 -0500)
commit93b26c6f55245e2187e574eb928f5e0ce66a245e
treede831407578e23d0e9a76a088ca6b0a304ca76dc
parentce327b568f4ff522aa008f235d97e0d9144eb92c
Add the CellServDB pathname to the afsconf_dir

The determination of the CellServDB pathname is platform-dependent.
However, error reporting in the current code base assumes the CellServDB
location is platform-independent.

Add the pathname of the CellServDB file to the configuration directory
structure and set the new cellservDB member when opening the
configuration. Use this value when checking if the CellServDB has
changed and update the callers to use the cellservDB member when
reporting errors about the CellServDB file.

Change-Id: I5a3393fb9d4ae3c637d5a0d773598115314bfe1c
Reviewed-on: https://gerrit.openafs.org/13408
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/auth/cellconfig.c
src/auth/cellconfig.p.h
src/auth/writeconfig.c
src/bucoord/ubik_db_if.c
src/ptserver/ptuser.c
src/ubik/uinit.c
src/viced/host.c