]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
OpenAFS strips everything except for the fileserver and volserver, so
authorRuss Allbery <rra@debian.org>
Tue, 26 Sep 2006 23:34:16 +0000 (23:34 +0000)
committerRuss Allbery <rra@debian.org>
Tue, 26 Sep 2006 23:34:16 +0000 (23:34 +0000)
for right now only provide debugging information for those two binaries.
Document the new debugging support in README.Debian.

debian/README.Debian
debian/changelog
debian/control
debian/rules

index 755fa84cb389501208831816593658e26f22ee11..5a0c0bf516279ea4b2932a29debb2e5839a4a3f0 100644 (file)
@@ -74,6 +74,21 @@ Changes Relative to Stock OpenAFS
   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
@@ -123,4 +138,4 @@ PAM Authentication
   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
index 9f3d8735c6f6a3437ca39e9e81d86781cedd2275..65404b56de5421ce55c42d068c7e73402168cc4d 100644 (file)
@@ -1,13 +1,13 @@
 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
 
index f73963b563cbe75e434aed071771f03eb16a9c2b..09d48a4fbe68686ca85939561aee87c402026fd1 100644 (file)
@@ -129,7 +129,7 @@ Description: AFS distributed filesystem kaserver PAM module
 
 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
@@ -137,7 +137,5 @@ 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.
index b62c4793b7a46a38a5dc69752371f8767158817c..e26572046a5cd131d068476a83c03cd300210777 100755 (executable)
@@ -176,6 +176,12 @@ binary-indep: build install binary-source
 
 # 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
@@ -187,6 +193,10 @@ binary-arch: build install
        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