Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24533 - named init script does not detect failure and reports OK
Summary: named init script does not detect failure and reports OK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 09:52 UTC by Nils Kalchhauser
Modified: 2003-07-15 13:16 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 Nils Kalchhauser 2003-07-15 09:52:46 UTC
When there is some problem starting bind (for example this config prob:
http://bugs.gentoo.org/show_bug.cgi?id=24497 ) the init script
(/etc/init.d/named) does not (always) detect, that there was a failure and
reports [OK].

Reproducible: Always
Steps to Reproduce:
1. have a config error
2. (re)start bind with /etc/init.d/named start


Actual Results:  
status report of init script says [OK]

Expected Results:  
status report should report something like [!!]

the bind version I have: 9.2.2-r2

emerge info:

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i586 Pentium MMX
GENTOO_MIRRORS="http://gentoo.linux.no/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://ftp.tu-clausthal.de/pub/linux/gentoo/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm crypt libg++ libwww mad mmx ncurses nls spell xml2 zlib gdbm
berkdb slang readline gpm tcpd pam ssl perl python imap sasl -oss -arts -avi
-cups -encode -gif -gtk -imlib -java -jpeg -kde -gnome -mikmod -motif -mpeg
-oggvorbis -opengl -pdflib -png -qt -quicktime -sdl -svga -truetype -X -xmms -xv"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium-mmx -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-15 13:16:32 UTC
fixed in -r2

remmerge, make sure your config files are up2date