* Build bosserver with --enable-bos-new-config. On startup, if
BosConfig.new exists, it will be renamed to BosConfig before the
configuration is read. (Closes: #453398)
+ * Add a comment to /etc/openafs/afs.conf.client that the file is managed
+ by debconf. (Closes: #447183)
* Add more debugging and bug reporting instructions to README.Debian.
* Mention in README.Debian that the server is built with supergroups
enabled and with the multiple local realm patch. (Closes: #453399)
+ * Support reconfigure in postinst.
* Update to standards version 3.7.3 (no changes required).
- -- Russ Allbery <rra@debian.org> Mon, 17 Dec 2007 18:28:35 -0800
+ -- Russ Allbery <rra@debian.org> Mon, 17 Dec 2007 18:33:49 -0800
openafs (1.4.5.dfsg1-1) unstable; urgency=low
#! /bin/sh
-#
-# Summary of how this script can be called:
-#
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
set -e
case "$1" in
-configure)
+configure|reconfigure)
update-alternatives --install /usr/bin/pagsh pagsh \
/usr/bin/pagsh.openafs 100 \
--slave /usr/share/man/man1/pagsh.1.gz pagsh.1.gz \
db_get openafs-client/cachesize
echo /afs:/var/cache/openafs:$RET >/etc/openafs/cacheinfo
+ echo <<'EOF' > /etc/openafs/afs.conf.client
+# This file is managed by debconf. Do not edit directly. To modify these
+# settings, run dpkg-reconfigure openafs-client.
+
+EOF
+
db_get openafs-client/run-client
echo AFS_CLIENT=$RET >/etc/openafs/afs.conf.client
db_get openafs-client/afsdb
;;
esac
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
#DEBHELPER#
exit 0