Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71932 - Posadis 0.60.2 stops answering after first query (thread issue?)
Summary: Posadis 0.60.2 stops answering after first query (thread issue?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 04:21 UTC by Bruno
Modified: 2004-12-24 17:40 UTC (History)
0 users

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 Bruno 2004-11-21 04:21:59 UTC
When running Posadis DNS server only my first query to it gets a response (and is logged in posadis logfile).

Running the server in interactive mode produes the same results. Posadis takes very long to stop on "CTRL+C" waiting for it's threads to terminate, and finally quit with message that some threads did NOT terminate and were killed.

Reproducible: Always
Steps to Reproduce:
1. Run posadis DNS-server (either init script or interactive on console)
2. Query the server with dig or poshost for a name in a domain posadis is master of. (response is fine)
3. Query the server again (any host) => no response
Actual Results:  
No response, need to kill the process "kill -kill pid" to make it terminate. 

Expected Results:  
Server responds to all requests for the domains it's a master of 

Gentoo Base System version 1.4.16 
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.9-FW i686) 
================================================================= 
System uname: 2.6.9-FW i686 AMD Athlon(tm) Processor 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.14.90.0.8-r1 
Headers:  sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv" 
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ 
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ 
ftp://ftp.gentoo.skynet.be/pub/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="3dnow aalib acl acpi alsa apache2 avi berkdb bidi bitmap-fonts bzlib caps 
cdr cjk crypt ctype cups curl curlwrappers dio dvb encode exif f77 fam fbcon 
fftw flac foomaticdb fortran ftp gd gdbm gif gmp gnutls gphoto2 gpm hardened 
hardenedphp iconv icq imagemagick imap imlib ipv6 jabber jpeg kerberos krb4 
lcms ldap lesstiff libg++ libwww mad maildir mailwrapper mbox mikmod mime mmap 
mmx mng motif mpeg msn mysql ncurses nis nls oggvorbis opengl oscar oss pam 
pcre pdflib perl png pnp posix python quicktime readline samba sdl session 
shared slang sockets socks5 speex spell ssl svg svga sysvipc szip tcpd theora 
tiff truetype unicode usb wmf x86 xml2 xsl xv zlib" 
 
PS: System up to date. 
 
/etc/posadisrc config file: 
 
listen udp/127.0.0.1 
logfile /var/log/posadis.log 
do_query_logging true 
user dns 
;group dns (does not work, bug known and fixed in newer version) 
allow_recursion 127.0.0.1 
LoadModule monitor 
 
All the other options are default values. 
In /etc/posadis I have a few zone files and revers zone files.
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2004-12-08 07:12:08 UTC
Please try posadis-0.60.5-r1.
If it works, it will be marked as stable.
Comment 2 Bruno 2004-12-15 11:46:01 UTC
The init script for the new stable version of Posadis (0.60.5-r1) should be run only after famd has started as otherwise Posadis may complain about famd not running (if config is using fam-monitoring of file-changes for it's zone files).

This means that in the "depends" function of init script a line "after famd" should be added!
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2004-12-24 17:40:17 UTC
fixed files/posadis-init.