Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356519 - net-dns/bind-9.8.0_rc1: chrooted named fails to start
Summary: net-dns/bind-9.8.0_rc1: chrooted named fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: BIND Maintainers (DISABLED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 22:51 UTC by Graham Murray
Modified: 2011-03-02 18:15 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2011-02-25 22:51:56 UTC
Feb 25 22:01:10 newton named[13851]: starting BIND 9.8.0rc1-geoip-1.3 -t /chroot/dns -u named -f
Feb 25 22:01:10 newton named[13851]: built with '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--data
dir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--with-libtool' '--with-openssl' '--with-idn' '--enable-ipv6' '--wit
h-libxml2' '--without-gssapi' '--enable-linux-caps' '--enable-threads' '--with-randomdev=/dev/random' '--with-geoip' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 
'CFLAGS=-O2 -march=native -mtune=native -pipe -ggdb' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
Feb 25 22:01:10 newton named[13851]: adjusted limit on open files from 1024 to 1048576
Feb 25 22:01:10 newton named[13851]: found 2 CPUs, using 2 worker threads
Feb 25 22:01:10 newton named[13851]: using up to 4096 sockets
Feb 25 22:01:10 newton named[13851]: initializing DST: openssl failure
Feb 25 22:01:10 newton named[13851]: exiting (due to fatal error)
Feb 25 22:01:35 newton named[13926]: starting BIND 9.8.0rc1-geoip-1.3 -t /chroot/dns -u named -f
Feb 25 22:01:35 newton named[13926]: built with '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--data
dir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--with-libtool' '--with-openssl' '--with-idn' '--enable-ipv6' '--wit
h-libxml2' '--without-gssapi' '--enable-linux-caps' '--enable-threads' '--with-randomdev=/dev/random' '--with-geoip' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 
'CFLAGS=-O2 -march=native -mtune=native -pipe -ggdb' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
Feb 25 22:01:35 newton named[13926]: adjusted limit on open files from 1024 to 1048576
Feb 25 22:01:35 newton named[13926]: found 2 CPUs, using 2 worker threads
Feb 25 22:01:35 newton named[13926]: using up to 4096 sockets
Feb 25 22:01:35 newton named[13926]: initializing DST: openssl failure
Feb 25 22:01:35 newton named[13926]: exiting (due to fatal error)


emerge --info =net-dns/bind-9.8.0_rc1
Portage 2.2.0_alpha25 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.38-rc6-00113-g4662db4 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-rc6-00113-g4662db4-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 25 Feb 2011 18:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3, 3.2
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo perl-experimental sunrise x11 kde newton_local
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                                                                                                                        
FFLAGS=""                                                                                                                                                                           
GENTOO_MIRRORS="http://ftp.first-world.info/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/"                   
LANG="en_GB.UTF-8"                                                                                                                                                                  
LC_ALL="en_GB.UTF-8"                                                                                                                                                                
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                   
LINGUAS="en_GB en fr_FR fr"                                                                                                                                                         
MAKEOPTS="-j3"                                                                                                                                                                      
PKGDIR="/usr/portage/packages"                                                                                                                                                      
PORTAGE_CONFIGROOT="/"                                                                                                                                                              
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                                                          
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                           
PORTDIR="/usr/portage"                                                                                                                                                              
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/kde /usr/local/portage"                                              
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                                               
USE="X a52 aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus directfb doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm gdu geoip gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile htmlhandbook iconv icq icu idn imagemagick imlib ipv6 jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility ladspa latex lcms ldap leim libgda libnotify libsamplerate libwww lm_sensors logrotate lua lzma mad matroska mbox mikmod milter mime mmap mmx mng modplug modules mono mozilla mp3 mp4 mpeg mpi mplayer msn mtp mudflap musepack mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pango pcntl pcre pdf perl php plasma png policykit postgres ppds pppd profile pulseaudio python qt3support qt4 quicktime raw readline recode ruby samba sasl sdl semantic-desktop session sharedmem sndfile snmp soap sockets sox speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xface xft xine xml xml2 xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2011-02-25 23:15:40 UTC
Please append the missing package settings block from emerge --info bind.
E.g.
=================================================================
                        Package Settings
=================================================================

net-dns/bind-9.8.0_rc1 was built with the following:
USE="berkdb idn ipv6 (multilib) ssl threads urandom xml -dlz -doc -geoip -gssapi -ldap -mysql -odbc -postgres -resolvconf -sdb-ldap (-selinux)"

Also please try to rebuild bind, I noticed that it links against the system libdns for at least named-checkconf, it might help.
Comment 2 Graham Murray 2011-02-26 07:39:33 UTC
Unfortunately, I have had to revert back to bind-9.7.3-r1, so emerge --info would give details for the wrong version. However:-

newton ~ # emerge -pv bind

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-dns/bind-9.8.0_rc1 [9.7.3-r1] USE="berkdb doc geoip idn ipv6 ldap mysql odbc postgres resolvconf ssl threads xml -dlz -gssapi -sdb-ldap (-selinux) -urandom" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

I did build bind twice (and had to do the same when reverting to 9.7.3), otherwise it would not even get past the init script.
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-02-27 22:30:04 UTC
Ok, *this* bug has been fixed in CVS, wait a few hours and resync/remerge bind.
Comment 4 Christophe Saout 2011-03-02 16:50:22 UTC
# fails to start in some cases, bug 356519
=net-dns/bind-9.8*

So, this still applies to 9.8.0 final?
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2011-03-02 18:15:42 UTC
(In reply to comment #4)
> # fails to start in some cases, bug 356519
> =net-dns/bind-9.8*
> 
> So, this still applies to 9.8.0 final?
> 

No, it's fixed. I'll keep the mask for now until we've fixed the linking issues.