Bugzilla – Bug 557532
bind failed to start segfault
Last modified: 2009-11-23 18:56:29 UTC
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 When you install bind and try to start bind to pc hangs, after a restart to following happens Configured /etc/named.conf and populated the zone files When starting bind, bind fails to start Here is whats in the log file Nov 21 07:47:18 server named[8249]: starting BIND 9.6.1-P1 -t /var/lib/named -u named Nov 21 07:47:18 server named[8249]: built with '--prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include/bind' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-openssl' '--enable-threads' '--with-libtool' '--enable-runidn' '--with-libxml2' '--with-dlz-mysql' 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing' 'LDFLAGS=-L/usr/lib' Nov 21 07:47:18 server kernel: [22038.415869] named[8249]: segfault at b7547a00 ip b7547a00 sp bfdf8bfc error 14 Nov 21 07:47:18 server kernel: [22038.415914] note: named[8249] exited with preempt_count 1 Nov 21 07:47:18 server kernel: [22038.416135] BUG: scheduling while atomic: named/8249/0x10000002 Nov 21 07:47:18 server kernel: [22038.416354] Pid: 8249, comm: named Not tainted (2.6.31.5-0.1-desktop #1) System Product Name Bind Packages installed server:~ # rpm -qa | grep bind yast2-python-bindings-2.17.4-2.1.i586 libindi-0.6-4.1.i586 ypbind-1.29.91-2.1.i586 yast2-ruby-bindings-0.3.4-1.1.1.i586 yast2-ycp-ui-bindings-2.18.5-2.1.i586 bind-chrootenv-9.6.1P1-3.3.i586 samba-winbind-3.4.2-1.1.3.1.i586 yast2-pkg-bindings-devel-doc-2.18.11-1.1.2.noarch apache2-mod_auth_ntlm_winbind-0.0.0.lorikeet_svn_682-175.1.i586 bind-9.6.1P1-3.3.i586 bind-utils-9.6.1P1-3.3.i586 yast2-perl-bindings-2.18.0-2.1.i586 beansbinding-1.2.1-3.5.noarch libindi0-0.6-4.1.i586 rpcbind-0.1.6+git20080930-7.2.i586 beansbinding-javadoc-1.2.1-3.5.noarch yast2-ycp-ui-bindings-devel-2.18.5-2.1.i586 cmpi-bindings-perl-0.4.0-7.1.i586 cmpi-bindings-ruby-0.4.0-7.1.i586 yast2-pkg-bindings-2.18.11-1.1.4.i586 cmpi-bindings-pywbem-0.4.0-7.1.i586 bind-libs-9.6.1P1-3.3.i586 bind-doc-9.6.1P1-3.3.i586 bind-devel-9.6.1P1-3.3.i586 libindi-devel-0.6-4.1.i586 Reproducible: Always Steps to Reproduce: 1. install bind and relative packages 2. configure named.conf and populate some zone files in /var/lib/named 3. start bind Actual Results: Nov 21 07:47:18 server named[8249]: starting BIND 9.6.1-P1 -t /var/lib/named -u named Nov 21 07:47:18 server named[8249]: built with '--prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include/bind' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-openssl' '--enable-threads' '--with-libtool' '--enable-runidn' '--with-libxml2' '--with-dlz-mysql' 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing' 'LDFLAGS=-L/usr/lib' Nov 21 07:47:18 server kernel: [22038.415869] named[8249]: segfault at b7547a00 ip b7547a00 sp bfdf8bfc error 14 Nov 21 07:47:18 server kernel: [22038.415914] note: named[8249] exited with preempt_count 1 Nov 21 07:47:18 server kernel: [22038.416135] BUG: scheduling while atomic: named/8249/0x10000002 Nov 21 07:47:18 server kernel: [22038.416354] Pid: 8249, comm: named Not tainted (2.6.31.5-0.1-desktop #1) System Product Name Expected Results: to start populating the zone files in order for DNS to work
can you give us more of this backtrace please? the complete one if possible.
I had the same problem.It can be solved by adjusting "capability sys_resource" in /etc/apparmor.d/usr.sbin.named.
yeah, it's an apparmor or kernel problem. *** This bug has been marked as a duplicate of bug 557302 ***
Disabling AppArmor enables named to start and work normally