for right now only provide debugging information for those two binaries.
Document the new debugging support in README.Debian.
The OpenAFS PAM modules have been built with pthreads rather than the
standard LWP AFS libraries for compatibility with a threaded sshd.
+Debugging
+
+ The current OpenAFS installation process installs fileserver and
+ volserver unstripped, since backtraces and other debugging information
+ for those binaries are necessary to track down file server problems.
+ For the Debian packages, the fileserver and volserver binaries in the
+ openafs-fileserver package are stripped, but the debugging information
+ is available in the openafs-dbg package, which can be installed
+ separately. If it is installed, gdb will find that debugging
+ information automatically.
+
+ Eventually the openafs-dbg package will contain debugging information
+ for all OpenAFS binaries. This is pending upstream changes to the stock
+ OpenAFS installation rules.
+
PAM Authentication
Any new OpenAFS cell is strongly encouraged to use Kerberos v5 for
the openafs-kpasswd package to get the administrative utilities for
managing those Kerberos accounts.
- -- Russ Allbery <rra@debian.org>, Tue Dec 27 15:53:28 2005
+ -- Russ Allbery <rra@debian.org>, Tue, 26 Sep 2006 16:32:58 z
openafs (1.4.2~fc4-1) unstable; urgency=low
* New upstream release candidate.
- * Build an openafs-dbg package with debugging information for all
- OpenAFS binaries.
+ * Build an openafs-dbg package with debugging information for the
+ OpenAFS fileserver and volserver.
* Add LSB comments to the openafs-client and openafs-fileserver init
scripts.
* Update to debhelper compatibility level V5.
- -- Russ Allbery <rra@debian.org> Tue, 26 Sep 2006 16:06:17 -0700
+ -- Russ Allbery <rra@debian.org> Tue, 26 Sep 2006 16:33:16 -0700
openafs (1.4.2~fc2-1) unstable; urgency=low
Package: openafs-dbg
Priority: extra
-Depends: openafs-client (= ${binary:Version})
+Depends: openafs-fileserver (= ${binary:Version})
Architecture: i386 powerpc sparc alpha s390 ia64 hppa amd64 ppc64
Section: libdevel
Description: AFS distributed filesystem debugging information
files among multiple computers. Facilities are provided for access
control, authentication, backup and administrative management.
.
- This package contains the debugging information for all of the OpenAFS
- binaries in openafs-client, openafs-fileserver, openafs-dbserver,
- openafs-krb5, etc. Make sure the version of this package matches the
- version of the package being debugged.
+ This package contains the debugging information for the OpenAFS
+ fileserver and volserver.
# Build architecture-dependent files here. Pass -a to all debhelper commands
# in this target to reduce clutter.
+#
+# We would like to install debugging information for everything, but currently
+# OpenAFS's makefiles strip all binaries when installed except for the
+# fileserver and the volserver. This is fixed in OpenAFS's development
+# branch. Until that's released, only retain debugging information for the
+# fileserver and the volserver.
binary-arch: DH_OPTIONS=-a
binary-arch: build install
dh_testdir
DH_OPTIONS= dh_installinit -popenafs-fileserver -r
dh_link
dh_strip --dbg-package=openafs-dbg
+ rm -r debian/openafs-dbg/usr/lib/debug/usr/bin
+ rm -r debian/openafs-dbg/usr/lib/debug/usr/sbin
+ cd debian/openafs-dbg/usr/lib/debug/usr/lib/openafs \
+ && rm buserver ptserver salvager vlserver
dh_compress
dh_fixperms
chmod 700 debian/openafs-client/var/cache/openafs