Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258613 - www-servers/lighttpd - /etc/init.d/spawn-fcgi doesn't evaluate pid of started process(es) correctly
Summary: www-servers/lighttpd - /etc/init.d/spawn-fcgi doesn't evaluate pid of started...
Status: RESOLVED DUPLICATE of bug 252268
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Christian Hoffmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 15:39 UTC by Manuel Schmitt
Modified: 2009-03-27 14:35 UTC (History)
1 user (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 Manuel Schmitt 2009-02-11 15:39:28 UTC
The init script of spawn-fastcgi doesn´t evaluate the pid of the started process(es) correctly.

Reproducible: Always

Steps to Reproduce:
1.Install fastcgi
2.Start spawn-fastcgi
3.Have a look into the pid file

Actual Results:  
Pid file contains empty line

Expected Results:  
Pid file should contain pid

The Error is in the line

env - ${E} ${EX} 2>${SPAWNFCGI_PID}

It should be

env - ${E} ${EX} 1>${SPAWNFCGI_PID} 2>&1
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-11 23:52:02 UTC
Which package does this bug concern? spawn-fastcgi does not exist in portage.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-12 03:32:38 UTC
$ eix -c fastcgi
[N] dev-python/python-fastcgi (~1.1): Interface to OpenMarket's FastCGI C Library/SDK.
[N] virtual/httpd-fastcgi (0): Virtual for FastCGI-enabled webservers
[N] www-apache/mod_fastcgi (2.4.6-r1): FastCGI is a open extension to CGI without the limitations of server specific APIs.
Found 3 matches.

Indeed. And please post your `emerge --info' too. And then reopen this bug report.
Comment 3 Manuel Schmitt 2009-02-12 07:29:12 UTC
sorry, forgot to mention: lighttpd
Comment 4 Manuel Schmitt 2009-02-12 07:30:36 UTC
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28.4 x86_64)
=================================================================
System uname: Linux-2.6.28.4-x86_64-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Tue, 10 Feb 2009 00:20:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r9, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.manitu.net/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://mirror.manitu.net/gentoo-portage"
USE="acl amd64 bcmath berkdb bzip2 calendar cgi cli cracklib crypt ctype cups curl dri exif fastcgi fortran ftp gd gdbm gpm hash iconv imagemagick imap ipv6 isdnlog json memcache mhash midi mmx mudflap multilib mysql mysqli ncurses nls nptl nptlonly openmp pam pcre pdo perl php posix pppd python readline reflection session simplexml soap spl sqlite sse sse2 ssl sysfs tcpd tokenizer unicode wddx xml xmlreader xmlrpc xmlwriter xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-12 07:41:43 UTC
(In reply to comment #3)
> sorry, forgot to mention: lighttpd

That's www-servers/lighttpd. Which version?
Comment 6 Manuel Schmitt 2009-02-12 07:44:46 UTC
Version 1.4.20 on a amd64
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-12 17:06:00 UTC
Thanks.
Comment 8 David Girault 2009-03-27 14:26:51 UTC
I think this one is a duplicate of bug #252268. Right?

http://bugs.gentoo.org/show_bug.cgi?id=252268
Comment 9 Manuel Schmitt 2009-03-27 14:35:21 UTC
yes, it is!

*** This bug has been marked as a duplicate of bug 252268 ***