+openafs (1.6.2-2) UNRELEASED; urgency=low
+
+ * Support configuring -dynroot-sparse via debconf. The AFS_DYNROOT
+ option in /etc/openafs/afs.conf.client is now tri-valued instead of a
+ boolean, and the boolean values will be mapped to the corresponding
+ options on upgrade. Based on work by Jakob Haufe. (Closes: #644564)
+
+ -- Russ Allbery <rra@debian.org> Wed, 06 Mar 2013 00:48:49 -0800
+
openafs (1.6.2-1) experimental; urgency=low
* New upstream release.
db_set openafs-client/crypt "$AFS_CRYPT"
fi
if [ "x$AFS_DYNROOT" != "x" ] ; then
+ if [ "x$AFS_DYNROOT" = 'xtrue' ] ; then
+ AFS_DYNROOT=Yes
+ elif [ "x$AFS_DYNROOT" = 'xfalse' ] ; then
+ AFS_DYNROOT=No
+ fi
db_set openafs-client/dynroot "$AFS_DYNROOT"
fi
if [ "x$AFS_FAKESTAT" != "x" ] ; then
if is_on $AFS_AFSDB ; then
AFSD_OPTIONS="$AFSD_OPTIONS -afsdb"
fi
- if is_on $AFS_DYNROOT ; then
+ if [ "$AFS_DYNROOT" = 'Yes' ] ; then
AFSD_OPTIONS="$AFSD_OPTIONS -dynroot"
+ elif [ "$AFS_DYNROOT" = 'Sparse' ] ; then
+ AFSD_OPTIONS="$AFSD_OPTIONS -dynroot-sparse"
fi
if is_on $AFS_FAKESTAT ; then
AFSD_OPTIONS="$AFSD_OPTIONS -fakestat"
significantly more difficult.
Template: openafs-client/dynroot
-Type: boolean
-Default: true
+Type: select
+__Choices: Yes, Sparse, No
+Default: Yes
_Description: Dynamically generate the contents of /afs?
/afs generally contains an entry for each cell that a client can talk to.
Traditionally, these entries were generated by servers in the client's
/etc/openafs/CellAlias to include aliases for common cells. (The syntax
of this file is one line per alias, with the cell name, a space, and then
the alias for that cell.)
+ .
+ The Sparse option is the same as Yes except that, rather than populating
+ /afs from /etc/openafs/CellServDB immediately, cells other than the local
+ cell will not appear until they are accessed. Cell aliases as set in the
+ CellAlias file are shown as normal, although they may appear to be
+ dangling links until traversed.
Template: openafs-client/fakestat
Type: boolean