Univention Bugzilla – Bug 29977
Debug-Symbole für bind9 unvollständig
Last modified: 2017-02-06 12:04:39 CET
+++ This bug was initially created as a clone of Bug #25868 comment 12 +++ Um diese in Zukunft analysieren zu können wurde das Debian-Paket so gepatched, daß dort nun auch in bind9-dbg-Paket mit den Debug-Symbolen gebaut wird. Neben dem core-File selbst wäre hier zukünftige auch die Information hilfreich, welche abhängigen Bibliotheken in welchen Versionen verwendet werden bzw. beim bauen verwendet wurden. Die Änderung war ungenügent: Zwar wird ein bind9-dbg-Paket gebaut, jedoch enthält dies nicht die vollständigen Debug-Informationen, so daß eine Analyse von core-Dupms weiterhin nicht möglich ist. Dazu muß DEB_BUILD_OPTIONS=debug aktiviert werden. patches/bind9/3.1-0-0-ucs/1:9.8.0.P4-1/020_25868_bind9-dbg.patch: diff --git a/debian/rules b/debian/rules --- a/debian/rules +++ b/debian/rules @@ -11,9 +11,9 @@ binary-arch: build install endif export arch = $(DEB_HOST_ARCH) -ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +#ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) DEBUG = -g -endif +//endif ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) OPT = @@ -168,7 +168,7 @@ binary-arch: build install install -m 644 -D debian/bind9.apport debian/bind9/usr/share/apport/package-hooks/bind9.py; \ fi dh_link -a - dh_strip -a + dh_strip -a --dbg-package=bind9-dbg dh_compress -a dh_fixperms -a dh_makeshlibs -a
Needed for Ticket #2016050421000441
Ticket#2016061421000591 r16606 | Bug #29977 bind9: Fix debug symbol generation r16607 | Bug #29977 bind9: Fix debug symbol generation r16608 | Bug #29977 bind9: Fix debug symbol generation Package: bind9 Version: 1:9.8.4.dfsg.P1-6+nmu2.120.201607011019 Branch: ucs_3.2-0 Scope: errata3.2-8 r70758 | Bug #39544, Bug #29977: bind9 YAML 3.2-8 bind9.yaml QA: kill -SEGV $(</etc/runit/univention-bind/supervise/pid) FYI: The gdb in 3.2-8 is still too old to debug PIE executables
YAML: OK Tests: OK Old version: root@master321:~# gdb /usr/sbin/named | grep -i '^(no debugging symbols found)' (no debugging symbols found)...done. root@master321:~# New version: root@master391:~# gdb /usr/sbin/named | grep -i '^(no debugging symbols found)' root@master391:~#
<http://errata.software-univention.de/ucs/3.2/440.html>