Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99878 - net-dns/bind-9.2.5-r4: init script fails to perform "restart"
Summary: net-dns/bind-9.2.5-r4: init script fails to perform "restart"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: BIND Maintainers (DISABLED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 01:29 UTC by Peter Simons
Modified: 2005-08-03 09:54 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 Peter Simons 2005-07-22 01:29:36 UTC
# /etc/init.d/named start 
 * Starting named ...                               [ ok ]
# /etc/init.d/named restart 
 * Stopping named ...                               [ !! ]
 * WARNING:  "named" has already been started.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks notitles sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.inode.at/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt cups
emacs emboss encode foomaticdb gif hardened idn imlib ipv6 ithreads jpeg kde
libg++ libwww mad mbox mikmod milter mp3 mpeg ncurses oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl ssl threads truetype
truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Peter Simons 2005-07-25 06:02:31 UTC
I believe the problem is that the /etc/init.d/named script can't parse the
"pid-file" statement in named.conf if there is more than one black between the
keyword and the path:

  pid-file /var/tmp/foo    # okay
  pid-file  /var/tmp/foo   # not okay
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-08-03 09:54:53 UTC
fixed in 9.3.1-r3 and 9.2.5-r5