OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-531-gdf2688c

Gerrit Code Review gerrit@openafs.org
Thu, 5 Mar 2020 21:39:38 -0500


The following commit has been merged in the master branch:
commit df2688cf770ed2fd3f2c782f91fd576f098676cb
Author: Michael Meffie <mmeffie@sinenomine.net>
Date:   Fri Feb 21 10:08:42 2020 -0500

    auth: accept a NULL afsconf_dir in afsconf_SetCellInfo again
    
    Commit 93b26c6f55245e2187e574eb928f5e0ce66a245e added the cellservDB
    field to the afsconf_dir structure to track the CellServDB pathname.
    This commit also changed the afsconf_SetCellInfo() and
    afsconf_SetExtendedCellInfo() functions to use the new cellservDB member
    to open the CellServDB file.
    
    Unfortunately, the bosserver intentionally calls afsconf_SetCellInfo()
    with a NULL afsconf_dir pointer when attempting to create the default
    CellServDB and ThisCell files (e.g., "localcell"), which causes the
    bosserver to crash on startup when the cell configuration is not present.
    
    Fix this by calling the static function to lookup the CellServDB
    pathname when a afsconf_dir data object is not given.
    
    Change-Id: I8d36f7c8afe6b4e13bfd04c421bf1109d1eb4238
    Reviewed-on: https://gerrit.openafs.org/14061
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/auth/cellconfig.c |   54 ++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 45 insertions(+), 9 deletions(-)

-- 
OpenAFS Master Repository