Bug#540973: Bug 540973 not fixed !
I'm attaching more info, needless to say I did an upgrade and everything (bind-related) broke again (for the 5th time or so), I'll probably just run something else on the machine 'cause being without DNS is obviously not fun and a huge waste of time :( Most daemons are not prepared to deal with DNS servers changing and this leads to a chain of restarts. -jd 2009/8/23 Ondřej Surý ond...@sury.org lsof /usr/lib/libGeoIP.so.1 or lsof /usr/lib/libGeoIP.so.1.4.6 Also you can try: lsof +L1 (which lists unlinked, but still used files) All of these return nothing. Are you able to test again on your box? Could you do: # ldd /usr/lib/libdns.so.50 and # ldd /usr/sbin/named The are attached. when it's not working? Also maybe running strace named -g Also attached. could give us some hints. And finally does manually updating libgeoip1 to latest version from unstable help? Nope doesn't help at all. ldd /usr/lib/libdns.so.50 linux-gate.so.1 = (0xe000) libisc.so.50 = /usr/lib/libisc.so.50 (0xb7dc4000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0xb7d9b000) libcap.so.2 = /lib/libcap.so.2 (0xb7d97000) libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7d7e000) libxml2.so.2 = /usr/lib/libxml2.so.2 (0xb7c48000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7aef000) libGeoIP.so.1 = /usr/local/lib/libGeoIP.so.1 (0xb7ac7000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7968000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0xb78bf000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0xb7896000) libcom_err.so.2 = /lib/libcom_err.so.2 (0xb7893000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0xb788b000) libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb7887000) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0xb7884000) libresolv.so.2 = /lib/i686/cmov/libresolv.so.2 (0xb786e000) /lib/ld-linux.so.2 (0xb7fa5000) libz.so.1 = /usr/lib/libz.so.1 (0xb7859000) libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7832000) ldd /usr/sbin/named linux-gate.so.1 = (0xe000) liblwres.so.50 = /usr/lib/liblwres.so.50 (0xb7e6d000) libdns.so.50 = /usr/lib/libdns.so.50 (0xb7cff000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0xb7cd6000) libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7b7e000) libbind9.so.50 = /usr/lib/libbind9.so.50 (0xb7b72000) libisccfg.so.50 = /usr/lib/libisccfg.so.50 (0xb7b5c000) libisccc.so.50 = /usr/lib/libisccc.so.50 (0xb7b53000) libisc.so.50 = /usr/lib/libisc.so.50 (0xb7aff000) libdb-4.7.so = /usr/lib/libdb-4.7.so (0xb79a8000) libldap_r-2.4.so.2 = /usr/lib/libldap_r-2.4.so.2 (0xb7964000) liblber-2.4.so.2 = /usr/lib/liblber-2.4.so.2 (0xb7956000) libcap.so.2 = /lib/libcap.so.2 (0xb7951000) libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7938000) libxml2.so.2 = /usr/lib/libxml2.so.2 (0xb7802000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb76a3000) libGeoIP.so.1 = /usr/local/lib/libGeoIP.so.1 (0xb767b000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0xb75d1000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0xb75a8000) libcom_err.so.2 = /lib/libcom_err.so.2 (0xb75a5000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0xb759e000) libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb759a000) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0xb7597000) libresolv.so.2 = /lib/i686/cmov/libresolv.so.2 (0xb758) libz.so.1 = /usr/lib/libz.so.1 (0xb756b000) libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0xb7554000) libgnutls.so.26 = /usr/lib/libgnutls.so.26 (0xb74bd000) /lib/ld-linux.so.2 (0xb7e9f000) libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7497000) libtasn1.so.3 = /usr/lib/libtasn1.so.3 (0xb7486000) libgcrypt.so.11 = /usr/lib/libgcrypt.so.11 (0xb7411000) libgpg-error.so.0 = /usr/lib/libgpg-error.so.0 (0xb740d000) execve(/usr/sbin/named, [named, -g], [/* 19 vars */]) = 0 brk(0) = 0xb824d000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eba000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=117845, ...}) = 0 mmap2(NULL, 117845, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7e9d000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/usr/lib/liblwres.so.50, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240(\0\0004\0\0\0(..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=70928, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
Bug#540973: Bug 540973 not fixed !
Hi Ondřej, 2009/8/23 Ondřej Surý ond...@sury.org John, could you please add libdns50 version and dependencies to the bug report, please? Again you can just add reportbug The original bug report _is_ from reportbug. Here's the libdns50 line: ii libdns50 1:9.6.1.dfsg.P1-1 DNS Shared Library used by BIND Do you mean you'd like to get a reportbug libdns50 instead of a reportbug bind9? Also maybe objdump -T on libGeoIP.so.1 could be helpful, mine does include needed symbol, does yours? # objdump -T libGeoIP.so.1.4.6 | grep GeoIP_country_name_by_ipnum_v6 51d0 gDF .text 0050 Base GeoIP_country_name_by_ipnum_v6 My lib also contains the symbol, I have no idea why it is not found by the other libs: yoda:~# objdump -T /usr/lib/libGeoIP.so.1.4.6 | grep GeoIP_country_name_by_ipnum_v6 5190 gDF .text 0050 BaseGeoIP_country_name_by_ipnum_v6 I haven't rebooted the machine (for obvious reasons), maybe there's some other process that's keeping and older version of the lib in shared memory with the same version/signature as the new lib? Any tools to check that? The problem does indeed seem to persist as more ppl are reporting it, and for each person who reports it there's usually at least 10 or 100 that don't bother. Maybe it only happens on 32bit systems. Cheers, jd
Bug#540973: closed by LaMont Jones lam...@debian.org (Bug#540973: fixed in bind9 1:9.6.1.dfsg.P1-3)
.dfsg.P1-3_amd64.deb 2f3a413eb971486e4f901c04f95c363e 29232 libs optional libisccc50_9.6.1.dfsg.P1-3_amd64.deb 4721d4e929ad0e77c487f34d5d27ecc0 167214 libs standard libisc50_9.6.1.dfsg.P1-3_amd64.deb 4a22989812ab18a5406ddf2da95594e2 48458 libs standard liblwres50_9.6.1.dfsg.P1-3_amd64.deb 4a246a6bb49aa5340aec949310e0f71f 64906 net standard bind9-host_9.6.1.dfsg.P1-3_amd64.deb 69edda875c3a2d75fa8220334ca2bcad 220202 net optional bind9_9.6.1.dfsg.P1-3.diff.gz 9b85934f46873f74bf8dac8581c415ff 51318 libs optional libisccfg50_9.6.1.dfsg.P1-3_amd64.deb 9f719be20fb3235aaafcd9d0c952f5af 100416 net optional bind9utils_9.6.1.dfsg.P1-3_amd64.deb b7e8731c2a6456bdd8629fa4b457bb16 287678 net optional bind9_9.6.1.dfsg.P1-3_amd64.deb c98f0e8aecf2f08f9b1d68f0cf58bf48 653770 libs standard libdns50_9.6.1.dfsg.P1-3_amd64.deb 699fda4b618138432e070905f27d0dc7 1090 net optional bind9_9.6.1.dfsg.P1-3.dsc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFKiVtezN/kmwoKyScRAqiQAJ0Vu4p5G6KwIBa1n0Prr21UZd6lVgCeItrF h6BhWPJles4nFDhBVKL6gh8= =P95Z -END PGP SIGNATURE- -- Mensagem encaminhada -- From: John D. Rowell j...@eyb.com.br To: Debian Bug Tracking System sub...@bugs.debian.org Date: Mon, 10 Aug 2009 22:53:37 -0300 Subject: bind9: named #fail: undefined symbol: GeoIP_country_name_by_ipnum_v6 Package: bind9 Version: 1:9.6.1.dfsg.P1-1 Severity: critical Justification: breaks the whole system Just got this after upgrading (using testing), I hope that a libdns update would happen as well to fix the problem but after the whole Aptitude upgrade cycle I still can't start named. Running it with -4 (the error indicates it fails due to functionality that I don't even use, like GeoIP and IPv6) doesn't help, as it's a symbol binding problem. Maybe bind should only load these libs when they are actually required? I'll try manually installing other versions to see if I can at least get this box running again, it's the DNS server for our network :( -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.27 Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bind9 depends on: ii adduser3.110 add and remove users and groups ii bind9utils 1:9.6.1.dfsg.P1-1 Utilities for BIND ii debconf [debconf-2.0] 1.5.27Debian configuration management sy ii libbind9-501:9.6.1.dfsg.P1-1 BIND9 Shared Library used by BIND ii libc6 2.9-23GNU C Library: Shared libraries ii libcap21:2.16-5 support for getting/setting POSIX. ii libdb4.7 4.7.25-7 Berkeley v4.7 Database Libraries [ ii libdns50 1:9.6.1.dfsg.P1-1 DNS Shared Library used by BIND ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k ii libisc50 1:9.6.1.dfsg.P1-1 ISC Shared Library used by BIND ii libisccc50 1:9.6.1.dfsg.P1-1 Command Channel Library used by BI ii libisccfg501:9.6.1.dfsg.P1-1 Config File Handling Library used ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries ii liblwres50 1:9.6.1.dfsg.P1-1 Lightweight Resolver Library used ii libssl0.9.80.9.8k-3 SSL shared libraries ii libxml22.7.3.dfsg-2+b1 GNOME XML library ii lsb-base 3.2-23Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ii netbase4.37 Basic TCP/IP networking system bind9 recommends no packages. Versions of packages bind9 suggests: ii bind9-doc 1:9.6.1.dfsg.P1-1 Documentation for BIND ii dnsutils 1:9.6.1.dfsg.P1-1 Clients provided with BIND pn resolvconf none(no description available) pn ufwnone(no description available) -- debconf information: bind9/different-configuration-file: bind9/run-resolvconf: false bind9/start-as-user: bind
Bug#540973: bind9: named #fail: undefined symbol: GeoIP_country_name_by_ipnum_v6
Package: bind9 Version: 1:9.6.1.dfsg.P1-1 Severity: critical Justification: breaks the whole system Just got this after upgrading (using testing), I hope that a libdns update would happen as well to fix the problem but after the whole Aptitude upgrade cycle I still can't start named. Running it with -4 (the error indicates it fails due to functionality that I don't even use, like GeoIP and IPv6) doesn't help, as it's a symbol binding problem. Maybe bind should only load these libs when they are actually required? I'll try manually installing other versions to see if I can at least get this box running again, it's the DNS server for our network :( -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.27 Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bind9 depends on: ii adduser3.110 add and remove users and groups ii bind9utils 1:9.6.1.dfsg.P1-1 Utilities for BIND ii debconf [debconf-2.0] 1.5.27Debian configuration management sy ii libbind9-501:9.6.1.dfsg.P1-1 BIND9 Shared Library used by BIND ii libc6 2.9-23GNU C Library: Shared libraries ii libcap21:2.16-5 support for getting/setting POSIX. ii libdb4.7 4.7.25-7 Berkeley v4.7 Database Libraries [ ii libdns50 1:9.6.1.dfsg.P1-1 DNS Shared Library used by BIND ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k ii libisc50 1:9.6.1.dfsg.P1-1 ISC Shared Library used by BIND ii libisccc50 1:9.6.1.dfsg.P1-1 Command Channel Library used by BI ii libisccfg501:9.6.1.dfsg.P1-1 Config File Handling Library used ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries ii liblwres50 1:9.6.1.dfsg.P1-1 Lightweight Resolver Library used ii libssl0.9.80.9.8k-3 SSL shared libraries ii libxml22.7.3.dfsg-2+b1 GNOME XML library ii lsb-base 3.2-23Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ii netbase4.37 Basic TCP/IP networking system bind9 recommends no packages. Versions of packages bind9 suggests: ii bind9-doc 1:9.6.1.dfsg.P1-1 Documentation for BIND ii dnsutils 1:9.6.1.dfsg.P1-1 Clients provided with BIND pn resolvconf none(no description available) pn ufwnone(no description available) -- debconf information: bind9/different-configuration-file: bind9/run-resolvconf: false bind9/start-as-user: bind -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#540973: Temporary fix
Got DNS working again on this server by manually downgrading bind9 to 9.5.1 (9.5.1.dfsg.P2-1+lenny1). Downloaded and dpkg -i the following packages (apt-get install pkg=version didn't find them): bind9 bind9utils bind9-host dnsutils The problem with 9.6.1 seems to be the bindings in libbind9-50.