+openafs (1.4.12+dfsg-3) UNRELEASED; urgency=low
+
+ * If the user configures openafs-client to use AFSDB records for VLDB
+ server location, don't prompt the user for VLDB servers for the local
+ cell even if they're not present in CellServDB and don't try to add an
+ entry for the local cell to CellServDB. (Closes: #575299)
+
+ -- Russ Allbery <rra@debian.org> Fri, 26 Mar 2010 12:24:34 -0700
+
openafs (1.4.12+dfsg-2) unstable; urgency=low
* Apply upstream deltas:
# If ThisCell is not in CellServDB, we have to prompt the user for the
# VLDB servers. Unfortunately, we can't do this in config because we
# need the CellServDB file, which is part of the package.
+ #
+ # If the user is using afsdb for cell location, don't worry about
+ # prompting them for cells for their local system.
+ db_get openafs-client/afsdb
+ afsdb="$RET"
if grep -q -F "$THISCELL" /etc/openafs/CellServDB \
&& [ "x$THISCELL" != "x" ] ; then
:
- else
+ elif [ x"$afsdb" != xtrue ] ; then
db_input critical openafs-client/cell-info || true
db_input high openafs-client/run-client || true
db_go
db_get openafs-client/run-client
echo AFS_CLIENT="$RET" > /etc/openafs/afs.conf.client
- db_get openafs-client/afsdb
- echo AFS_AFSDB="$RET" >> /etc/openafs/afs.conf.client
+ echo AFS_AFSDB="$afsdb" >> /etc/openafs/afs.conf.client
db_get openafs-client/crypt
echo AFS_CRYPT="$RET" >> /etc/openafs/afs.conf.client
db_get openafs-client/dynroot