Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57134 - '/etc/init.d/pound stop' fails and does not stop the processes.
Summary: '/etc/init.d/pound stop' fails and does not stop the processes.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 00:40 UTC by Toshitaka Kumagai
Modified: 2004-07-16 08:11 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 Toshitaka Kumagai 2004-07-15 00:40:40 UTC
I am using pound (net-www/pound-1.7) with Gentoo.
When I try to stop and restart the daemon, '/etc/init.d/pound stop'
reports an error and the processes are not terminated.


Reproducible: Always
Steps to Reproduce:
1. '/etc/init.d/pound start'
2. '/etc/init.d/pound stop'

Actual Results:  
# /etc/init.d/pound start
 * Starting pound...                                                      [ ok ]
# /etc/init.d/pound stop
 * Stopping pound...                                                      [ !! ]

# ps -ef | grep pound
nobody   11968     1  0 16:20 pts/6    00:00:00 /usr/sbin/pound -f /etc/pound.cfg
nobody   11969 11968  0 16:20 pts/6    00:00:00 /usr/sbin/pound -f /etc/pound.cfg
nobody   11970 11969  0 16:20 pts/6    00:00:00 /usr/sbin/pound -f /etc/pound.cfg
nobody   11972 11970  0 16:20 pts/6    00:00:00 /usr/sbin/pound -f /etc/pound.cfg
nobody   11973 11970  0 16:20 pts/6    00:00:00 /usr/sbin/pound -f /etc/pound.cfg
nobody   11974 11970  6 16:20 pts/6    00:00:02 /usr/sbin/pound -f /etc/pound.cfg
root     12006 11856  0 16:20 pts/6    00:00:00 grep pound
#


I suppose /sbin/start-stop-daemon does not work appropriately with the pid files
created by pound.

'emerge info' output:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7
-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ http://mi
rror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cjk crypt encode foomaticdb gd gdbm gif gtk2 imlib ja
va jpeg junit libg++ libwww mad maildir mikmod mmx mpeg mule mysql ncurses nls n
ogcj oggvorbis opengl oss pam perl png python quicktime readline sasl sdl slang
spell sse ssl svga tcltk tcpd tiff truetype unicode x86 xml2 xmms xv zlib"
Comment 1 rob holland (RETIRED) gentoo-dev 2004-07-16 08:11:12 UTC
Fixed :) Thanks for the report.